AT89C5115 Atmel Corporation, AT89C5115 Datasheet - Page 18

no-image

AT89C5115

Manufacturer Part Number
AT89C5115
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5115

Flash (kbytes)
16 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
20
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
0.5
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5115-RATUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5115-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5115-UM
Manufacturer:
SANYO
Quantity:
84
Erase the Flash
Requests from Host
Answers from
Bootloader
18
T89C5115 UART Bootloader
The flow described below allows the user to erase the Flash memory.
Two modes of Flash erasing are possible:
The Full Chip erase command erases the whole Flash (16 Kbytes) and sets some Configuration
Bytes to their default values:
The full chip erase is always executed whatever the Software Security Byte value is.
Note:
The Block erase command erases only a part of the Flash.
Two Blocks are defined in the T89C5115:
As the Program Configuration Information flows, the erase block command has three possible
answers:
Full-chip erase
Block erase
BSB = FFh
SBV = FCh
SSB = FFh (NO_SECURITY)
block0 (from 0000h to 1FFFh)
block1 (from 2000h to 3FFFh)
‘.’ & ‘CR’ & ’LF’ when the data are programmed
‘X’ & ‘CR’ & ‘LF’ if the checksum is wrong
‘P’ & ‘CR’ & ‘LF’ if the Security is set
Take care that the full chip erase execution takes few seconds (128 pages )
Erase block1 (8k to 16k)
Erase block0 (0k to 8k)
Command Name
Full chip erase
Record
Type
03h
Offset
Load
x
Record
Length
02h
01h
Data[0]
01h
07h
4225C–8051–03/08
Data[1]
00h
20h
-

Related parts for AT89C5115