Clear Filters
Clear Filters

Unable to create a STM32CubeMX Project using "Embedded Coder Support Package for STMicroelectronics STM32 Processors"

18 views (last 30 days)
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.
  2 Comments
Adit Kirtani
Adit Kirtani on 12 Jun 2024
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.
SG
SG on 18 Jul 2024 at 12:50
Edited: SG about 15 hours ago
Hello Adit,
I am working with MATLAB 2023b release.
I have attached the output .mat file.
The previously set paths appear again.
It does not require admin rights to run STM32CubeMX.
Regards

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!