T89C51RD2-SMSIM Atmel, T89C51RD2-SMSIM Datasheet - Page 73
![IC MICRO CTRL 64K FLASH 68PLCC](/photos/6/71/67127/453-68-plcc_sml.jpg)
T89C51RD2-SMSIM
Manufacturer Part Number
T89C51RD2-SMSIM
Description
IC MICRO CTRL 64K FLASH 68PLCC
Manufacturer
Atmel
Series
89Cr
Datasheet
1.T89C51RD2-SMSIM.pdf
(104 pages)
Specifications of T89C51RD2-SMSIM
Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
48
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
68-PLCC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
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