cancel
Showing results for 
Search instead for 
Did you mean: 

St workbench motor control : no conection

julienboudens9
Associate II
Posted on September 25, 2012 at 15:40

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-conection
26 REPLIES 26
Gigi
ST Employee
Posted on September 25, 2012 at 15:48

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

Gigi

julienboudens9
Associate II
Posted on September 25, 2012 at 16:12

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 you

Gigi
ST Employee
Posted on September 26, 2012 at 08:31

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

julienboudens9
Associate II
Posted on September 26, 2012 at 11:22

When I connect the usb port, I don't see the com port 3. When I download the firmware with iar on steval ifn003v1, the motor doesn't run

julienboudens9
Associate II
Posted on September 26, 2012 at 20:11

julienboudens9
Associate II
Posted on September 26, 2012 at 20:15

Gigi
ST Employee
Posted on September 27, 2012 at 08:55

> 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

Gigi

julienboudens9
Associate II
Posted on September 27, 2012 at 09:13

0690X00000602xOQAQ.jpg

This the board.

Regards,

Gigi
ST Employee
Posted on September 27, 2012 at 09:29

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