Isp commands, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual
Page 683
![background image](/manuals/190592/683/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
683 of 792
NXP Semiconductors
UM10237
Chapter 30: LPC24XX Flash memory programming firmware
In case a CRP mode is enabled and access to the chip is allowed via the ISP, an
unsupoorted or restricted ISP command will be terminated with return code
CODE_READ_PROTECTION_ENABLED.
9.
ISP commands
The following commands are accepted by the ISP command handler. Detailed status
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 602. Code Read Protection hardware/software interaction
CRP option
User Code
Valid
P2.10 pin at
reset
JTAG enabled LPC2400
enters ISP
mode
partial Flash
Update in ISP
mode
No
No
X
Yes
Yes
Yes
No
Yes
High
Yes
No
NA
No
Yes
Low
Yes
Yes
Yes
CRP1
Yes
High
No
No
NA
CRP1
Yes
Low
No
Yes
Yes
CRP2
Yes
High
No
No
NA
CRP2
Yes
Low
No
Yes
No
CRP3
Yes
x
No
No
NA
CRP1
No
x
No
Yes
Yes
CRP2
No
x
No
Yes
No
CRP3
No
x
No
Yes
No
Table 603. ISP command summary
ISP Command
Usage
Described in
Unlock
U
Set Baud Rate
B
Echo
A
Write to RAM
W
Read Memory
R
Prepare sector(s) for
write operation
P
Copy RAM to Flash
C
Go
G
Erase sector(s)
E
Blank check sector(s)
I