Hi, I am curious to understand that switching operations in RA2A1 MCUboot is Atomic. However, what happens if it fails during the exchange operation in MCUboot? If it isn’t atomic programming. Thanks and Appreciate for sharing your knowledge. Best regards, Alex Thomas
Hi,
I am curious to understand that switching operations in RA2A1 MCUboot is Atomic.
However, what happens if it fails during the exchange operation in MCUboot?
If it isn’t atomic programming.
Thanks and Appreciate for sharing your knowledge.
Best regards,
Alex Thomas
Read less
Hi Alex, The exchange mode for MCU boot uses the scratch area as an intermediate area in order to complete the exchange of the 2 images. The process of switching is done like below. However, then no information is lost, If a power failure occurs. The scratch area must be large enough to store the laRead more
Hi Alex,
The exchange mode for MCU boot uses the scratch area as an intermediate area in order to complete the exchange of the 2 images. The process of switching is done like below. However, then no information is lost, If a power failure occurs.
The scratch area must be large enough to store the largest sector that’s going to be shifted. For RA2 MCUs, the scratch area should be set up to 0x800 when exchange mode is used.
Regards
Nidhi Singh
See less