STM32U5 Trusted Firmware M tests firmware package example.
For this example the kernel component in the firmware package is itself a ZIP archive, containing various binaries and `load.txt` file describing their location in memory:
name:tfm_s_init.bin load:0xc024000
name:tfm_ns_init.bin load:0xc052000
name:loader.bin load:0xc1fa000
name:TFM_SBSFU_Boot.bin load:0xc002000
Creating your device
Log in to AVH with your Arm user account.
https://avh.arm.com/ If you do not have or need to create an Arm account register at https://developer.arm.com/When logged in you land on the AVH Devices page. Click "CREATE DEVICE".
Click on the "STM32U5 IoT Discovery Kit" to select it. Then click "NEXT".
Please note you require 1 free CPU core to build this device or it will be disabled.In this next step, you'll see a list of pre-configured examples/stock firmware or you can upload your own custom firmware. In this example, we will use the selection
STM32U5-TFM (1.1.0)
in the stock firmware section.Click "SELECT".
In the confirmation screen, click "CREATE DEVICE" using the default name and the advance boot options will be checked by default.
In the advanced boot options, we will just use the default. Click "CREATE DEVICE".
The device will then be created. It takes a few moments...
Your STM32U5 IoT Discovery Kit is now ready to go!
Running the example
Click on "CONSOLE".
There is a console menu to run various tests using Trusted Firmware. For example type
2
(Test TFM) followed byreturn
.
Note: You may seeInvalid Number !
also menus printed twice this is because the device is interpreting thereturn
keypress as a number. Please ignore this.Then type
0
(`TFM - Test All`) followed byreturn
. to start tests.
Note: You may need to scroll up to see all of the menu.You will be able to observe the result in the Console by scrolling up.
Next steps
Other STM32U5 IoT Discovery Kit examples;
STM32CubeU5 IOT_HTTP_WebServer (This is the STM32U5 IoT Discovery Kit Quickstart guide)