EasyManua.ls Logo

NXP Semiconductors LPC1768 - Read Device Serial Number; Compare <Address1> <Address2> <No of Bytes; Re-Invoke ISP

NXP Semiconductors LPC1768
841 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 637 of 841
NXP Semiconductors
UM10360
Chapter 32: LPC176x/5x Flash memory interface and programming
32.8.7 Read device serial number
32.8.8 Compare <address1> <address2> <no of bytes>
32.8.9 Re-invoke ISP
Table 595. IAP Read device serial number command
Command Read device serial number
Input Command code: 58
(decimal)
Parameters: None
Return Code CMD_SUCCESS |
Result
Result0: First 32-bit word of Device Identification Number (at the lowest address)
Result1: Second 32-bit word of Device Identification Number
Result2: Third 32-bit word of Device Identification Number
Result3: Fourth 32-bit word of Device Identification Number
Description This command is used to read the device identification number. The serial number
may be used to uniquely identify a single unit among all LPC176x/5x devices.
Table 596. IAP Compare command
Command Compare
Input Command code: 56
(decimal)
Param0(DST): Starting flash or RAM address of data bytes to be compared. This
address should be a word boundary.
Param1(SRC): Starting flash or RAM address of data bytes to be compared. This
address should be a word boundary.
Param2: Number of bytes to be compared; should be a multiple of 4.
Return Code CMD_SUCCESS |
COMPARE_ERROR |
COUNT_ERROR (Byte count is not a multiple of 4) |
ADDR_ERROR |
ADDR_NOT_MAPPED
Result
Result0: Offset of the first mismatch if the Status Code is COMPARE_ERROR.
Description This command is used to compare the memory contents at two locations.
The result may not be correct when the source or destination includes any
of the first 64 bytes starting from address zero. The first 64 bytes can be
re-mapped to RAM.
Table 597. Re-invoke ISP
Command Compare
Input Command code: 57
(decimal)

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Related product manuals