AT89C51CC02 Atmel Corporation, AT89C51CC02 Datasheet - Page 22

no-image

AT89C51CC02

Manufacturer Part Number
AT89C51CC02
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51CC02

Flash (kbytes)
16 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
20
Uart
1
Can
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/CAN
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51CC02CA-RATUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
Atmel
Quantity:
972
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51CC02CA-TISUM
Manufacturer:
Atmel
Quantity:
1 492
Part Number:
AT89C51CC02CA-UM
Manufacturer:
AD
Quantity:
10
Part Number:
AT89C51CC02UA-RATUM
Manufacturer:
Atmel
Quantity:
1 845
Part Number:
AT89C51CC02UA-RATUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC02UA-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51CC02UA-UM
Manufacturer:
NEDI
Quantity:
4
API Commands
Read/Program Flash
and EEPROM Data
Memory
Read Configuration
and Manufacturer
Information
22
T89C51CC02 UART Bootloader
__api_rd_manufacturer
__api_wr_code_page
__api_rd_device_id1
__api_rd_device_id2
__api_rd_device_id3
__api_wr_code_byte
__api_rd_HSB
__api_rd_BSB
__api_rd_SBV
__api_rd_SSB
__api_rd_EB
API_name
API_name
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 T89C51CC02 Data sheet 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 data sheet in section “Program/Code
Memory
Parameter settings
Instruction: LCALL FFF0h.
Parameter settings
__api_wr_code_byte
__api_wr_code_page
No special resources are used by the bootloader during this operation
”.
R1
02h
09h
R1
0Bh
07h
07h
07h
07h
00h
00h
00h
00h
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
0003h
Address in XRAM
of the first data to
program
DPTR1
DPTR1
x
x
x
x
x
x
x
x
x
-
return manufacturer id
Number of Byte to
Value to write
return HSB
return BSB
return SBV
return SSB
return EB
return id1
return id2
return id3
program
4223C–CAN–03/08
Acc
Acc

Related parts for AT89C51CC02