ISP-IAP API Prepare sectors for write operation (IAP)

This command makes flash write/erase operation a two step process.

Table 1. ISP-IAP API IAP Prepare sector(s) for write operation command
Command Prepare sector(s) for write operation
Input Command code: 50_ (decimal)

Param0: Start Sector Number

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

Status code CMD_SUCCESS |

BUSY |

INVALID_SECTOR

Result None
Description This command must be executed before executing "Copy RAM to flash" or "Erase Sector(s)" command. Successful execution of the "Copy RAM to flash" or "Erase Sector(s)" command causes relevant sectors to be protected again. The boot sector can not be prepared by this command. To prepare a single sector use the same "Start" and "End" sector numbers.

-->