2021-12-10 03:22 PM
Hey there,
I'm trying to generate code with the Motor Control Workbench V5.Y.3 for the Nucelo H745ZI.
I selected the sample project in "Projects\NUCLEO-H745ZI\..." saved it somewhere else and tried to generate code.
In the project generation dialogue all three buttons (Update, Run STM32CubeMX, Generate) are greyed out. (I'm still on CubeMX V6.3.0)
Does anyone know how to fix this?
Or how to use an H7 processor outside of this example project?
The log file just shows this:
2021-12-11 00:15:35,379 DEBUG [Main.lambda$run$0] Arguments: [-ioc, C:\Users\Soeren\STM32CubeIDE\workspace_1.5.1\testmot123\NUCLEO-H745ZI_IHM07_3S\NUCLEO-H745ZI_IHM07_3S.ioc, -xdm, C:\Users\Soeren\STM32CubeIDE\workspace_1.5.1\testmot123\NUCLEO-H745ZI_IHM07_3S\NUCLEO-H745ZI_IHM07_3S.wb_def]
2021-12-11 00:15:35,386 DEBUG [ArgsValue.readPropertiesFile] [AppConfig] pack.source = "C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.Y.3\Middlewares\ST\MotorControl"
2021-12-11 00:15:35,386 DEBUG [ArgsValue.readPropertiesFile] [UserConfig] do not exist in "C:\Users\Soeren\.st_motor_control\wb2mx.properties"
2021-12-11 00:15:35,386 DEBUG [ArgsValue.getConfigProperties] pack.source = "../../../../Middlewares/ST/MotorControl"
2021-12-11 00:15:35,403 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[xdm]: C:\Users\Soeren\STM32CubeIDE\workspace_1.5.1\testmot123\NUCLEO-H745ZI_IHM07_3S\NUCLEO-H745ZI_IHM07_3S.wb_def
2021-12-11 00:15:35,403 DEBUG [ArgsValue.lambda$retrieve$2] CLI_ARG[ioc]: C:\Users\Soeren\STM32CubeIDE\workspace_1.5.1\testmot123\NUCLEO-H745ZI_IHM07_3S\NUCLEO-H745ZI_IHM07_3S.ioc
2021-12-11 00:15:35,405 DEBUG [ArgsValue.retrieve] {xdm=C:\Users\Soeren\STM32CubeIDE\workspace_1.5.1\testmot123\NUCLEO-H745ZI_IHM07_3S\NUCLEO-H745ZI_IHM07_3S.wb_def, updftl=templates/wb_ioc_mc-middleware.ftl, mx_timeout=-1, exp=templates/wb-defines_where_and_what.txt, ioc=C:\Users\Soeren\STM32CubeIDE\workspace_1.5.1\testmot123\NUCLEO-H745ZI_IHM07_3S\NUCLEO-H745ZI_IHM07_3S.ioc, pack=../../../../Middlewares/ST/MotorControl, ftl=templates/wb_ioc_template.ftl}
2021-12-11 00:15:35,505 DEBUG [Main.run] Targeted MCU family = H7
2021-12-11 00:15:35,570 DEBUG [Main.run] Minimum associated CubeMx to the `H7` targeted MCU family is `4.25.0-a0`
2021-12-11 00:15:35,591 DEBUG [WindowsCubeMxFinder.lambda$findThem$2] Found 64-bit subkey HKEY_LOCAL_MACHINE\~~~\Uninstall\STM32CubeMX
2021-12-11 00:15:35,604 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2021-12-11 00:15:35,604 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
2021-12-11 00:15:35,630 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2021-12-11 00:15:35,631 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
2021-12-11 00:15:35,657 DEBUG [CubeMxCtx.EXE_version] Loaded path: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
2021-12-11 00:15:35,658 DEBUG [CubeMxCtx.EXE_version] Loaded updater jar: 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\plugins\updater.jar'
Thanks,
Sören
2021-12-20 11:08 PM
Dear @Sören Alrutz
Sorry for the late answer.
Do you have still this problem to solve?
And just in case, if not, do not hesitate to share the final solution you found. Thanks by advance.
Best regards
2021-12-21 11:44 AM
Hey @Laurent Ca... ,
I was sadly unable to fix this problem in any way. I've tried i on several different machines and the legacy Version 5.4.7, but the problem persists.
I noticed, that the example is missing the ".wb_def" file and additionally the MotorControl Folder referenced in the ".ioc" file is still a development source:
ExtraMW.MotorControl.Root=MotorControlDev/
the other examples I've checked all reference:
ExtraMW.MotorControl.Root=MCSDK_vX.X.X/MotorControl
So my best guess would be that the example is still in an development state which breaks the code generation. (just changing the folder does not fix the problem)
Could you please check if the example can generate code for you, and if not report this issue so it will be fixed in a future release?
Thanks in advance,
Sören