2017-04-03 01:47 PM
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...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.2017-04-07 05:21 AM
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.
2017-04-11 06:21 AM
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?2017-04-11 08:19 AM
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:
Step 2 - Configure the FOC algorithm according to your needs
Step3 - Enable the UART communication in ''control stage'' tab:
Step 4 - Check the baud rate (selecting 9600 is recommended for STM32F0 family)
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.
2017-10-28 05:22 AM
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.
2017-11-14 02:33 AM
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
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=false2017-11-14 11:37 PM
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.
2017-12-05 03:07 PM
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
2021-06-27 06:41 PM
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