AT89LP51ED2 Atmel Corporation, AT89LP51ED2 Datasheet - Page 198

no-image

AT89LP51ED2

Manufacturer Part Number
AT89LP51ED2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51ED2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
2.25
Eeprom (bytes)
4096
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20JU
Manufacturer:
Atmel
Quantity:
10 000
24.4.2.7
24.4.2.8
198
AT89LP51RD2/ED2/ID2 Preliminary
Programming the User Fuse Space
Reading the Flash Code Space
Figure 24-4. Flash Programming Procedure
The following procedure is used to program the User Fuse space and is summarized in
24-4:
The following procedure is used to read the User code space:
1. Load up to one half-page of data in the page buffer from address 0000H to 01FFH
2. Save then disable the interrupts (EA = 0)
3. Launch the programming by writing the data sequence 54H followed by A4H to FCON
4. If launched from internal memory, the CPU idles until programming completes. If
5. Restore the interrupts (EA = 1)
1. Map the code space by writing 00H to FCON (the default)
2. Read one byte in Accumulator by executing MOVC A,@A+DPTR where A+DPTR is the
register.
launched from external memory, poll the FBUSY flag until it is cleared
address of the code byte to read
Launch Programming
Page Buffer Loading
Save and Disable IT
End Programming
Programming
Flash Spaces
see Figure 24-3
FCON = Axh
FCON = 5xh
FCON = 00h
Clear Mode
Cleared?
Restore IT
FBusy
EA = 0
3714A–MICRO–7/11
Figure

Related parts for AT89LP51ED2