AT89C51AC2 Atmel Corporation, AT89C51AC2 Datasheet - Page 22

no-image

AT89C51AC2

Manufacturer Part Number
AT89C51AC2
Description
Manufacturer
Atmel Corporation
Datasheets

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
Part Number:
AT89C51AC2-RLTUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC2-SLSUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51AC2-UM
Manufacturer:
ATMEL
Quantity:
4
Part Number:
AT89C51AC2-UM
Manufacturer:
ATMEL
Quantity:
2
Part Number:
AT89C51AC2-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
API Commands
Read/Program Flash
and EEPROM Data
Memory
Read Configuration
and Manufacturer
Information
22
A/T89C51AC2 UART Bootloader
Several types of APIs are available:
All routines to access EEPROM Data are managed directly from the application without using
bootloader resources.
To read the Flash memory the bootloader is not involved.
For more details on these routines see the A/T89C51AC2 datasheet sections “Program/Code
Memory” and “EEPROM Data Memory”
Two routines are available to program the Flash:
Note:
Read/Program Flash and EEPROM Data memory
Read Configuration and Manufacturer Information
Program Configuration Information
Erase Flash
Start bootloader
The application program load the column latches of the Flash then call the
__api_wr_code_byte or __api_wr_code_page see datasheet in section “Program/Code
Memory
Parameter Settings
instruction: LCALL FFF0h.
Parameter Settings
__api_rd_manufacturer
__api_wr_code_page
__api_rd_device_id1
__api_rd_device_id2
__api_wr_code_byte
__api_wr_code_byte
__api_wr_code_page
No special resources are used by the bootloader during this operation
__api_rd_HSB
__api_rd_BSB
__api_rd_SBV
__api_rd_SSB
__api_rd_EB
API_name
API_name
”.
R1
02h
09h
0Bh
07h
07h
07h
07h
00h
00h
00h
R1
Address of the first
Byte to program in
the Flash memory
Address in Flash
memory to write
DPTR0
DPTR0
0000h
0001h
0002h
0000h
0006h
0000h
0001h
0002h
XRAM of the
first data to
Address in
program
DPTR1
DPTR1
-
x
x
x
x
x
x
x
x
return manufacturer
Number of Byte to
Value to write
return HSB
return BSB
return SBV
return SSB
program
return EB
return id1
return id2
Acc
Acc
4231D–CAN–03/08
id

Related parts for AT89C51AC2