blob: 97c34f9950e6805e0e46775fb16d21eb5a45d2b2 [file] [log] [blame]
Michel Jaouen9f8bd442021-08-10 14:26:45 +02001-------
2STM32U5
3-------
4
5TF-M is supported on STM32U5 family
6
7https://www.st.com/en/microcontrollers-microprocessors/stm32u5-series.html
8
9
10Directory content
11^^^^^^^^^^^^^^^^^
12
13- stm/common/stm32u5xx/stm32u5xx_hal:
14 Content from https://github.com/STMicroelectronics/stm32u5xx_hal_driver.git
15
16- stm/common/stm32u5xx/Device:
17 Content from https://github.com/STMicroelectronics/cmsis_device_u5.git
18
19- stm/common/stm32u5xx/bl2:
20 stm32l5xx bl2 code specific from https://github.com/STMicroelectronics/STM32CubeU5.git (Projects/B-U585I-IOT02A/Applications/TFM)
21
22- stm/common/stm32u5xx/secure:
23 stm32l5xx Secure porting adaptation from https://github.com/STMicroelectronics/STM32CubeU5.git (Projects/B-U585I-IOT02A/Applications/TFM)
24
25- stm/common/stm32u5xx/boards:
26 Adaptation for stm32 board using stm32l5xx soc from https://github.com/STMicroelectronics/STM32CubeU5.git (Projects/B-U585I-IOT02A/Applications/TFM)
27
28
29Specific Software Requirements
30^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31
32STM32_Programmer_CLI is required.(see https://www.st.com/en/development-tools/stm32cubeprog.html)
33
34
35Write software on target
36^^^^^^^^^^^^^^^^^^^^^^^^
37In build folder:
38
39 - ``postbuild.sh``: Updates regression.sh and TFM_UPDATE.sh scripts according to flash_layout.h
40 - ``regression.sh``: Sets platform option bytes config and erase platform
41 - ``TFM_UPDATE.sh``: Writes bl2, secure, and non secure image in target
42
43
44Connect board to USB and Execute the 3 scripts in following order to update platform:
45postbuild.sh, regression.sh, TFM_UPDATE.sh
46
47The virtual com port from STLINK is used for TFM log and serial port configuration should be:
48
49 - Baud rate = 115200
50 - Data = 8 bits
51 - Parity = none
52 - Stop = 1 bit
53 - Flow control = none
54
55-------------
56
57*Copyright (c) 2021 STMicroelectronics. All rights reserved.*
58*SPDX-License-Identifier: BSD-3-Clause*