Is it possible to switch between slots(active slot) in SBSFU example
I converted code from one of the example from sbsfu for stwinkt1 board.This converted example is for 2 image and working fine on serial port.
As far as i get for 2 image example configuration will like,
SBSFU s;ot+1 active slot + 1 DWL slot + swap area.
When i download new firmware,Encrypted image is downloaded in DWL slot and on next reset it decrypted and swapped with active slot image so after installing new firmware result will be like,
before swapping,
Active slot-image(decrypted) 1.0.0
DWL slot -image(encrypted) 1.0.1
after swapping,
Active slot-image(decrypted) 1.0.1
DWL slot -image(decrypted) 1.0.0
is this understanding correct?
can i roll back to older version once new one is installed(like from 1.0.1 to 1.0.0)?
can i choose any slot as active firmware image?
Second question is ,In stm32 based project is partial firmware update is possible.
I mean if we consider stm32 based project than most of the time once controller is finalized than hal layer and lower layer will hardly changed and most of the change will be in application layer.
So is there any example available for ,How to make project compatible for partial update with sbsfu?
