Flash Memory System and Programming 270 May 03, 2004
Philips Semiconductors Preliminary User Manual
LPC2119/2129/2194/2292/2294ARM-based Microcontroller
ISP Commands
The following commands are accepted by the ISP command handler. Detailed return codes are supported for each command.
The command handler sends the return code INVALID_COMMAND when an undefined command is received. Commands and
return codes are in ASCII format.
CMD_SUCCESS is sent by ISP command handler only when received ISP command has been completely executed and the
new ISP command can be given by the host. Exceptions from this rule are "Set Baud Rate", "Write to RAM", "Read Memory",
and "Go" commands.
Unlock <Unlock code>
Table 198: ISP Command Summary
ISP Command Usage Described in
Unlock U <Unlock Code> Table 199
Set Baud Rate B <Baud Rate> <stop bit> Table 200
Echo A <setting> Table 202
Write to RAM W <start address> <number of bytes> Table 203
Read Memory R <address> <number of bytes> Table 204
Prepare sector(s) for write operation P <start sector number> <end sector number> Table 205
Copy RAM to Flash C <Flash address> <RAM address> <number of bytes> Table 206
Go G <address> <Mode> Table 207
Erase sector(s) E <start sector number> <end sector number> Table 208
Blank check sector(s) I <start sector number> <end sector number> Table 209
Read Part ID J Table 210
Read Boot code version K Table 211
Compare M <address1> <address2> <number of bytes> Table 212
Table 199: ISP Unlock command description
Command U
Input Unlock code: 23130
Return Code
CMD_SUCCESS |
INVALID_CODE |
PARAM_ERROR
Description This command is used to unlock flash Write/Erase & Go commands.
Example "U 23130<CR><LF>" unlocks the flash Write/Erase & Go commands.