OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 310

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
20.7 ISP commands
UM10441
User manual
20.7.1 Unlock <Unlock code>
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 the 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 289. ISP command summary
Table 290. ISP Unlock command
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 K
Compare
ReadUID
Command
Input
Return Code
Description
Example
U
Unlock code: 23130 (decimal)
CMD_SUCCESS |
INVALID_CODE |
PARAM_ERROR
This command is used to unlock Flash Write, Erase, and Go commands.
"U 23130<CR><LF>" unlocks the Flash Write/Erase, and Go commands.
All information provided in this document is subject to legal disclaimers.
Rev. 1.1 — 10 March 2011
Usage
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
M <address1> <address2> <number of bytes>
N
Chapter 20: LPC122x Flash ISP/IAP
UM10441
© NXP B.V. 2011. All rights reserved.
Described in
Table 290
Table 291
Table 292
Table 293
Table 294
Table 295
Table 296
Table 297
Table 298
Table 299
Table 300
Table 302
Table 303
Table 304
310 of 442

Related parts for OM13008,598