Note: Requires that CCFG.permissions.allowFlashProgram ==
ALLOWED and that sectors in question are not write/erase protected by
CCFG.flashProt.writeEraseProt
- Perform SWD connect and reset
device (through SWD reset or pin reset) to enter SACI
- Program in ancillary data using
one or more SACI_CMD_FLASH_PROG_MAIN_SECTOR or
SACI_CMD_FLASH_PROG_MAIN_PIPELINED commands
- Optionally verify
ancillary data that covers whole sectors through
SACI_CMD_FLASH_VERIFY_MAIN_SECTORS(crc32_calculated_over_ancillary_data)
- Device can now be reset/rebooted
with SACI_CMD_BLDR_APP_RESET_DEVICE after which the device boots into
application or any configured bootloader