2022-07-13 07:06 AM
Hello,
I am trying to port SBSFU example project on STM32L433RC board. I followed getting started and integration guide to integrate STM32L432KC SBSFU 1 image example project(after modification) on STM32L433RC board. Below is the image where it gets stuck and waits for New user firmware. I ran scripts from MOOC workshop. It just uses UserApp.bin to download on board. Not sure why the code is trying to ask to download new user firmware. Can anyone help in pointing out if I am doing something wrong?
Thanks!
Solved! Go to Solution.
2022-08-01 02:44 AM
Hello @HDevi.1,
the reason why you have this trace is that no valid firmware was found.
There can be several reasons for such status.
The firmware was not loaded at all, or loaded at a wrong address, or not properly signed...
Best regards
Jocelyn
2022-08-01 02:44 AM
Hello @HDevi.1,
the reason why you have this trace is that no valid firmware was found.
There can be several reasons for such status.
The firmware was not loaded at all, or loaded at a wrong address, or not properly signed...
Best regards
Jocelyn
2022-09-15 05:30 AM
The MCU needs to have a user application ("your" application). The secure boot is expected to have an application and confirm is a valid application. The fist time SBSFU ask to download an application.
Please take a look at a UM2262 and AN5056.
A UM2262 section 8, Step-by-step execution is mentioned the steps of our example:
...........................................
The following steps describe a dual-slot SBSFU scenario executed on the NUCLEOL476RG board with the default cryptographic scheme, further illustrated in Figure 17:
1. Download the SBSFU application
2. SBSFU is running: download UserApp #A
3. UserApp #A is installed
4. UserApp #A is running, download UserApp #B
5. UserApp #B is installed then running
...........................................
UM2262
AN5056