4 days ago — PC with Windows 10 or upper. • USB Type C cable. • STM32H573I-DK will be delivered by ST during the Workshop. • SW Requirements : • STM32CubeMX version 6.9.2 ...
STM32H5 Security workshop Tools installation Tomas Team Tools requirements · HW Requirements : · PC with Windows 10 or upper · USB Type C cable · STM32H573I-DK will be delivered by ST during the Workshop. · SW Requirements : · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) 2 Tools installation : STM32CubeMX · STM32CubeMX version 6.9.2 or upper · Download and install the package. 3 · SW Requirements : · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 4 Tools installation : STM32H5Cube Launch STM32CubeMX and Login 1 5 Tools installation : STM32H5Cube Enter your ST account credential or create an account 2 1 6 Issue with space in repository path... xxxxxx · By default the repository is : C:\Users\<user name>lefrere\STM32Cube\Repository\ · If you have space in you <user name>, you will have issue with Secure Manager. · Please modify the Repository folder to avoid space. If not possible, go on installation and as workaround once installed ( slide 12) copy STM32Cube_FW_H5_V1.1.1 to a location without space For example : C:\Training\STM32H5_Workshop 7 Tools installation : STM32H5Cube Select Help->Manage embedded software package 1 8 Tools installation : STM32H5Cube Select Help->Manage embedded software package 1 9 Tools installation : STM32H5Cube Select Help->Manage embedded software package 1 3 2 10 Tools installation : STM32H5Cube Select Help->Manage embedded software package 1 3 2 4 11 Tools installation : STM32H5Cube Package is installed 12 · SW Requirements: · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 13 Tools installation : Secure Manager Request the secure manager · Available here https://www.st.com/en/embedded-software/stm32trustee-sm.html · Request software and fill the form 14 Tools installation : Secure Manager Fill the form 15 Tools installation : Secure Manager Check your mail box ! You will receive a download link within 24h 16 Tools installation : Secure Manager Content of en.x-cube-sec-m-h5-1.0.0.zip 17 Tools installation : Secure Manager Unzip en.x-cube-sec-m-h5-1.0.0.zip on STM32Cube_FW_H5_V1.1.1 xxxx COPY 18 · SW Requirements: · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 19 Tools installation : STM32CubeIDE · STM32CubeIDE version 1.13.2 or upper · Download and install the package. · STM32CubeIDE installation guide 20 · SW Requirements: · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 21 Tools installation : STM32CubeProgrammer · STM32CubeProgrammer version 2.14.0 or upper · Remark : please keep the default path installation if possible. 22 Tools installation : STM32CubeProgrammer · Install all the components (default selection) Tools installation : STM32CubeProgrammer · If you haven't installed STM32CubeProgrammer in the default folder : C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer · Please edit the file : C:\Users\<your_login>\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1\Projec ts\STM32H573I-DK\ROT_Provisioning\env.bat 24 Tools installation : STM32CubeProgrammer Update those variable with your installation path 25 Tools installation : STM32CubeProgrammer · If you haven't installed STM32CubeProgrammer in the default folder : C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer · Please edit the file : C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\plugins\projectmanager\e nvBat.ftl Update this variable with your installation path 26 · SW Requirements: · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 27 Tool installation : Material for hands-on · Download the archive : STM32H5_Security_WS_V1.0.zip available thanks this link: Material for hands-on https://drive.google.com/file/d/18Qv_AIPip1u_uQBaQZE3_j8byiplT8Rz/view?usp=sh aring · Unzip this archive on your local drive. Suggested path : "C:\Training\STM32H5_Security_WS" · Expected result : 28 · SW Requirement : · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 29 Tools installation : Terminal application · Terminal application used in this workshop is TeraTerm · You should be able to get TeraTerm from here · Get the zip file and extract it to your preferred directory · For convenience you can change some default settings · To get default baudrate to 115200, you can edit the TERATERM.INI file and change the line BaudRate=9600 to BaudRate=115200 · To get popup window selecting com port by default, change Port=tcpip to Port=Serial in the same configuration file. 30 · SW Requirement : · STM32CubeMX version 6.9.2 or upper · STM32CubeH5 version 1.1.1 · STM32TRUSTEE-SM version 1.0.0 · STM32CubeIDE version 1.13.2 or upper · STM32CubeProgrammer version 2.14.0 or upper · Material for hands-on · Terminal application (TeraTerm) Tools installation 31 Sanity check Sanity check. · Please check if you can find the file : SecureManagerPackage_PROD_v1.0.0.ssfi at this location : C:\Users\<your_login>\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1\Proj ects\STM32H573I-DK\ROT_Provisioning\SM\Binary\ · Please compile the CubeIDE project SMAK_Appli : C:\Users\<your_login>\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1\Proj ects\STM32H573I-DK\Applications\ROT\SMAK_Appli\STM32CubeIDE If you are not familiar with STM32CubeIDE follows the instruction in the next slides. 33 Import SMAK application in the IDE 1 2 34 Import SMAK application in the STM32CubeIDE 1 C:\Users\<your_login>\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573IDK\Applications\ROT\SMAK_Appli\STM32CubeIDE 2 35 Import SMAK application in the STM32CubeIDE 36 Compile SMAK application with STM32CubeIDE 2 1 37 Issue with STM32CubeIDE 1.14.0 · If you are using STM32CubeIDE 1.14.0 38 Issue with STM32CubeIDE 1.14.0 · To workaround this bug copy the file : C:\Users\<your_login>\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573IDK\Applications\ROT\SMAK_Appli\EWARM\postbuild.bat · To this folder ( the current postbuild.bat will be replace) C:\Users\<your_login>\STM32Cube\Repository\STM32Cube_FW_H5_V1.1.1\Projects\STM32H573IDK\Applications\ROT\SMAK_Appli\STM32CubeIDE\ 39 Issue with STM32CubeIDE 1.14.0 · Then in project properties 2 1 3 40 Issue with STM32CubeIDE 1.14.0 1 2 3 4 Change the script extension from prebuild.sh to prebuild.bat 5 Change the script extension from postbuild.sh to postbuild.bat 6 41 Congratulation ! Sanity check done. You're ready... We would be please to meet you at the STM32H5 Security workshop ! 42 Find out more at www.st.com © STMicroelectronics - All rights reserved. ST logo is a trademark or a registered trademark of STMicroelectronics International NV or its affiliates in the EU and/or other countries. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or service names are the property of their respective owners.Microsoft PowerPoint for Microsoft 365