|
| 1 | +------- |
| 2 | +STM32U5 |
| 3 | +------- |
| 4 | + |
| 5 | +TF-M is supported on STM32U5 family |
| 6 | + |
| 7 | +https://www.st.com/en/microcontrollers-microprocessors/stm32u5-series.html |
| 8 | + |
| 9 | + |
| 10 | +Directory 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 | + |
| 29 | +Specific Software Requirements |
| 30 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 31 | + |
| 32 | +STM32_Programmer_CLI is required.(see https://www.st.com/en/development-tools/stm32cubeprog.html) |
| 33 | + |
| 34 | + |
| 35 | + |
1 | 36 | B_U585I_IOT02A
|
2 | 37 | ^^^^^^^^^^^^^^^
|
3 | 38 |
|
@@ -75,6 +110,25 @@ the attestation service in Isolation Level 1 on Linux.
|
75 | 110 | ninja -C . -j 8
|
76 | 111 |
|
77 | 112 |
|
| 113 | +Write software on target |
| 114 | +^^^^^^^^^^^^^^^^^^^^^^^^ |
| 115 | +In secure build folder directory api_ns: |
| 116 | + |
| 117 | + - ``postbuild.sh``: Updates regression.sh and TFM_UPDATE.sh scripts according to flash_layout.h |
| 118 | + - ``regression.sh``: Sets platform option bytes config and erase platform |
| 119 | + - ``TFM_UPDATE.sh``: Writes bl2, secure, and non secure image in target |
| 120 | + |
| 121 | + |
| 122 | +Connect board to USB and Execute the 3 scripts in following order to update platform: |
| 123 | +postbuild.sh, regression.sh, TFM_UPDATE.sh |
| 124 | + |
| 125 | +The virtual com port from STLINK is used for TFM log and serial port configuration should be: |
| 126 | + |
| 127 | + - Baud rate = 115200 |
| 128 | + - Data = 8 bits |
| 129 | + - Parity = none |
| 130 | + - Stop = 1 bit |
| 131 | + - Flow control = none |
78 | 132 |
|
79 | 133 | -------------
|
80 | 134 |
|
|
0 commit comments