Skip to main content
Sudhir
Associate III
May 14, 2020
Solved

Where is the binary firmware for p-nucleo-ihm001 MCU board that the user manual UM1949 says is available on st.com?

  • May 14, 2020
  • 11 replies
  • 2966 views

The document UM1949 says:

The original firmware demonstration to reprogram the STM32 MCU of the

P-NUCLEO-IHM001, is available in binary file format from the www.st.com

website and it is called P-NUCLEO-IHM001.bin.

Also where is the source code for that firmware?

Best answer by cedric h1

Hello Sudhir,

The source code that has been used to generate the P-NUCLEO-IHM001 binary can be generated by selecting the following example from the "Example Projects" section in the very first window when you run the workbench :

0693W000001cYcEQAU.png

At the generation stage, you will have the choice between UPDATE button or GENERATE button. use UPDATE button otherwise the potentiometer will not be functional.

Best Regards

Cedric

11 replies

Claire O.
Technical Moderator
May 15, 2020

Dear SKshi,

Please try: https://www.st.com/en/embedded-software/x-cube-mcsdk.html

From the MCSDK, you can generate binary code.

P-NUCLEO-IHM001 will be the first in the project example list.

Best regards,

Claire

Sudhir
SudhirAuthor
Associate III
May 15, 2020

Thanks. Unfortunately that led to more issues.

I downloaded and installed several things.

First, the motor control sdk (workbench) generates c code for the cubemx (it does not generate binary).

Then in cubemx you generate code for the cubeide.

Then you upgrade stlink etc.

Then you compile the code in cubeIDE. That builds the bin.

When I try to copy the 56K bin to the target in explorer, I get "not enough space" error.

When I try to debug in IDE, I get 'no device on target' debugger error.

All tools have been updated to the latest versions.

Sudhir
SudhirAuthor
Associate III
May 18, 2020

I was able to load the compiled code on the board but now the potentiometer on the IHM07M1 does not change the speed anymore!

I wish I had the original binary that I could load.

Claire O.
Technical Moderator
May 19, 2020

I am sorry, the original binary is not available.

The potentiometer is not working with the code example provided in the MCSDK ( Speed ramp with Potentiometer on P-Nucleo_IHM001 Kit- Advanced)? correct?

Thanks,

Claire

Sudhir
SudhirAuthor
Associate III
May 19, 2020

Hi Claire,

Correct. The compiled code starts the motor with the user button push but the potentiometer does not do anything. I looked at the code, and I don't see any code that interacts with potentiometer. I am not sure if there is any tutorial that explains the generated code.

The motor profiler is working well, by the way.

Regards,

-Sudhir

Sudhir
SudhirAuthor
Associate III
May 19, 2020

I am planning to use the board and the motor in a COVID response ventilator, so this is a bit urgent!

Sudhir
SudhirAuthor
Associate III
May 19, 2020

0693W000001cXw3QAE.jpg

Claire O.
Technical Moderator
May 19, 2020

Ok Sudhir,

I will ask the team to check.

For the doc, I can advise you tu use: ST-MC-Suite: https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/st-mc-suite.html

But if you need very specific help on the FW please check directly inside the ST-MC-WORKBENCH: documentation> firmware reference documentation

Best regards,

Claire

cedric h1
cedric h1Best answer
Visitor II
May 19, 2020

Hello Sudhir,

The source code that has been used to generate the P-NUCLEO-IHM001 binary can be generated by selecting the following example from the "Example Projects" section in the very first window when you run the workbench :

0693W000001cYcEQAU.png

At the generation stage, you will have the choice between UPDATE button or GENERATE button. use UPDATE button otherwise the potentiometer will not be functional.

Best Regards

Cedric

Sudhir
SudhirAuthor
Associate III
May 20, 2020

Thanks. I tried that. Unfortunately, the new code does not work. The motor does not start (the LED stays red). The monitor software shows Software error (FOC) error. The profiler works but it stalls a bit initially,

I am using the latest version of everything.

남김.1
Visitor II
November 4, 2020

https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/stm32-nucleo-expansion-boards/p-nucleo-ihm001.html#tools-software

download this file from...

All tools & software > STM32 Open Develompent Environment > X-NUCLEO-IHM07M1

en.X-CUBE-SPN7.zip will be downloaded.

finally, you can find it from...

STM32CubeExpansion_SPN7_V1.1.0\Projects\Multi\Examples\MotorControl\Binary\P-NUCLEO-IHM001\

Explorer
February 13, 2025

Thank you very much ! You find the easiest way to solve this issue.  As you said : simply download the X-CUBE-SPN7 package and  copy from there the binary file. It works very very well ! I have test it and progammed with ST-Link a P nucleo IHM002 kit

Sudhir
SudhirAuthor
Associate III
May 21, 2020

The Speedramp with Potentiometer 5.4.0 version worked with TrueStudio. Did not work with the IDE. Thanks to the input by Cedric. That helped.