P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 22 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
Table 12. ISP hex record formats
Record type Command/data function
00 Program User Code Memory
:nnaaaa00dd..ddcc
Where:
nn = number of bytes to program
aaaa = address
dd..dd = data bytes
cc = checksum
Example:
:100000000102030405006070809cc
01 End of File (EOF), no operation
:xxxxxx01cc
Where:
xxxxxx = required field but value is a ‘don’t care’
cc = checksum
Example:
:00000001FF
02 Set SoftICE mode
Following the next reset the device will enter the SoftICE mode. Will erase user
code memory, and erase device serial number.
:00000002cc
Where:
xxxxxx = required field but value is a ‘don’t care’
cc = checksum
Example:
:00000002FE
P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 23 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
03 Miscellaneous Write functions
:nnxxxx03ffssddcc
Where:
nn = number of bytes in the record
xxxx = required field but value is a ‘don’t care’
ff = subfunction code
ss = selection code
dd = data (if needed)
cc = checksum
Subfunction code = 01 (Erase block 0)
ff=01
Subfunction code = 05 (Program security bit, Double Clock)
ff=05
ss = 01 program security bit
ss = 05 program double clock bit
Subfunction code = 08 (Erase sector, 128 B)
ff=08
ss = high byte of sector address (A15:8)
dd = low byte of sector address (A7, A6:0 ]= 0)
Example:
:0300000308E000F2 (erase sector at E000H)
04 Display Device Data or Blank Check
:05xxxx04sssseeeeffcc
Where
05 = number of bytes in the record
xxxx = required field but value is a ‘don’t care’
04 = function code for display or blank check
ssss = starting address, MSB first
eeee = ending address, MSB first
ff = subfunction
00 = display data
01 = blank check
cc = checksum
Subfunction codes:
Example:
:0500000400001FFF00D9 (display from 0000H to 1FFFH)
Table 12. ISP hex record formats
…continued
Record type Command/data function
P89LV51RB2_RC2_RD2_5 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 05 — 15 December 2009 24 of 76
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
05 Miscellaneous Read functions
:02xxxx05ffsscc
Where:
02 = number of bytes in the record
xxxx = required field but value is a ‘don’t care’
05 = function code for misc read
ffss = subfunction and selection code
0000 = read manufacturer id
0001 = read device id 1
0002 = read boot code version
0700 = read security bit (00 SoftICE serial number match 0 SB 0 Double Clock)
cc = checksum
Example:
:020000050000F9 (display manufacturer id)
06 Direct load of baud rate
:02xxxx06HHLLcc
Where:
02 = number of bytes in the record
xxxx = required field but value is a ‘don’t care’
HH = high byte of timer
LL = low byte of timer
cc = checksum
Example:
:02000006FFFFcc (load T2 = FFFF)
07 Reset serial number, erase user code, clear SoftICE mode
:xxxxxx07cc
Where:
xxxxxx = required field but value is a ‘don’t care’
07 = reset serial number function
cc = checksum
Example:
:00000007F9
08 Verify serial number
:nnxxxx08ss..sscc
Where:
xxxxxx = required field but value is a ‘don’t care’
08 = verify serial number function
ss..ss = serial number contents
cc = checksum
Example:
:03000008010203EF (verify serial number = 010203)
Table 12. ISP hex record formats
…continued
Record type Command/data function

P89LV51RD2BA,512

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT 64KB FLASH 44PLCC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union