Application Project

Secure Boot Implementation

Secure Firmware Update Implementation

4.First step is to compile the SECorebin project by right click on the project then Clean Project and subsequently Build Project


The firmware binary for the SBSFU project can be found from the below folder. The BASE_DIR could vary dependending on where you installed the x-cube-aws-2.0 source navigate until ..\BootLoader_STSAFE\ 2_Images_SBSFU\STM32CubeIDE\B-L4S5I-IOT01_2_Images_SBSFU\Debug
Click Open–>Start Programming to download the firmware to the target.
Confirm the firmware download is successful, before proceeding to the next step.
Now we are going to verify the results
Once connected, reset the board (through the black button) and observe the output onto your screen
Secure Engine is initialized but afterwards as there is not yet an application (Step 3) no valid firmware image is found by the SBSFU which is normal
Once the board is connected to the PC, in a serial terminal emulator, locate the COM port and configure it: 8N1, 115200 bauds, no HW flow control Set the line endings to LF or CR-LF (Transmit) and LF (receive). Reset the board (thanks to the IDE, STM32CubeProgrammer, or the black reset button)