SBSFU Application Version Definition
We are testing SBSFU on a 32L476_nucleo board, using the 2-image example project with IAR EWARM.
We can reliably build and update the application in the way suggested.
We would like the roll-back feature to work properly - we have been introducing deliberate bugs which cause application watch-dogs, and after 3 of these, SBSFU marks the downloaded application as BAD. So far, so good.
However, SBSFU refuses to roll back to the application in the other image slot because the reported version is the same as the new (buggy) application (in this case, 1).
From the readme file in the application section of the project:
3. Pressing 3 allows to call user defined services running in Secure Engine.
As an example, SE_APP_GetActiveFwInfo service is called in order to display the firmware informationlocated in the protected area such as version and size.What is the correct way to define the application firmware version so that the secure engine can read it and decide if a roll-back is possible?
#sbsfu
