UM11029
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
27 of 515
NXP Semiconductors
UM11029
Chapter 5: LPC84x ISP and IAP
5.5 USART 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.
lists the supported USART ISP commands for each CRP level.
Table 15.
USART ISP command summary
ISP Command
Usage
Section
Unlock
U <Unlock Code>
Set Baud Rate
B <Baud Rate> <stop bit>
Echo
A <setting>
Write to RAM
W <start address> <number of bytes>
Read Memory
R <address> <number of bytes>
Prepare sectors for write operation
P <start sector number> <end sector number>
Copy RAM to flash
C <Flash address> <RAM address> <number of bytes>
Go
G <address> <Mode>
Erase sector(s)
E <start sector number> <end sector number>
Erase page(s)
X <start page number> <end page number>
Blank check sector(s)
I <start sector number> <end sector number>
Read Part ID
J
Read Boot code version
K
Compare
M <address1> <address2> <number of bytes>
ReadUID
N
Read CRC checksum
S <address> <number of bytes>
Read flash signature
Z
Read/Write FAIM Page
O
Table 16.
ISP commands allowed for different CRP levels
ISP command
CRP1
CRP2
CRP3 (no entry in
ISP mode allowed)
Unlock
yes
yes
n/a
Set Baud Rate
yes
yes
n/a
Echo
yes
yes
n/a
Write to RAM
yes; above 0x1000 0600 only
no
n/a
Read Memory
no
no
n/a
Prepare sectors for write operation yes
yes
n/a
Copy RAM to flash
yes; not to sector 0
no
n/a
Go
no
no
n/a