Download UM - Keil

Transcript
D
D
D
D
D
R
R
R
R
R
D
R
R
D
R
R
A
FT
FT
FT
A
A
R
R
D
D
D
R
R
FT
FT
A
A
R
D
D
: nnaaaa00dd..ddcc
R
A
Where:
Where: xxxx = required field but value is a ‘don’t care’; cc = checksum
Example: 00000001FF
02
Miscellaneous Write Functions
:02xxxx02ssddcc
Where: xxxx = required field but value is a ‘don’t care’; ss=
subfunction code; dd= data; cc= checksum
Subfunction codes:
00= UCFG1
01= UCFG2
02= Boot Vector
03= Status Byte
04= reserved
05= reserved
06= reserved
07= reserved
08= Security Byte 0
09= Security Byte 1
0A= Security Byte 2
0B= Security Byte 3
0C= Security Byte 4
0D= Security Byte 5
0E= Security Byte 6
0F= Security Byte 7
10= Clear Configuration Protection
Example::020000020347B2
<Document ID>
User manual
© NXP B.V. 2009. All rights reserved.
Rev. 01.xx — 5 February 2009
143 of 172
A
: 00xxxx01cc
R
Read Version Id
D
Example:100000000102030405006070809DC3
FT
nn = number of bytes to program; aaaa = page address; dd..dd= data bytes;
cc = checksum;
01
F
D
D
Program User Code Memory Page
A
FT
FT
A
A
R
R
D
D
D
00
FT
FT
FT
FT
Command/data function
A
A
A
A
R
R
D
D
D
Record type
FT
FT
FT
FT
FT
UM<nnnnn>
P89LPC9331/9341/9351 User manual
Table 132. In-system Programming (ISP) hex record formats
A
A
A
A
A
NXP Semiconductors