Skip to main content
Associate
May 28, 2025
Question

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

  • May 28, 2025
  • 1 reply
  • 366 views

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.

1 reply

GMA
Technical Moderator
May 28, 2025

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 'Accept as solution'.Best regards.GMA
Associate
May 28, 2025

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
Technical Moderator
May 30, 2025

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 'Accept as solution'.Best regards.GMA