Skip to main content
Associate
May 28, 2025 4:52 AM UTC
Question

Problem with setting up and flashing the P-NUCLEO-IHM002 using the Motor Profiler and STM Motor Workbench

I have a problem with setting up and flashing the P-NUCLEO-IHM002 using the Motor Profiler and STM Motor Workbench. Kindly help me in setting this up, preferrably run a example folder either six step or foc. Once done, help me integrate with Matlab simulink MBD workflow. Also provide methods for manual code addition in the generated code using STM32CUBEIDE.

This topic has been closed for replies.

3 replies

GMA
ST Technical Moderator
May 28, 2025 7:28 AM UTC

Hello @Sravan33322 ,

First refer to How to write a Motor control post. 
Refer to NUCLEO-IHM002 page, video is available for generating/compiling/flashing project.
Refer to "Matlab Help center" for Matlab simulink MBD workflow integration.

 

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA
Associate
May 28, 2025 9:40 AM UTC

Part No:P-NUCLEO-IHM03

Version of MCSDK: 5.4.8

Tool : MC WB,MC PROFILER, P-Nucleo-IHM03

Entered code not flashed into the controller.

Here I am attached the error generated during the flashing of code.

unnamed.png

unnamed.png

unnamed.png

 

GMA
ST Technical Moderator
May 30, 2025 12:38 PM UTC

Hello @Sravan33322,

As main.c has been generated correctly, did you try to compile the generated project?
If the compile is fine, proceed with it.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA