Note: TI ships the devices with a blank CCFG sector but
possibly with bit patterns from flash production test still in the main
sectors.
- Perform SWD connect and reset
device (through SWD reset or pin reset) to enter SACI
- Perform SACI_CMD_FLASH_ERASE_CHIP
command
- Program an image using a sequence
of SACI_CMD_FLASH_PROG_MAIN_SECTOR commands and one or more
SACI_CMD_FLASH_PROG_MAIN_PIPELINED commands
- Optionally verify that
image is correctly programmed using one or more
SACI_CMD_FLASH_VERIFY_MAIN_SECTORS(crc32_calculated_or_extracted_from_image)
- Program in CCFG sector using
SACI_CMD_FLASH_PROG_CCFG_SECTOR. If user record is in use either:
- Program the user record
now as part of SACI_CMD_FLASH_PROG_CCFG_SECTOR command
- Program the user record
in separate step using SACI_CMD_FLASH_PROG_CCFG_USER_REC command
- Leave the user record
unprogrammed for later commissioning step
- Optionally verify CCFG
sector using SACI_CMD_FLASH_VERIFY_CCFG_SECTOR(identity check)
- Device can now be reset with
SACI_CMD_BLDR_APP_RESET_DEVICE after which the device boots into application or
any configured bootloader