
UM10413
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 1 — 16 December 2011
229 of 268
NXP Semiconductors
UM10413
MPT612 User manual
25.9.8 Go <address> <mode>
25.9.9 Erase sector(s) <start sector number> <end sector number>
Table 223. ISP Go command
Command
G
Input
address:
flash or RAM address from which the code execution is to start. This
address must be on a word boundary.
mode:
T (execute program in Thumb mode) | A (execute program in ARM mode)
Return Code
CMD_SUCCESS |
ADDR_ERROR |
ADDR_NOT_MAPPED |
CMD_LOCKED |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED
Description
executes a program residing in RAM or flash memory. It cannot be possible to
return to the ISP command handler once this command is successfully executed.
Blocked when code read protection is enabled.
Example
"G 0 A<CR><LF>" branches to address 0x0000 0000 in ARM mode
Table 224. ISP Erase sector command
Command
E
Input
start sector number
end sector number:
Must be greater than or equal to start sector number
Return Code
CMD_SUCCESS |
BUSY |
INVALID_SECTOR |
SECTOR_NOT_PREPARED_FOR_WRITE_OPERATION |
CMD_LOCKED |
PARAM_ERROR |
CODE_READ_PROTECTION_ENABLED
Description
erases one or more sector(s) of on-chip flash memory. The boot block cannot be
erased using this command. This command only allows erasure of all user sectors
when code read protection is enabled.
Example
"E 2 3<CR><LF>" erases flash sectors 2 and 3