Skip to main content
wliu.2
Visitor II
March 25, 2023
Question

MotorControl reference pack not found

  • March 25, 2023
  • 2 replies
  • 3280 views

2023-03-25 18:35:21,503 DEBUG [Main.lambda$run$0] Arguments: [-ioc, E:\t1\6Steps-NUCLEOF401RETx-IHM07-BullRunning\6Steps-NUCLEOF401RETx-IHM07-BullRunning.ioc, -xdm, E:\t1\6Steps-NUCLEOF401RETx-IHM07-BullRunning\6Steps-NUCLEOF401RETx-IHM07-BullRunning.wb_def]

2023-03-25 18:35:21,506 DEBUG [ArgsValue.readPropertiesFile] [AppConfig] pack.source = "D:\Program Files\STMicroelectronics\MC_SDK_5.4.8\Middlewares\ST\MotorControl" 

2023-03-25 18:35:21,506 DEBUG [ArgsValue.readPropertiesFile] [UserConfig] do not exist in "C:\Users\Admin\.st_motor_control\wb2mx.properties" 

2023-03-25 18:35:21,506 DEBUG [ArgsValue.getConfigProperties] pack.source = "../../../../Middlewares/ST/MotorControl"

2023-03-25 18:35:21,513 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[xdm]: E:\t1\6Steps-NUCLEOF401RETx-IHM07-BullRunning\6Steps-NUCLEOF401RETx-IHM07-BullRunning.wb_def

2023-03-25 18:35:21,513 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ioc]: E:\t1\6Steps-NUCLEOF401RETx-IHM07-BullRunning\6Steps-NUCLEOF401RETx-IHM07-BullRunning.ioc

2023-03-25 18:35:21,514 DEBUG [ArgsValue.retrieve] {xdm=E:\t1\6Steps-NUCLEOF401RETx-IHM07-BullRunning\6Steps-NUCLEOF401RETx-IHM07-BullRunning.wb_def, updftl=templates/wb_ioc_mc-middleware.ftl, mx_timeout=-1, exp=templates/wb-defines_where_and_what.txt, ioc=E:\t1\6Steps-NUCLEOF401RETx-IHM07-BullRunning\6Steps-NUCLEOF401RETx-IHM07-BullRunning.ioc, pack=../../../../Middlewares/ST/MotorControl, ftl=templates/wb_ioc_template.ftl}

2023-03-25 18:35:21,573 DEBUG [Main.run] Targeted MCU family = F4

2023-03-25 18:35:21,594 DEBUG [Main.run] Minimum associated CubeMx to the `F4` targeted MCU family is `4.25.0-a0`

2023-03-25 18:35:21,605 DEBUG [WindowsCubeMxFinder.lambda$findThem$2] Found 64-bit subkey HKEY_LOCAL_MACHINE\~~~\Uninstall\STM32CubeMX

2023-03-25 18:35:21,611 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2023-03-25 18:35:21,611 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2023-03-25 18:35:21,624 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2023-03-25 18:35:21,624 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2023-03-25 18:35:21,634 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2023-03-25 18:35:21,634 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2023-03-25 18:35:26,694 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'

2023-03-25 18:35:26,694 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'D:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'

2023-03-25 18:35:26,729 DEBUG [EnvironmentChecker.checkPack] STM32CubeMX.Version: 6.8.0-RC4

2023-03-25 18:35:29,171 ERROR [LineInfo_to_exitCode.manage_MCPackNotFound] MotorControl reference pack not found: "../../../../Middlewares/ST/MotorControl"

comleted with errors~~

So why?

This topic has been closed for replies.

2 replies

ST Employee
March 28, 2023

Hello @wliu.2​ ,

According to the release note of the MCSDK version 5.4.8 it seems that we can use at most the STM32CubeMX v6.4.0 version, can you try with this version and tell me if it works?

Thanks

Associate III
August 30, 2023

will it work with STM32CubeMX 6.9.1 version, I have the MCSDK version 5.4.8.  

Lkehu.1
Visitor II
May 17, 2023

I encountered the same problem, but using cubeMX6.4.0 and MCSDK5.4.8 together did not work.