
UM10413
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 1 — 16 December 2011
225 of 268
NXP Semiconductors
UM10413
MPT612 User manual
In case a CRP mode is enabled and access to the chip is allowed via the ISP, an
unsupported or restricted ISP command is terminated with return code
CODE_READ_PROTECTION_ENABLED.
25.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 the ISP command handler only when the received ISP
command has been executed and the new ISP command can be given by the host.
Exceptions from this rule are commands: Set Baud Rate, Write to RAM, Read Memory,
and Go commands.
25.9.1 Unlock <unlock code>
Table 214. ISP command summary
ISP Command
Usage
Described in
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 sector(s) 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>
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>
Table 215. ISP Unlock command
Command
U
Input
Unlock code: 23130
10
Return Code
CMD_SUCCESS |
INVALID_CODE |
PARAM_ERROR
Description
this command unlocks flash Write, Erase, and Go commands
Example
"U 23130<CR><LF>" unlocks the flash Write, Erase and Go commands