UM11029
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
33 of 515
NXP Semiconductors
UM11029
Chapter 5: LPC84x ISP and IAP
5.5.12 Read Part Identification number
5.5.13 Read Boot code version number
5.5.14 Compare
Table 28.
USART ISP Read Part Identification command
Command
J
Input
None.
Return Code
CMD_SUCCESS followed by part identification number (see
).
Description
This command is used to read the part identification number.
Table 29.
LPC84x device ID register values
Part number
Part ID
LPC844M201JBD48
0x00008442
LPC844M201JBD64
0x00008441
LPC844M201JHI33
0x00008444
LPC844M201JHI48
0x00008442
LPC845M301JBD48 0x00008452
LPC845M301JBD64 0x00008451
LPC845M301JHI33 0x00008454
LPC845M301JHI48
0x00008453
Table 30.
USART 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 31.
USART 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 |
CODE_READ_PROTECTION_ENABLED
Description
This command is used to compare the memory contents at two locations.
Example
"M 8192 268437504 4<CR><LF>" compares 4 bytes from the RAM address 0x1000 0800 to the 4 bytes
from the flash address 0x2000.