Philips LPC2119 User Manual page 234

Arm-based microcontroller
Hide thumbs Also See for LPC2119:
Table of Contents

Advertisement

Philips Semiconductors
ARM-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.
Table 197: ISP Command Summary
ISP Command
Unlock
Set Baud Rate
Echo
Write to RAM
Read Memory
Prepare sector(s) for write operation
Copy RAM to Flash
Go
Erase sector(s)
Blank check sector(s)
Read Part ID
Read Boot code version
Compare
Unlock <Unlock code>
Table 198: ISP Unlock command description
Command
Input
Return Code
Description
Example
Flash Memory System and Programming
U <Unlock Code>
B <Baud Rate> <stop bit>
A <setting>
W <start address> <number of bytes>
R <address> <number of bytes>
P <start sector number> <end sector number>
C <Flash address> <RAM address> <number of bytes>
G <address> <Mode>
E <start sector number> <end sector number>
I <start sector number> <end sector number>
J
K
M <address1> <address2> <number of bytes>
U
Unlock code: 23130
CMD_SUCCESS |
INVALID_CODE |
PARAM_ERROR
This command is used to unlock flash Write/Erase & Go commands.
"U 23130<CR><LF>" unlocks the flash Write/Erase & Go commands.
LPC2119/2129/2292/2294
Usage
234
Preliminary User Manual
Described in
Table 198
Table 199
Table 201
Table 202
Table 203
Table 204
Table 205
Table 206
Table 207
Table 208
Table 209
Table 210
Table 211
January 08, 2004

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2292Lpc2294

Table of Contents