UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
75 of 1441
NXP Semiconductors
UM10503
Chapter 6: LPC43xx/LPC43Sxx flash programming/ISP and IAP
6.7 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.
6.7.1 Unlock <Unlock code>
Table 34.
ISP command summary
ISP Command
Usage
Flashless
parts
Parts with
on-chip
flash
Reference
Unlock
U <Unlock Code>
yes
yes
Set Baud Rate
B <Baud Rate> <stop bit>
yes
yes
Echo
A <setting>
yes
yes
Write to RAM
W <start address> <number of bytes>
yes
yes
Read Memory
R <address> <number of bytes>
yes
yes
Prepare sectors for write
operation
P <start sector number> <end sector number> <flash
bank>
no
yes
Copy RAM to Flash
C <flash address> <RAM address> <number of bytes> no
yes
Go
G <address> <Mode>
yes
yes
Erase sectors
E <start sector number> <end sector number> <flash
bank>
no
yes
Blank check sectors
I <start sector number> <end sector number> <flash
bank>
no
yes
Read Part ID
J
yes
yes
Read Boot Code version K
yes
yes
Read serial number
N
yes
yes
Compare
M <address1> <address2> <number of bytes>
no
yes
Set active boot flash
bank
S <flash bank>
no
yes
Table 35.
ISP Unlock command
Command
U
Input
Unlock code: 23130
10
Return Code
CMD_SUCCESS |
INVALID_CODE |
PARAM_ERROR
Description
This command is used to unlock Flash Write, Erase, and Go commands.
Example
"U 23130<CR><LF>" unlocks the Flash Write/Erase & Go commands.