ISP-IAP API Prepare sectors for write operation ISP

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

Table 1. ISP-IAP API UART ISP Prepare sector(s) for write operation command
Command P
Input Start Sector Number

End Sector Number: Should be greater than or equal to start sector number.

Return Code CMD_SUCCESS |




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 block can not be prepared by this command. To prepare a single sector use the same "Start" and "End" sector numbers.
Example "P 0 0<CR><LF>" prepares the flash sector 0.