UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 695 o f 792
NXP Semiconductors UM10237
Chapter 30: LPC24XX Flash memory programming firmware
10.6 Read Boot code version number
10.7 Compare <address1> <address2> <no of bytes>
10.8 Reinvoke ISP
Table 627. IAP Read Bo ot Code version number command
Command Read boot code version number
Input Command code: 5510
Parameters: None
Return Code CMD_SUCCESS |
Result Result0: 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 628. I AP Compare command
Command Compare
Input Command code: 5610
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 629. Reinv ok e ISP
Command Compare
Input Command code: 5710