UM10310_1
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 01 — 1 December 2008
120 of 139
NXP Semiconductors
UM10310
P89LPC9321 User manual
Table 108. In-system Programming (ISP) hex record formats
Record type
Command/data function
00
Program User Code Memory Page
: nnaaaa00dd..ddcc
Where:
nn = number of bytes to program; aaaa = page address; dd..dd= data bytes;
cc = checksum;
Example:100000000102030405006070809DC3
01
Read Version Id
: 00xxxx01cc
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