cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-IHM042V1 connection failed

Daniel Misak
Associate
Posted on April 03, 2017 at 22:47

Hello,

                I am using STEVAL-IHM042V1 and Motor Control Workbench. Everything was working fine until I tried to connect the board via the Motor Profiler.  STEVAL-IHM042V1 is not available for Motor Profiler so I chose other board with same L6230 driver. Since that, I cannot connect my STEVAL-IHM042V1 in Motor Control Workbench – I get an error „Connection failed...0690X00000606R3QAI.png

According to the error message I tried following:

checked the power supply,

checked and tried all possible baudrates, COM address and other settings in Windows device manager,

tried various cables,

updated ST-Link driver via ST-Link Utility,

installed (updated) STM32 Virtual COM port on my computer,

tried all these things on other computer.

None of these worked. The User manual says that the board is mounted with STM32F103C8 preprogrammed with STM32 Virtual COM Port firmware providing USB-serial interface. Is it possible that the firmware was erased somehow? Eventually, can I reprogram it?

Thanks, 

Dan.
8 REPLIES 8
Enrico Poli
ST Employee
Posted on April 07, 2017 at 14:21

Hello,

The motor profiler writes a specific firmware according to the target board you select. Writing the firmware on a different hardware results in no operation.

Posted on April 11, 2017 at 13:21

Thank you for your anwser.

Recently I got Nucleo F030R8 + Nucleo IHM07M1 and I get the same error message in Motor Control Workbench. Anyone has any idea what's the issue?
Posted on April 11, 2017 at 15:19

In order to enable the communication between the board and the Workbench GUI you must enable the UART communication option before compiling and downloading the FOC library.

Step 1 - Create a new project using the control board and the driver board you selected:

0690X00000606jBQAQ.png

Step 2 - Configure the FOC algorithm according to your needs

Step3 - Enable the UART communication in ''control stage'' tab:

0690X00000606ixQAA.png

Step 4 - Check the baud rate (selecting 9600 is recommended for STM32F0 family)

0690X00000606jaQAA.png

Step 5 - Generate the configuration files, compile and download the firmware into the Nucleo board

Step 6 - Connect the workbench to the board using the virtual COM provided by the Nucleo and setting the same baud rate selected in firmware compilation steps.

0690X00000606jfQAA.png
paul2
Senior
Posted on October 28, 2017 at 14:22

Hi Daniel,

which IDE did you use? AC6 or Keil. I'm trying to get my board STEVAL-IHM042V1 running using AC6 and FOC 4.3.

But no succes sofar.

Did you used the STMF30x_UserProject? Does it need any modifications to get it ready for STEVAL_IHM042V1?

Thanks.

Gigi
Senior
Posted on November 14, 2017 at 11:33

Ciao

I'm attaching a workbench file that I testedand works.

Try first this. I'm using IAR to compile itbut AC6 project shall works too.

If you still have communication problems please check that thecorrect driver is installed. It shall be this

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-stm32html

Pay attention to the readme file that will be unzipped/installed that explain how to correctly install the driver.

Last point is to

take care of the mechanical connection of the USB connector on the board. The connector are slightly placed inside the board and some USB connectors hit the PCB and you can’t connect it correctly.

Ciao

Gigi

________________

Attachments :

SD43x-STEVAL-IHM042V1-RS-536-6030_official_1_shunt-HallSensor.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyH3&d=%2Fa%2F0X0000000b5r%2FYCyS..uw2UXyCINVF1cKA3V25TmLavW.dbMjIYxvmyk&asPdf=false
Posted on November 15, 2017 at 07:37

Hi Gigi,

thanks for the workbench file. Communication works, since the COM port is regonized correctly in the Workbench environment.

Which User Project did you use in combination with Workbench project? Did you use STM32303C-EVAL_DUALDRIVE?

Did some testing. The project doesn't boot when using AC6, your Workbench file and the STM32303C-EVAL_DUALDRIVE user project.

Thanks.

Posted on December 05, 2017 at 23:07

Gerber, you have to: Click New Project -> select dual -> select inverter

Then the STEVAL-IHM042V1 is in the drop down.

I wasted a day on this same problem.

Cheers,

lem

Laurent Ca...
Lead II

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards