AT89C5115 Atmel Corporation, AT89C5115 Datasheet - Page 11

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
Programming the
Flash or EEPROM data
Requests from Host
Answers from
Bootloader
Flow Description
Example
4225C–8051–03/08
COMMAND FINISHED
Wait COMMAND_OK
Send Write Command
OR
Host
OR
COMMAND ABORTED
Wait Checksum Error
COMMAND ABORTED
Wait Security Error
The flow described below shows how to program data in the Flash memory or in the EEPROM
data memory.
The bootloader programs on a page of 128 bytes basis when it is possible.
The host must take care that:
The bootloader answers with:
The data to program transmitted within a frame are in the same page.
‘.’ & ‘CR’ & ’LF’ when the data are programmed
‘X’ & ‘CR’ & ‘LF’ if the checksum is wrong
‘P’ & ‘CR’ & ‘LF’ if the Security is set
Programming Data (write 55h at address 0010h in the Flash)
HOST
BOOT LOADER
Program EEPROM
Command Name
Program Flash
Data
’X’ & CR & LF
Write Command
’P’ & CR & LF
’.’ & CR & LF
: 01 0010 00 55 9A
: 01 0010 00 55 9A . CR LF
Record
Type
00h
07h
T89C5115 UART Bootloader
address
address
Offset
Load
start
start
Send Checksum error
Send Security error
nb of Data
nb of Data
Record
Length
Bootloader
Wait Write Command
Data[0]
Send COMMAND_OK
Wait Programming
Checksum error
NO_SECURITY
x
x
...
...
...
Data[127]
x
x
11

Related parts for AT89C5115