2023-10-12 08:58 AM
I am unable to install the STM32 device packages required by the setup of the Embedded Coder Support Package for STMicroelectronics STM32 Processors.
Based on my investigation, this error seems to originate with the STM32 CubeMX software. The hardware setup steps download and setup the required software using STM32 CubeMX, and here there is an error when STM32 CubeMX does so.
The Error I get from Install STM32Cube Firmware is :
Installation of STM32Cube firmware failed with the following error:
[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:537 - Problem during Server Connexion : : updaters.zip.
[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] 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
swmgr refresh
2023-10-11 10:24:07,610 [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
2023-10-11 10:24:07,611 [ERROR] ServerAccessManage:537 - Problem during Server Connexion : : updaters.zip.
2023-10-11 10:24:08,139 [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
2023-10-11 10:24:08,139 [ERROR] ServerAccessManage:537 - Problem during Server Connexion : : updaters.zip.
2023-10-11 10:24:08,314 [INFO] CheckServerUpdateThread:115 - End of CheckServer Thread
2023-10-11 10:24:08,314 [INFO] LoadServerUpdatesThread:339 - End of LoadServerUpdate Thread
KO
I have tried these few troubleshooting steps suggested by MathWorks support but they did not work:
1) Verify your connection.
This can be done under Connection Parameters in Help > Updater Settings from within STM32 CubeMX.
2) Install the device packages through STM32 CubeMX.
You can install the packages in STM32 CubeMX by going to Help > Manage embedded software packages and installing the correct packages from the list.
Solved! Go to Solution.
2023-10-12 02:40 PM
Try downloading the packages yourself from the ST site. These will be ZIP files. Then in CubeMX "Manage Embedded Software Packages", select "from local" (or is it "from local file"???).
If even that fails, you can always manually in-zip the files into the CubeMX. The default directory on Windows is "C:\users\USERNAME\STM32Cube\Repository"
2023-10-12 02:40 PM
Try downloading the packages yourself from the ST site. These will be ZIP files. Then in CubeMX "Manage Embedded Software Packages", select "from local" (or is it "from local file"???).
If even that fails, you can always manually in-zip the files into the CubeMX. The default directory on Windows is "C:\users\USERNAME\STM32Cube\Repository"