Hi,
I want to understand better the register layout for the bootloader scratch register. The documentation says:
5-4: current slot number
3-0: Boot slot status flag
Then it says:
-
The current slot number is
0for slot A and1for slot B. -
The boot slot status flag uses bits to indicate the following slot statuses:
-
0: valid -
1: invalid
For example, 0001b means slot A is invalid.
-
Why is there 2 bits for the current slot number and 4 for the boot slot status. Is it for redundancy? So say I want to set the current slot number to be slot A or B, what value should be set in bit 5-4?
Can you explain the example, in particular where is slot B? bit 1?
Thanks
- See documentation: