How should i solve the STM32CubeMX tool Firmware installation issue?

41 views (last 30 days)
Embedded Coder Support Package for STMicroelectronics STM32 Processors : Installation Errors
[ERROR] AnalyticsContext:980 - The ST intranet updater server is unknown: mcucrossselector.codex.cro.st.com
[ERROR] ServerAccessManage:1058 - Problem during Server Connexion : IO error PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] ServerAccessManage:1032 - Warning during Server Connexion : Unknown host www.ebuc23.com
[ERROR] ConfigurationRetriever:139 - IOException on connection: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] ConfigurationRetriever:139 - IOException on connection: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] ConfigurationRetriever:139 - IOException on connection: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] ServerAccessManage:1058 - Problem during Server Connexion : IO error PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] ServerAccessManage:537 - Problem during Server Connexion : : updaters.zip.
[ERROR] ServerAccessManage:1032 - Warning during Server Connexion : Unknown host www.ebuc23.com
[ERROR] ServerAccessManage:537 - Unknown host server name. : updaters.zip.
[ERROR] Engine:463 - C:\Users\karthikeyan j\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice.I-CUBE-FS-RTOS.1.0.1.pdsc: PDSC version is not supported
[ERROR] Engine:463 - C:\Users\karthikeyan j\.stm32cubemx\thirdparties\pdsc\RealThread.X-CUBE-RT-Thread_Nano.4.1.1.pdsc: PDSC version is not supported
[ERROR] Engine:463 - C:\Users\karthikeyan j\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.X-CUBE-DPower.1.2.0.pdsc: PDSC version is not supported
[ERROR] Engine:463 - C:\Users\karthikeyan j\.stm32cubemx\thirdparties\pdsc\STMicroelectronics.FP-SNS-STBOX1.2.0.0.pdsc: PDSC version is not supported
swmgr refresh
2024-07-22 11:50:58,605 [ERROR] ConfigurationRetriever:139 - IOException on connection: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2024-07-22 11:50:58,678 [ERROR] ConfigurationRetriever:139 - IOException on connection: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2024-07-22 11:50:58,797 [ERROR] ServerAccessManage:1058 - Problem during Server Connexion : IO error PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2024-07-22 11:50:58,798 [ERROR] ServerAccessManage:537 - Problem during Server Connexion : : updaters.zip.
2024-07-22 11:50:58,802 [ERROR] ServerAccessManage:1032 - Warning during Server Connexion : Unknown host www.ebuc23.com
2024-07-22 11:50:58,802 [ERROR] ServerAccessManage:537 - Unknown host server name. : updaters.zip.
2024-07-22 11:50:59,031 [INFO] CheckServerUpdateThread:115 - End of CheckServer Thread
2024-07-22 11:50:59,045 [INFO] LoadServerUpdatesThread:339 - End of LoadServerUpdate Thread
KO
The Previous Step installation screenshot are attached for reference.

Answers (2)

Vandit
Vandit on 22 Jul 2024
Hello Karthikeyan,
To resolve the STM32CubeMX tool firmware installation issue, you can try a clean reinstallation of the support package. For instructions on how to perform a clean reinstallation of a support package, please refer to the following link:
Hope this helps.
  2 Comments
Karthikeyan J
Karthikeyan J on 23 Jul 2024
Hello Vandit,
Thanks for your support !!
But I tried the same step which is given in the reinstallation of a support package, evenafter getting same the result still facing the same error.
For your reference I attach the screenshot of Hardware setup installation.
Please suggest any other way to solve this issue.
Vandit
Vandit on 23 Jul 2024
Edited: Vandit on 23 Jul 2024
Hello Karthikeyan,
You can try out the below mentioned workarounds to resolve your query:
  1. Change the path of firmware to a different folder.
  2. Open STM32CubeMX once and then proceed with the hardware setup screen.
  3. Ensure that the folder where installation is happening has Write permissions.
  4. Confirm the path in the file "C:\Users\'username'\.stm32cubemx\plugins\updater\updater.ini" is the same as the new folder path.
If the issue persists, you may install the firmware directly from CubeMX into the required folder and run the hardware setup to register with Simulink. For this, open STM32CubeMX, press Alt+S (help: Updater settings), set the path to the new folder, click OK, then press Alt+U (help: Manage Embedded software package), and download and install the following firmware versions: G4 Firmware version 1.5.0, F4 Firmware version 1.26.2, F7 Firmware version 1.16.2, and H7 Firmware version 1.9.1.
Also, please let me know the MATLAB version you are currently using.
Hope this helps.

Sign in to comment.


Karthikeyan J
Karthikeyan J on 23 Jul 2024
Hello Vandit,
I was tried your above mentioned suggestions step by step even after getting the same error as i listed in my first time message.
Currently I'm using MATLAB Version: 9.13.0.2080170 (R2022b)
Also i attached the manual downloaded Embedded software package from STM32CubeMX and Matlab Hardware stepup frimware repository its screen shots are attached for your reference.
please let me know any other information that you want to resolve this issue.
  2 Comments
Goutham Varanasi
Goutham Varanasi on 1 Aug 2024
Hi karthikeyan,
  1. After installing the firmware manually to a folder, try running the hardware set screen and point to the same folder where the firmware is downloaded. After this if you run the command getpref(MW_STM32)', you should be seeing the firmware path pointing to the folder specified.
  2. Ensure the path doesnt have any spaces. Path can contain letters,digits or underscores. I assume there is a space in the folderpath specified in the attachment. Specify File Names - MATLAB & Simulink
  3. If the above issues persists, please contact Technical Support with output of the command 'getpref(MW_STM32)' , expected paths and description of steps that were taken in the process.
Regards
Goutham Varanasi.
Karthikeyan J
Karthikeyan J on 1 Aug 2024
Hi Goutham Varanasi,
Thanks for giving your sugesstion about the issue i faced.
Actually, the real problem from my end is internal firewall block issue.After find that I discussed with my IT Team to allow server to access the installation file from website.
Now, my Hardware setup installation is completed sucessfully.
Regards,
Karthikeyan

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!