cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Get started with with P-NUCLEO-IHM03

Vivian_Vincent
Associate

I am unable to perform the operation on my STM nuclio board and IHM03 motor control board.

I have installed the ST motor control SDK,STMcube mx,IAR WB 8. by seeing the video - https://www.youtube.com/watch?v=0g28Ki8adfE

But I have encountered the following errors.

2025-02-25 23:49:05,433 DEBUG [Main.lambda$run$0] Arguments: [-ioc, D:\Skill development\Work Projects\motor control\Motor_control_prj\MY_Project\MY_Project.ioc, -xdm, D:\Skill development\Work Projects\motor control\Motor_control_prj\MY_Project\MY_Project.wb_def]
2025-02-25 23:49:05,438 DEBUG [ArgsValue.readPropertiesFile] [AppConfig] pack.source = "C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.4.8\Middlewares\ST\MotorControl"
2025-02-25 23:49:05,439 DEBUG [ArgsValue.readPropertiesFile] [UserConfig] do not exist in "C:\Users\Vivian_Vincent\.st_motor_control\wb2mx.properties"
2025-02-25 23:49:05,439 DEBUG [ArgsValue.getConfigProperties] pack.source = "../../../../Middlewares/ST/MotorControl"
2025-02-25 23:49:05,450 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[xdm]: D:\Skill development\Work Projects\motor control\Motor_control_prj\MY_Project\MY_Project.wb_def
2025-02-25 23:49:05,450 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ioc]: D:\Skill development\Work Projects\motor control\Motor_control_prj\MY_Project\MY_Project.ioc
2025-02-25 23:49:05,452 DEBUG [ArgsValue.retrieve] {xdm=D:\Skill development\Work Projects\motor control\Motor_control_prj\MY_Project\MY_Project.wb_def, updftl=templates/wb_ioc_mc-middleware.ftl, mx_timeout=-1, exp=templates/wb-defines_where_and_what.txt, ioc=D:\Skill development\Work Projects\motor control\Motor_control_prj\MY_Project\MY_Project.ioc, pack=../../../../Middlewares/ST/MotorControl, ftl=templates/wb_ioc_template.ftl}
2025-02-25 23:49:05,547 DEBUG [Main.run] Targeted MCU family = F4
2025-02-25 23:49:05,583 DEBUG [Main.run] Minimum associated CubeMx to the `F4` targeted MCU family is `4.25.0-a0`
2025-02-25 23:49:05,612 DEBUG [WindowsCubeMxFinder.lambda$findThem$2] Found 64-bit subkey HKEY_LOCAL_MACHINE\~~~\Uninstall\STM32CubeMX
2025-02-25 23:49:05,625 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2025-02-25 23:49:05,625 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
2025-02-25 23:49:05,648 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2025-02-25 23:49:05,648 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
2025-02-25 23:49:05,665 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2025-02-25 23:49:05,665 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
2025-02-25 23:49:31,043 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2025-02-25 23:49:31,043 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
2025-02-25 23:49:31,110 DEBUG [EnvironmentChecker.checkPack] STM32CubeMX.Version: 6.13.0-RC5
2025-02-25 23:49:34,180 ERROR [LineInfo_to_exitCode.manage_MCPackNotFound] MotorControl reference pack not found: "../../../../Middlewares/ST/MotorControl"

 

Please help.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Vivian_Vincent,

Refer to our FAQ page for more information.

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

View solution in original post

5 REPLIES 5
GMA
ST Employee

Hello @Vivian_Vincent ,

Using MCSDK 5.4 version, as shown at 1:42 in the video, used STM32CubeMx version is 5.2.0 and FW package version is 1.0.0.
Refer to "Release Note" available through "Workbench tool>Documentation" for more details.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Vivian_Vincent
Associate

Still Unable to figure out

Vivian_Vincent_0-1740591053687.pngVivian_Vincent_1-1740591129494.png

 

Hello @Vivian_Vincent,

First, install required STM32CubeMX available here. According to Release Note, up to v6.4.0.

GMA_0-1740592125337.png

STM32CubeMX6.13 as you are using is not supported.
Launching STM32CubeMx tool, select STM32F4, install FW_F4_V1.26.2

GMA_1-1740592523529.png

Select these versions for generation.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Vivian_Vincent
Associate

Thanks for giving a detailed procedure.

The steps worked fine, but the gimbal motor did not run or rotate.

Any suggestions?

Hello @Vivian_Vincent,

Refer to our FAQ page for more information.

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