
UM10800
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1.2 — 5 October 2016
378 of 487
NXP Semiconductors
UM10800
Chapter 25: LPC82x Flash In-System and In-Application Programming
25.6.1.11 Read Part Identification number
25.6.1.12 Read Boot code version number
25.6.1.13 Compare <address1> <address2> <no of bytes>
Table 323. UART ISP Read Part Identification command
Command
J
Input
None.
Return Code
CMD_SUCCESS followed by part identification number in ASCII (see
Description
This command is used to read the part identification number.
Table 324. Part identification numbers
Device
Hex coding
LPC824M201JHI33
0x0000 8241
LPC822M101JHI33
0x0000 8221
LPC824M201JDH20
0x0000 8242
LPC822M101JDH20
0x0000 8222
Table 325. UART ISP Read Boot Code version number command
Command
K
Input
None
Return Code
CMD_SUCCESS followed by 2 bytes of boot code version number in ASCII format.
It is to be interpreted as <byte1(Major)>.<byte0(Minor)>.
Description
This command is used to read the boot code version number.
Table 326. UART ISP Compare command
Command
M
Input
Address1 (DST):
Starting flash or RAM address of data bytes to be compared.
This address should be a word boundary.
Address2 (SRC):
Starting flash or RAM address of data bytes to be compared.
This address should be a word boundary.
Number of Bytes:
Number of bytes to be compared; should be a multiple of 4.
Return Code
CMD_SUCCESS | (Source and destination data are equal)
COMPARE_ERROR | (Followed by the offset of first mismatch)
COUNT_ERROR (Byte count is not a multiple of 4) |
ADDR_ERROR |
ADDR_NOT_MAPPED |
PARAM_ERROR
Description
This command is used to compare the memory contents at two locations.
Example
"M 8192 268468224 4<CR><LF>" compares 4 bytes from the RAM address
0x1000 8000 to the 4 bytes from the flash address 0x2000.