STM32H5 Workshop Installation Installation Guide
- June 1, 2024
- ST
Table of Contents
STM32H5 Workshop Installation
Installation Procedure (v2.0)
Workshop : STM32H5: Ultimate combination of performance, integration, and
affordability Please follow all the installation steps below before the
Workshop.
Workshop – Requirements
Important : You need to have administration rights to be able to install
drivers and software and to do the workshop.
System requirements:
Windows® (10 or later, 64 bits (x64)), macOS® (12 – Monterey, or 13 –
Ventura), or Linux® (Ubuntu® LTS 20.04 and 22.04, and Fedora® 36). Please see
the STM32CubeIDE installation guide for more details, it can be found at:
(https://www.st.com/resource/en/user_manual/um2563-stm32cubeide-installation-
guide-stmicroelectronics.pdf)
Minimum Hardware Requirements:
- One USB port (used for the debugger)
- One USB Type-A to Type-C Cable
- 4 GB of system memory (RAM)
- 7 GB of available disk space
STM32H5 Workshop – Installation Procedure – Introduction:
The following Software/Tools/Libraries are needed for the Workshop:
- STM32CubeIDE: version 1.13.1 minimum required, if you have a previous version you will need to install a new version as explained in this installation procedure. Page 4
- STM32CubeH5: version 1.1.1 minimum required, if you have a previous version you will need to install a new one as explained in this installation procedure. Page 12
- STM32CubeProgrammer: version 2.14.0 minimum required, if you have a previous version you will need to install a new version as explained in this installation procedure. Page 17
- Serial Terminal application: like PuTTY (https://www.putty.org)
Notes:
- Some of the versions of the software and libraries on the ST website might have newer versions than the version seen in the document, please use the latest version from the links provided in the installation procedure below.
- The instructions and screenshots are specific to tools versions specified above, the layout and appearance might change with version but the procedural steps for the workshop would remain the same.
- The instructions and screenshots are specific to a Windows® based system.
- The look of the website may change but the links provided in this document remain the same. The installation procedure can take several hours for downloading and installing based on the speed of the internet connection and performance of the computer system.
Questions and support ahead of the workshop
- If you have issues during the software download and install, contact ST by entering an Online Support Request for workshops at https://ols.st.com/s/newcase?o=ws to help resolve the issue.
- In the Workshop/Event Description field, select: “STM32H5: Ultimate combination of performance, integration, and affordability”
- To ensure your request is quickly routed to the correct support team, please indicate the Workshop Request Type, either Technical or Non-Technical, that best describes your question.
For the Workshop installation please follow the steps below:
- STM32CubeIDE: STM32Cube initialization code generator click Link: STM32CubeIDE Minimum version to be installed: 1.13.1
Or use Direct Install Link: https://www.st.com/en/development- tools/stm32cubeide.html
In the web browser, a similar page as follows will come up
Click on “Get Software” button: Get Software
Click on “Get Latest” for the target operating system (shown below is for
Windows):
There are 3 ways of getting the software:
If you have an ST account, click on: Login/Register.
If you don’t have one, create one by clicking on: Login/Register
If you don’t have an account and don’t want to create one, fill in the
information below:
The software will automatically download in your browser.
Unzip the file (en.st-stm32cubeide_x.x.x_xxxx.zip) and you will see this:
Note : you may see a newer version in your case than the screenshot above.
Right Click on ‘st-stm32cubeide_x.x.x_yyy_x86_64.exe’ (x.x.x is the version number) and click on ‘Run as administrator’:
Press “Next”:
Press “I agree”:
Use the default Destination Folder – press “Next”:
Press: “Install”
Wait for the install to complete and then press “Next”:
Press “Finish”
STM32CubeH5: Install STM32Cube MCU Package for STM32H5 series
Double click on STM32CubeIDE icon or look for it in your Start Menu: Click Launch:
Make your choice for the Usage Statistics Agreement:
Note : Before installing the package, make sure you are logged in to the STM32CubeIDE with your “myST” account. Follow the instructions below to log-in correctly.
Click on “myST”:
If you do not already have the myST account, click on “Create Account”:
Enter the details as instructed by the prompt.
Accept the “Terms of Use” at the end of the prompt and click on
“Register”.
After successfully logging-in, you can see a prompt as shown below:
Press ‘OK’ and we are ready to proceed further with the firmware package installation. Once you are logged in, follow the instructions below to install the STM32CubeH5 Package. From STM32CubeIDE: Help -> Manage embedded software packages:
Under STM32H5, expand then check the latest STM32 MCU Package for STM32H5 and click “Install”:
Agree on the terms of this license agreement, by selecting “I have read, and I agree to the terms of this license agreement” and then press Finish.
Once installed it should look like this and you can press “Close”:
Note : In your system it might show a newer version depending on the latest version available.
STM32CubeProg: STM32CubeProgrammer software for programming STM32 products
- Click Link: STM32CubeProg
- Minimum version required: 2.14.0
- Direct Install Link: https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog.html
Note to Mac users, please check Appendix A.
Click on: Get Software.
Please get the latest software version available that will be accessible by clicking on: Get Latest.
Click on: Accept.
There are 3 ways of getting the software:
- If you have an ST account, click on: Login/ Register.
- If you don’t have one, create one by clicking on: Login/ Register.
- If you don’t have an account and don’t want to create one, fill in the information below:
Then click: Download
Unzip the file (en.stm32cubeprg-win64-v2-14-0.zip)
Note : you may see a newer version in your case than the screenshot
above.
Right Click on SetupSTM32CubeProgrammer-win64.exe and Run as administrator.
Press Next:
Press Next:
Accept the Terms and then click on Next:
Accept the Privacy Policy and Terms of Use.
Important note: If you have a previous version, it will be overwritten if you keep the default path. So, if you want to keep your previous version you will need to install the new version in a different directory. For the workshop, be sure to use the version that we are installing here or a later one.
Once you have decided on the path then press “Next”:
Select the packs that you want to install and press “Next”:
Follow those steps to install the ST-LINK Driver:
Press Next:
Press Finish:
Wait for the install to complete and then press Next:
Press Done:
Open STM32CubeProgrammer to make sure it was installed properly.
Appendix A: STM32CubeProgrammer Installation and Opening for macOS users
MacOS users might face some issues while installing or opening the already installed application for STM32CubeProgrammer. In such cases, please refer to the ST Community thread explaining the solution for similar issue, linked below: https://community.st.com/t5/stm32cubeprogrammer-mcu/how-to-download- stm32cubeprogrammer-on-macos-monterey-12-6/m-p/143983
Please refer to the first solution posted by ST Employee.
Problem:
Listed below are some known issues which can be resolved by following the
instructions in the linked mentioned above:
-
Issue while installing the CubeProgrammer with an error “cannot be opened because the developer cannot be verified”.
-
Follow all the steps in the solution section below.
-
Cannot open the installed application. To elaborate, the application tends to pop up in the “Dock” but never open.
-
Follow from step-3 in the solution section below.
-
Solution :
-
Install CubeProgrammer using the command:
-
In case of using the .exe installer use this command:
Expect a popup during the installation indicating the following: “ en/../../../jre: No such file or directory Continue Installation? “ Press “Continue” to finish the installation of the tool. -
Copy the jre folder from the downloaded setup package
-
Open the CubeProgrammer install folder “../Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer”
-
Right click on STM32 Cube Programmer.app and select “Show Package Contents”
-
Paste the copied jre folder here.
-
After following the above installation steps, if CubeProgrammer couldn’t be launched via GUI, please try to laund it via CLI as follows,
- a. Navigate to the “../Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/”
- b. Type the command;
- c. If the jre folder exists in Cube Programmer install folder, type the following command:
-
References
- ols.st.com/s/newcase?o=ws
- Download PuTTY - a free SSH and telnet client for Windows
- Download PuTTY - a free SSH and telnet client for Windows
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>