at89c51rd2-smsum ATMEL Corporation, at89c51rd2-smsum Datasheet - Page 89
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
at89c51rd2-smsum
Manufacturer Part Number
at89c51rd2-smsum
Description
8-bit Flash Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
1.AT89C51RD2-SMSUM.pdf
(137 pages)
- Current page: 89 of 137
- Download datasheet (2Mb)
23. EEPROM Data Memory
23.1
4235J–8051–01/08
Write Data
This feature is available only for the AT89C51ED2 device.
The 2K bytes on-chip EEPROM memory block is located at addresses 0000h to 07FFh of the
XRAM/ERAM memory space and is selected by setting control bits in the EECON register.
A read or write access to the EEPROM memory is done with a MOVX instruction.
Data is written by byte to the EEPROM memory block as for an external RAM memory.
The following procedure is used to write to the EEPROM memory:
Figure 23-1 represents the optimal write sequence to the on-chip EEPROM data memory.
• Check EEBUSY flag
• If the user application interrupts routines use XRAM memory space: Save and disable
• Load DPTR with the address to write
• Store A register with the data to be written
• Set bit EEE of EECON register
• Execute a MOVX @DPTR, A
• Clear bit EEE of EECON register
• Restore interrupts.
• EEBUSY flag in EECON is then set by hardware to indicate that programming is in progress
• The end of programming is indicated by a hardware clear of the EEBUSY flag.
interrupts.
and that the EEPROM segment is not available for reading or writing.
AT89C51RD2/ED2
89
Related parts for at89c51rd2-smsum
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT89C51RD2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT89C51RD2-IM8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51RD2](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C51-24AC](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet:
![AT89C51-24JC](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C51-24JI](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C51-24PC](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL 24MHZ 40DIP
Manufacturer:
Atmel
Datasheet:
![AT89C51-24PI](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL 24MHZ 40DIP
Manufacturer:
Atmel
Datasheet:
![AT89C51-20PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit microcontroller with 4K bytes flash, 5V, 20MHz
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51-20PI](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit microcontroller with 4K bytes flash, 5V, 20MHz
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51-12JC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51-16JC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51-24AI](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet: