30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 27: LPC2300 Flash memory<br />

Table 498. LPC2300 part Identification numbers<br />

Device ASCII/dec coding Hex coding<br />

LPC2364 100924162 0x0603 FB02<br />

LPC2366 100924195 0x0603 FB23<br />

LPC2368 100924197 0x0603 FB25<br />

LPC2378 117702437 0x0703 FF25<br />

8.12 Read Boot code version number<br />

Table 499. ISP Read Boot Code version number command<br />

Command K<br />

Input None<br />

Return Code CMD_SUCCESS followed by 2 bytes of boot code version number in ASCII format.<br />

It is to be interpreted as ..<br />

Description This command is used to read the boot code version number.<br />

8.13 Compare <br />

Table 500. ISP Compare command<br />

Command M<br />

Input Address1 (DST): Starting flash or RAM address of data bytes to be compared.<br />

This address should be a word boundary.<br />

Address2 (SRC): Starting flash or RAM address of data bytes to be compared.<br />

This address should be a word boundary.<br />

Number of Bytes: Number of bytes to be compared; should be a multiple of 4.<br />

Return Code CMD_SUCCESS | (Source and destination data are equal)<br />

COMPARE_ERROR | (Followed by the offset of first mismatch)<br />

COUNT_ERROR (Byte count is not a multiple of 4) |<br />

ADDR_ERROR |<br />

ADDR_NOT_MAPPED |<br />

PARAM_ERROR |<br />

Description This command is used to compare the memory contents at two locations.<br />

Compare result may not be correct when source or destination address<br />

contains any of the first 64 bytes starting from address zero. First 64 bytes<br />

are re-mapped to flash boot sector<br />

Example "M 8192 1073741824 4" compares 4 bytes from the RAM address<br />

0x4000 0000 to the 4 bytes from the flash address 0x2000.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 526 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!