UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
408 of 523
NXP Semiconductors
UM10462
Chapter 20: LPC11U3x/2x/1x Flash programming firmware
20.13.12 Read Boot code version number
20.13.13 Compare <address1> <address2> <no of bytes>
LPC11U34FBD48/311
0x0003 D440
LPC11U34FHN33/421
0x0001 CC40
LPC11U34FBD48/421
0x0001 CC40
LPC11U35FHN33/401
0x0001 BC40
LPC11U35FBD48/401
0x0001 BC40
LPC11U35FBD64/401
0x0001 BC40
LPC11U35FHI33/501
0x0000 BC40
LPC11U35FET48/501
0x0000 BC40
LPC11U36FBD48/401
0x0001 9C40
LPC11U36FBD64/401
0x0001 9C40
LPC11U37FBD48/401
0x0001 7C40
LPC11U37HFBD64/401
0x0000 7C44
LPC11U37FBD64/501
0x0000 7C40
Table 377. LPC11U3x/2x/1x device identification numbers
…continued
Device
Hex coding
Table 378. 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 379. 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.
Compare result may not be correct when source or destination address
contains any of the first 512 bytes starting from address zero. First 512 bytes
are re-mapped to boot ROM
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.