UM10147_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 28 April 2008
115 of 134
NXP Semiconductors
UM10147
P89LPC952/954 User manual
Table 102. 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:100000000102030405006070809cc
01
Read Version Id: 00xxxx01cc
Where: xxxx = required field but value is a ‘don’t care’; cc = checksum
Example: 00000001cc
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
18= Security Byte 8 (89LPC954)
19= Security Byte 9 (89LPC954)
1A= Security Byte 10 (89LPC954)
1B= Security Byte 11 (89LPC954)
1C= Security Byte 12 (89LPC954)
1D= Security Byte 13 (89LPC954)
1E= Security Byte 14 (89LPC954)
1F= Security Byte 15 (89LPC954)
Example::020000020347cc