AT89C51AC2 Atmel Corporation, AT89C51AC2 Datasheet - Page 19
AT89C51AC2
Manufacturer Part Number
AT89C51AC2
Description
Manufacturer
Atmel Corporation
Specifications of AT89C51AC2
Flash (kbytes)
32 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
34
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
1.25
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
Company:
Part Number:
AT89C51AC2-UM
Manufacturer:
ATMEL
Quantity:
4
Company:
Part Number:
AT89C51AC2-UM
Manufacturer:
ATMEL
Quantity:
2
Part Number:
AT89C51AC2-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Requests from Host
Answers from
Bootloader
Flow Description
Erase Example
4231D–CAN–03/08
COMMAND FINISHED
Wait COMMAND_OK
Send Erase Command
OR
Host
OR
COMMAND ABORTED
Wait Checksum Error
COMMAND ABORTED
Wait Security Error
•
As the Program Configuration Information flows, the erase block command has three possible
answers:
•
•
•
block2 (From 4000h to 7FFFh)
Erase block2 (16K to 32K)
‘.’ & ‘CR’ & ’LF’ when the data are programmed
‘X’ & ‘CR’ & ‘LF’ if the checksum is wrong
‘P’ & ‘CR’ & ‘LF’ if the Security is set
Erase block1 (8K to 16K)
Erase block0 (0K to 8K)
Command Name
Full Chip Erase
Erase Block1(8K to 16K)
Full chip erase
HOST
BOOTLOADER
HOST
BOOTLOADER
’X’ & CR & LF
Erase Command
’P’ & CR & LF
’.’ & CR & LF
: 01 0000 03 07 F5
: 01 0000 03 07 F5 . CR LF
: 02 0000 03 01 20 DA
: 02 0000 03 01 20 DA . CR LF
Record
Type
03h
A/T89C51AC2 UART Bootloader
Offset
Load
x
Send Checksum Error
Send Security Error
Record
Length
02h
01h
Bootloader
Wait Erase Command
Send COMMAND_OK
Data[0]
Checksum Error
NO_SECURITY
Wait Erasing
01h
07h
Data[1]
00h
20h
40h
-
19