2019-03-06 10:44 AM
I have installed MCSDK_v5.3.3 on my Win10 machine. I open example project P-NUCLEO-IHM001-BullRunning.stmcx, save it in a new folder as suggested and click the Generate icon.
The "Project generation" finds all my installed STM32CubeMX (4.27.0, 5.1.0), I select "ST SW4 STM32", "HAL", FW V1.10.0 (Recommended, not installed) and press the Generate button. Generation failes immediately saying:
"Deploying MotorControl Pack version `5.3.3` to D:\Users\Frank\Documents\STM32Cube\Repository\MCSDK_v5.3.3\MotorControl
Unable to deploy MotorControl reference pack to D:\Users\Frank\Documents\STM32Cube\Repository\MCSDK_v5.3.3\MotorControl
MotorControl reference pack not found: "../../../../Middlewares/ST/MotorControl"
Completed with errors"
Well, there is such a folder, but it is one "../" level off:
C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.3.3\Utilities\PC_Software\STMCWB>dir "../../../Middlewares/ST/MotorControl"
Datenträger in Laufwerk C: ist Windows
Volumeseriennummer: DAEE-B0E1
Verzeichnis von C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.3.3\Middlewares\ST\MotorControl
06.03.2019 16:15 <DIR> .
06.03.2019 16:15 <DIR> ..
06.03.2019 16:15 <DIR> lib
06.03.2019 16:15 <DIR> MCSDK
21.01.2019 13:29 95.090 MotorControl_Configs.xml
21.01.2019 13:29 116.367 MotorControl_Modes.xml
21.01.2019 13:29 38.419 Release Notes for ST MC FOC FW.html
06.03.2019 16:15 <DIR> templates
3 Datei(en), 249.876 Bytes
When I change the Cube version etc., the error persists.
Am I missing someting? Can I change the folder?
Regards
Frank
2019-03-29 03:03 AM
Dear Frank,
Please make sure you use the admin rights. If not, workbench will not be able to populate the repository in CubeMX folder.
Please tell me if it helps,
Thanks and best regards,
Claire
2019-04-23 11:06 PM
Yes, this works. Thanks.
2021-06-15 01:14 AM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards