6 go <address> <mode, 7 read part identification number, 8 read boot code version number – NXP Semiconductors LPC24XX UM10237 User Manual

Page 704: Table 31–637, Table 31–638, Table 31–640, Nxp semiconductors

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

704 of 792

NXP Semiconductors

UM10237

Chapter 31: LPC24XX On-chip bootloader for flashless parts

6.6 Go <address> <mode>

6.7 Read Part Identification number

In addition to the part identification numbers, the user can determine the die revision by
reading the register contents at address 0x0007 E070. The register value is encoded as
follows: 0x0 corresponds to revision ‘—’, 0x01 corresponds to revision A, 0x02
corresponds to revision B,..., 0x1A corresponds to revision Z. On all LPC24XX parts, this
feature is implemented starting with die revision C, so the register read will yield a value of
0x03 (for revision C) or larger.

6.8 Read Boot code version number

Table 637. ISP Go command

Command

G

Input

Address:

RAM address from which the code execution is to be started. This

address should be on a word boundary.

Mode:

T (Execute program in Thumb Mode) | A (Execute program in ARM mode).

Return Code

CMD_SUCCESS |

ADDR_ERROR |

ADDR_NOT_MAPPED |

CMD_LOCKED |

PARAM_ERROR |

CODE_READ_PROTECTION_ENABLED

Description

This command is used to execute a program residing in RAM memory. It may not
be possible to return to the ISP command handler once this command is
successfully executed.

Example

"G 0 A<CR><LF>" branches to address 0x0000 0000 in ARM mode.

Table 638. ISP Read Part Identification command

Command

J

Input

None.

Return Code

CMD_SUCCESS followed by part identification number in ASCII (see

Table 31–639

“LPC24XX part identification numbers”

).

Description

This command is used to read the part identification number.

Table 639. LPC24XX part identification numbers

Device

ASCII/dec coding

Hex coding

LPC2420

302049073

0x1200 E731

LPC2460

369164080

0x1600 FF30

LPC2470

386006832

0x1701 FF30

Table 640. 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.

Advertising