Datasheet

125
AT89C51IC2
4301D–8051–02/08
ISP Commands Summary Table 92. ISP Commands Summary
Command Command Name Data[0] Data[1] Command Effect
00h Program Data
Program Nb Data Byte.
Bootloader will accept up to 128 (80h)
data Bytes. The data Bytes should be
128 Byte page Flash boundary.
03h Write Function
01h
00h Erase block0 (0000h-1FFFh)
20h Erase block1 (2000h-3FFFh)
40h Erase block2 (4000h-7FFFh)
80h Erase block3 (8000h- BFFFh)
C0h Erase block4 (C000h- FFFFh)
03h 00h Hardware Reset
04h 00h Erase SBV & BSB
05h
00h Program SSB level 1
01h Program SSB level 2
06h
00h Program BSB (value to write in data[2])
01h Program SBV (value to write in data[2])
07h -
Full Chip Erase (This command needs
about 6 sec to be executed)
0Ah
02h
Program Osc fuse (value to write in
data[2])
04h
Program BLJB fuse (value to write in
data[2])
08h
Program X2 fuse (value to write in
data[2])
04h Display Function
Data[0:1] = start address
Data [2:3] = end address
Data[4] = 00h -> Display data
Data[4] = 01h -> Blank check
Display Data
Note: The maximum number of data
that can be read with a single
command frame (difference between
start and end address) is 1kbyte.
Blank Check
05h Read Function
00h
00h Manufacturer ID
01h Device ID #1
02h Device ID #2
03h Device ID #3
07h
00h Read SSB
01h Read BSB
02h Read SBV
06h Read Extra Byte
0Bh 00h Read Hardware Byte
0Eh
00h Read Device Boot ID1
01h Read Device Boot ID2
0Fh 00h Read Bootloader Version