I'm looking at the secure boot in the sdk for nrf52840 and have noticed that nrf_bootloader_flash_protect uses the ACL to protect the MBR and the bootloader from being overwritten. Next, during a DFU, the bootloader is overwritten, I think by the MBR.
I have two questions:
- How does the MBR overwrite the bootloader even while it is protected by the ACL?
- More generally, what does the ACL protect from, is it the SoC Library only?
- What prevents the MBR prevent itself being used to overwrite the bootloader, bypassing the ACL?
Thanks for any help