English
Language : 

P89LV51RB2 Datasheet, PDF (23/76 Pages) NXP Semiconductors – 8-bit 80C51 3 V low power 16/32/64 kB Flash microcontroller with 1 kB RAM
NXP Semiconductors
P89LV51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
Table 12. ISP hex record formats …continued
Record type Command/data function
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)
P89LV51RB2_RC2_RD2_5
Product data sheet
Rev. 05 — 15 December 2009
© NXP B.V. 2009. All rights reserved.
23 of 76