AT89C51ED2-3CSIM Atmel, AT89C51ED2-3CSIM Datasheet - Page 112

IC 8051 MCU FLASH 64K 40DIP

AT89C51ED2-3CSIM

Manufacturer Part Number
AT89C51ED2-3CSIM
Description
IC 8051 MCU FLASH 64K 40DIP
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of AT89C51ED2-3CSIM

Core Processor
8051
Core Size
8-Bit
Speed
60MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
34
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Data Bus Width
8 bit
Data Ram Size
64 KB
Interface Type
SPI, UART
Maximum Clock Frequency
60 MHz
Number Of Programmable I/os
32
Number Of Timers
3 x 16 bit
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
ATMEL
Quantity:
77 760
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
SSG
Quantity:
100
24.10 API Call Description
24.10.1
24.10.2
Table 24-10. API Call Summary
112
PROGRAM DATA BYTE
READ DEVICE ID1
READ DEVICE ID2
READ DEVICE ID3
READ MANUF ID
ERASE BLOCK
Command
AT89C51RD2/ED2
Process
Constraints
00h
00h
00h
00h
01h
02h
R1
The IAP allows to reprogram a microcontroller on-chip Flash memory without removing it from
the system and while the embedded application is running.
The user application can call some Application Programming Interface (API) routines allowing
IAP. These API are executed by the bootloader.
To call the corresponding API, the user must use a set of Flash_api routines which can be linked
with the application.
Example of Flash_api routines are available on the Atmel web site on the software application
note:
C Flash Drivers for the AT89C51RD2/ED2
The API calls description and arguments are shown in
The application selects an API by setting R1, ACC, DPTR0 and DPTR1 registers.
All calls are made through a common interface “USER_CALL” at the address FFF0h.
The jump at the USER_CALL must be done by LCALL instruction to be able to comeback in the
application.
Before jump at the USER_CALL, the bit ENBOOT in AUXR1 register must be set.
The interrupts are not disabled by the bootloader.
Interrupts must be disabled by user prior to jump to the USER_CALL, then re-enabled when
returning.
Interrupts must also be disabled before accessing EEPROM Data then re-enabled after.
The user must take care of hardware watchdog before launching a Flash operation.
Vaue to write
XXh
XXh
XXh
XXh
XXh
A
DPH = C0h
DPH = 00h
DPH = 20h
DPH = 40h
DPH = 80h
Address of
program
DPTR0
byte to
0000h
0001h
0002h
0003h
DPTR1
XXh
XXh
XXh
XXh
XXh
00h
ACC = Manufacturer Id
ACC = Device Id 1
ACC = Device Id 2
ACC = Device Id 3
Returned Value
ACC = 0: DONE
ACC = DPH
Table
24-10.
Program up one data byte in the on-chip
Read Manufacturer identifier
Read Device identifier 1
Read Device identifier 2
Read Device identifier 3
Command Effect
flash memory.
Erase block 0
Erase block 1
Erase block 2
Erase block 3
Erase block 4
4235K–8051–05/08

Related parts for AT89C51ED2-3CSIM