完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我已经为steval ifn003v1安装了st电机控制工作台。我安装了驱动程序:''Silicon Lab CP210x芯片 ''。当我生成H.文件时,我要监视,但我总是出现同样的错误:''连接失败,无响应,检查通信电缆,电路板上的电源或波特率(设置为9600 bps)' “ 我的电路板是24v供电,我用u***电缆连接cp210x芯片。 你可以帮帮我吗 ? 谢谢。 #ST-WB-电机控制 - 无连接如 以上来自于谷歌翻译 以下为原文 Hello, I have instal the st motor control workbench for steval ifn003v1. I have install the driver : ''Silicon Lab CP210x chip ''. When I generate H. files, i'm going to monitor, but I have always the same error : ''Connection failed, No response, check the communication cable, the power on the board or the baudrate (set to 9600 bps)'' My board is supply by 24v and I'm connected on cp210x chip by u*** cable. Could you help me ? Thank you. #st-wb-motor-control-no-conection |
|
相关推荐
15个回答
|
|
你好吉吉,谢谢你的回答,
我正在执行以下步骤: 1:我下载并安装了库3.0 2:我复制了一个带有libray的文件夹,我将修补程序应用于steval ifn003v1 3:我安装了st workbench motor control 4:我安装了转换器serial-u***的驱动程序 4:我用Iar打开项目,然后编译,然后用st-link发送二进制文件。 但是,st st workingbench motor control中的监视器与steval ifn003v1之间没有任何关联。 如何在工作台中使用显示器控制电机? 谢谢 以上来自于谷歌翻译 以下为原文 Hello Gigi, thank you for your answer, I'm doing the following steps : 1: I download and I install the library 3.0 2 : I copy a folder with a libray and I apply the patch for steval ifn003v1 3 : I instal the st workbench motor control 4 : I instal the driver for the converter serial-u*** 4 : I open the project with Iar, and I compile, and I send the binary file with st-link. But, there is no connection between the monitor in st workbench motor control and the steval ifn003v1. How can I control motor with the monitor in st workbench ? Thank you |
|
|
|
再见
您的步骤列表似乎很好,并且奇怪的是串行通信不起作用。 您确定在固件中启用了串行通信吗? 我没有在列表中看到使用MC工作台配置firmare的阶段(您还需要为电机设置FW)。在该项目中,您必须在云端硬盘管理中启用串行通信 - >用户界面加载项。生成.h(Systems& Drive params文件夹中的配置文件)后,不要忘记进行批量构建(IAR中的F8)。 然后我们可以做一些基本的检查:当你插上USB线时你会看到COM端口?您在MC WB监视器窗口中选择此COM端口?您是否更改了默认通信速度115200?下载固件时,电机可以手动启动(或至少尝试启动)(按下按钮)? 让我知道 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Your step list seems good and it is strange that the serial communication don't work. Are you sure that the serial communication is enabled in the firmware? I don't see in your list the phase in which you configure the firmare using the MC workbench (you need it also to setup the FW for your motor). In that project you have to enable the serial communication in Drive Management -> User Interface Add-on. After generating the .h (configuration file in the Systems & Drive params folder) do not forget to make a batch build (F8 in IAR). Then we can make some basic check: when you plug the USB cable you see the COM port? You select this COM port in the MC WB monitor window? Do you have changed the default communication speed 115200? When you download the firmware the motor can start (or at least try to start) manually (pushing the button)? Let me know Ciao Gigi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
我用了另外一台带有Windows 7的电脑,连接正常,电机启动。也许与其他应用程序中的旧驱动程序相混淆。
感谢您的帮助以及您花在我身上的时间。 问候, 以上来自于谷歌翻译 以下为原文 I have taken an other pc with windows seven and the connection works, motor starts. Perhaps a conflit with an old driver from an other application. Thank you for your help and the time that you have spent for me. Regards, |
|
|
|
Ciao Tamil,
据我所知,在STM3210E-EVAL中没有USB-to-USART接口,您需要使用外部加密狗。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Tamil, for what I know in the STM3210E-EVAL there is no USB-to-USART interface and you need to use an external dongle. Ciao Gigi |
|
|
|
谢谢你的回复吉吉。
然后,我禁用了USART并尝试通过LCD界面。每当我尝试启动电机时,电机根本不会旋转,并且在测量的预应力快速增加到大约696rpm后我得到“速度反馈”故障(但实际上电机根本没有旋转) 。此外,我试图查看PWM信号,但它们在启动期间及以后始终处于“关闭”状态(高电平有效低电平,低电平有效高电平)。 如果你可以帮助我完成设置并运行它会很棒。为了确保,您认为我的硬件(用于控制级的STM3210E-EVAL和用于功率级的STEVAL-IHM023V2和Shinano LA052-080E电机)能够使用STM32电机控制固件库版本3.2运行电机吗? 谢谢, 泰米尔人 以上来自于谷歌翻译 以下为原文 Thanks for your reply Gigi. I then disabled the USART and tried to work through the LCD interface. Every time I try to start the motor, the motor doesn't spin at all and I get a ''Speed Feedback'' fault after the measured spreed increases rapidly to around 696rpm (but in reality the motor isn't spinning at all). Further, I tried to look at the PWM signals, but they were always ''off'' (High for active low and Low for active high) during the start-up period and beyond. It 'll be great if you could help me with getting the setup up and running. Just to make sure, do you think the hardware I have (STM3210E-EVALfor control stage and STEVAL-IHM023V2 for power stage and a Shinano LA052-080E motor) is capable of running the motor using STM32 motor control firmware library Version 3.2? Thanks, Tamil |
|
|
|
谢谢你的回复吉吉。
我设法得到一个串口到USB适配器,并配置固件不使用液晶显示器。我现在可以直接从电脑控制电路板,但我仍然面临与以前相同的问题。 一旦我点击启动电机,即使电机根本没有运行,测得的速度也会增加到4000rpm,并且我得到“速度反馈”故障。我再次检查了PWM信号,它们一直处于禁用状态。我确实打开了JP3。 还有什么我可以错过并需要检查吗?再次感谢你的帮助。 -Tamil 以上来自于谷歌翻译 以下为原文 Thanks for your reply Gigi. I managed to get a serial to USB adapter and have configured the firmware to not use the LCD. I am now able to control the board directly from the computer, but I am still facing the same issue as before. As soon as I click start motor, the measured speed increases to 4000rpm even though the motor is not running at all, and I get a ''speed feedback'' fault. I checked the PWM signals again, and they are still in disabled state all the time. I do have the JP3 open. Is there anything else that I could have missed and need to check? Thanks again for your help. -Tamil |
|
|
|
Ciao Tamil,
为了确保你能在这里发布你正在使用的.stmc文件和生成的''params.h''文件吗? 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Tamil, just to be sure can you post here the .stmc file that you are using and the generated ''params.h'' files? Ciao Gigi |
|
|
|
|
|
|
|
嗨吉吉,
那很有效!我现在能够旋转马达。但我仍然遇到过流故障,我认为这是错误的,我无法在1000转/分以上正常提升或降低速度。我将进一步探索它并尝试使其功能化。 非常感谢你的帮助! -Tamil 以上来自于谷歌翻译 以下为原文 Hi Gigi, That worked! I am now able to spin the motor. But I am still getting overcurrent fault which I think is false and I am not able to ramp up or down the speeds properly beyond 1000 rpm. I will explore it further and try to make it functional. Thanks a lot for your help! -Tamil |
|
|
|
检查电路板原理图,了解TX / RX在处理器上使用的端口引脚。
检查您的波特率&您在嵌入式工作台中配置了哪个USART。 您必须确保上述两个匹配,您可能需要使用特定的USART并重新映射引脚,以获得PCB的正确引脚。 以上来自于谷歌翻译 以下为原文 Check your board schematic as to which port pins TX/RX are using on the processor. Check your baud rate & which USART you have configured in embedded workbench. You have to make sure the two above match, you may need to use a specific USART and Re-map the pins, to get onto the correct pins for your PCB. |
|
|
|
好的,问题解决了。我不知道如何与Workbench的通信工作正常。
以上来自于谷歌翻译 以下为原文 Ok, problem was solved. I don't know how but communication with Workbench work ok. |
|
|
|
首先,我为我可怜的英语道歉。
关于st workbench motor control no conection,我有同样的问题。与上述不同,为了学习目的,我按照电路图(UM1478中的原理图)复制电路板,使用USB-RS232电缆和MAX232芯片代替CP2102芯片。 我正在执行以下步骤: 1:我安装了转换器serial-u***的驱动程序,我确信USB-RS232电缆工作正常 2:我从您的网站下载并安装了st workbench motor control 4.1。 3:启动示例项目SDK41x-STEVAL-IFN003V1-Shinano.stmx,我没有修改任何设置。启用了串行通信。 4:生成.h文件并将其复制到C: Program Files(x86) STMicroelectronics FOC SDK STM32 PMSM FOC LIBv4.1 Web SystemDriveParams文件夹。 5:我用MDK打开项目,并编译(根据STM32F PMSM单/双FOC SDK v4.1快速入门指南中描述的步骤),并将二进制文件发送到带有J-link的MCU。 但是,工作台电机控制中的显示器与我的电路板之间没有任何关联。我总是有同样的错误:''连接失败,没有响应,检查通信电缆,电路板上的电源或波特率(设置为115200 bps)''。 我用的是Windows 7。 此外,还有另外两个问题: 1在STEVAL-IFN003V1用户手册中,需要安装''STEVAL-IFN003V1_Patch.exe'',但我在您的网站上找不到此文件。在哪儿? 2当我下载STM32 FOC SDK Web 4.1并安装时,打开文件STM32F10x_Workspace.uvmpw,MDK项目区域只有STM32F10x_UserProject,没有STM32F10x_MC库,这是正常的吗?为什么?我的MDK版本是5.0。 我将感激你的帮助。 以上来自于谷歌翻译 以下为原文 first of all,I apologize for my poor english. I have the same question about st workbench motor control no conection. Different from above,For learning purposes I copied the circuit board in accordance with the circuit diagram(Schematic in the UM1478),use USB-RS232 cable and MAX232 chip instead of the CP2102 chip. I'm doing the following steps : 1 : I instal the driver for the converter serial-u*** and I'm sure that the USB-RS232 cable works well 2: I download and installed the st workbench motor control 4.1 from your website. 3: Start sample project SDK41x-STEVAL-IFN003V1-Shinano.stmx,I did not modify any settings.the serial communication is enabled. 4: Generate the .h files and copy these to C:Program Files (x86)STMicroelectronicsFOC SDKSTM32 PMSM FOC LIBv4.1WebSystemDriveParams folder. 5 : I open the project with MDK, and compile(according to the steps described in the Quick start guide for STM32F PMSM single/dual FOC SDK v4.1 ), and I send the binary file to MCU with J-link. But, there is no connection between the monitor in st workbench motor control and my board. I have always the same error : ''Connection failed, No response, check the communication cable, the power on the board or the baudrate (set to 115200 bps)''. I use windows 7. Besides,there are another two questions: 1 In the STEVAL-IFN003V1 User manual,required to install ''STEVAL-IFN003V1_Patch.exe'',but I can not find this file on your website. where it is? 2when I download STM32 FOC SDK Web 4.1 and install,open the file STM32F10x_Workspace.uvmpw,there is only STM32F10x_UserProject in the MDK project region, no STM32F10x_MC Library,is this normal?why?My MDK version is 5.0. I will appreciate all your help. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2578 浏览 1 评论
3194 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1763 浏览 1 评论
3589 浏览 6 评论
5967 浏览 21 评论
924浏览 4评论
1300浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
563浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1286浏览 3评论
1338浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-6 05:41 , Processed in 1.232862 second(s), Total 75, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号