Unable to create a STM32CubeMX Project using "Embedded Coder Support Package for STMicroelectronics STM32 Processors"
显示 更早的评论
Hello Comunity,
I am trying to create new project for STM32F4xx based boards. But I can not create the create project biuld options in Simulink Hardware implementation. I have attached the screenshot of the error. I have followed the step shown in the msg and tried to do hardware setup. I have already installed required STM32 CubeMX(v6.4.0) and STM32CubeProgrammer(v2.6.0) as recommended by the simulink hardware support package andthe installation paths are also validated. I was able to complete the setup but still it pops up.

3 个评论
Adit Kirtani
2024-6-12
Hi,
Could you kindly share the following:
- Which release of MATLAB are you working with?
- The '.mat' file output when you run the following commands:
clear
MW_STM32_Prefs = getpref('MW_STM32');
save("stm32_preferences");
- When running the hardware setup screens, do the previously set paths appear again?
- Does the path set for STM32CubeMX require admin rights to be executed? If yes, kindly move it to a location where admin rights are not required, rerun the hardware setup screens and provide the new path.
Regards,
Adit Kirtani.
Goutham Varanasi
2024-7-29
Hi,
- Try launching the hardware setup screen and select a different path
- May you confirm the path in this file (C:\Users\'username'\.stm32cubemx\plugins\updater) updater.ini is same as the new folder path
- Execute 'getpref('MW_STM32')' command and observe the STM32CubeFW, this should be having the firmware path as an output argument.
If the issue persists, please contact Technical Support
Regards
Goutham Varanasi
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 STMicroelectronics Discovery Boards 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!