EasyManua.ls Logo

NXP Semiconductors LPC1768 - Read Boot Code Version Number; Read Device Serial Number; Compare <Address1> <Address2> <No of Bytes

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 630 of 841
NXP Semiconductors
UM10360
Chapter 32: LPC176x/5x Flash memory interface and programming
32.7.12 Read Boot Code version number
32.7.13 Read device serial number
32.7.14 Compare <address1> <address2> <no of bytes>
Table 584. 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 585. ISP Read device serial number command
Command N
Input None.
Return Code CMD_SUCCESS followed by the device serial number in 4 decimal ASCII groups,
each representing a 32-bit value.
Description This command is used to read the device serial number. The serial number may be
used to uniquely identify a single unit among all LPC176x/5x devices.
Table 586. 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. This
command is blocked when any level of code read protection is enabled.
Example "M 8192 268435968 4<CR><LF>" compares 4 bytes from the RAM address
0x1000 0200 to the 4 bytes from the flash address 0x2000.

Table of Contents

Other manuals for NXP Semiconductors LPC1768

Related product manuals