AT89C51CC02 Atmel Corporation, AT89C51CC02 Datasheet - Page 13

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
Programming the
Flash or EEPROM data
Requests from Host
Answers from
Bootloader
Request from Host
4208D–CAN–03/08
The communication flow described above shows how to program data in the Flash memory or in
the EEPROM data memory. This operation can be executed only with a device previously
opened in communication.
1. The first step is to indicate which memory area (Flash or EEPROM data) is selected and
2. The second step is to transmit the data.
The bootloader programs on a page of 128 bytes basis when it is possible.
The host must take care of the following:
Notes:
The device has two possible answers:
The second step of the programming operation is to send data to program.
To send data to program, the Host sends a “programming data“ CAN message (Id_prog_data)
with up to 8 data by message and must wait for the answer of the device before sending the next
data to program.
the range address to program.
The data to program transmitted within a CAN frame are in the same page.
To transmit 8 data bytes in CAN message when it is possible
To start the programming operation, the Host sends a “start programming” CAN message
(ID_PROG_START) with the area memory selected in data[0], the start address and the end
address passed in parameter.
If the chip is protected from program access an “Error” CAN message is sent (see
Section “Error Message Description”, page 23).
Otherwise an acknowledge is sent.
ID_PROG_START
1. Data[0] chooses the area to program:
2. Address_start gives the start address of the programming command.
3. Address_end gives the last address of the programming command.
Identifier
ID_PROG_DATA
- 00h: Flash
- 01h: EEPROM data
Identifier
ID_PROG_START
Length
Identifier
5
Length
up to 8
Data[0]
00h
01h
T89C51CC02 CAN Bootloader
Data[1]
Data[0]
Address_start
x
Data[2]
...
...
Data[3]
Length
0
Address_end
Data[7]
Data[4]
x
13

Related parts for AT89C51CC02