t89c51rd2-slscl ATMEL Corporation, t89c51rd2-slscl Datasheet - Page 73

no-image

t89c51rd2-slscl

Manufacturer Part Number
t89c51rd2-slscl
Description
0 To 40 Mhz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
ISP Commands Summary
API Call Description
4243G–8051–05/03
Table 40. ISP Commands Summary
Several Application Program Interface (API) calls are available for use by an application
program to permit selective erasing and programming of Flash pages. All calls are made
through a common interface, PGM_MTP. The programming functions are selected by
setting up the microcontroller’s registers before making a call to PGM_MTP at FFF0h.
Results are returned in the registers.
When several Bytes have to be programmed, it is highly recommended to use the Atmel
API “PROGRAM DATA PAGE” call. Indeed, this API call writes up to 128 Bytes in a sin-
gle command.
All routines for software access are provided in the C Flash driver available at Atmel’s
web site.
Command
00h
03h
04h
05h
Command Name
Display Function
Read Function
Write Function
Program Data
Data[4] = 00h -> Display data
Data[4] = 01h -> Blank check
Data[0:1] = start address
Data [2:3] = end address
Data[0]
0Eh
04h
05h
06h
07h
00h
07h
08h
Data[1]
00h
00h
01h
00h
01h
00h
01h
02h
03h
00h
01h
02h
03h
00h
00h
01h
-
Command Effect
Program Nb Data Byte.
Bootloader will accept up to 16 (10h)
data Bytes. The data Bytes should be
128 Byte page Flash boundary.
Erase SBV
Program SSB level 1
Program SSB level 2
Program BSB (value to write in
data[2])
Program SBV (value to write in
data[2])
Full Chip Erase
Display Data
Blank Check
Read Hardware Byte Copy
Read Bootloader Version
Read Device Boot ID1
Read Device Boot ID2
T89C51RD2
Manufacturer ID
Device ID #1
Device ID #2
Device ID #3
Read SSB
Read BSB
Read SBV
73

Related parts for t89c51rd2-slscl