Nxp semiconductors – NXP Semiconductors P89LPC9321 UM10310 User Manual

Page 120

Advertising
background image

UM10310

All information provided in this document is subject to legal disclaimers.

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

User manual

Rev. 2 — 1 November 2010

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

Advertising