2012-09-25 06:40 AM
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 usb cable. Could you help me ? Thank you. #st-wb-motor-control-no-conection2012-09-25 06:48 AM
Hello,
please take a look at [DEAD LINK /public/STe2ecommunities/mcu/Lists/motor_control/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/motor_control/Motor%20control%20with%20steval%20IFN003v1&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580005A810128153A7244A21980BD49736843]this post? Ciao Gigi2012-09-25 07:12 AM
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-usb 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 you2012-09-25 11:31 PM
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 Gigi2012-09-26 02:22 AM
2012-09-26 11:11 AM
2012-09-26 11:15 AM
2012-09-26 11:55 PM
> When I connect the usb port, I don't see the com port
If the com port is not enumerated I think it is a problem of USB-SERIAL bridge. I remember that some prototypes (relized before the final production) have some issue of this type. Can you share a picture of your board. Ciao Gigi2012-09-27 12:13 AM
This the board. Regards,
2012-09-27 12:29 AM
It is absolutely the final version, and so it has been tested afetr the production. Probably you have some issue with driver/operating system.
When you plug the USB cable the windows find new hardware? You get some error message like USB device not recognized? If you get the message that the hardware is ready to be used I think you can see in the device manager the ''Ports (COM & LPT) -> Silicon Labs CP210x USB to UART Bridge (COMxx)''. And you have to set this COM port in the MC workbench. I'm using WinXp and it works. Can you try on different PC/OS? Ciao Gigi