Nxp Semiconductors UM10237 用户手册

下载
页码 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
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
 
 
6.8 Read Boot code version number
 
Table 638. 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 639. ISP Read Part Identification command
Command
J
Input
None.
Return Code
CMD_SUCCESS followed by part identification number in ASCII (see 
Description
This command is used to read the part identification number.
Table 640. LPC24xx part Identification numbers
Device
ASCII/dec coding
Hex coding
LPC2420
302049073
0x1200 E731
LPC2460
369164080
0x1600 FF30
LPC2470
386006832
0x1701 FF30
Table 641. 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.