ISP-IAP API Erase Sectors (IAP)

Table 1. ISP-IAP API IAP Erase Sector(s) command
Command Erase Sector(s)
Input Command code: 52_ (decimal)

Param0: Start Sector Number

Param1: End Sector Number (should be greater than or equal to start sector number).

Param2: System Clock Frequency (CCLK) in kHz.

Status code CMD_SUCCESS |

BUSY |

SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |

INVALID_SECTOR

Result None
Description This command is used to erase a sector or multiple sectors of on-chip flash memory. The boot sector can not be erased by this command. To erase a single sector use the same "Start" and "End" sector numbers.

-->