T89C51CC02UA-RATIM Atmel, T89C51CC02UA-RATIM Datasheet - Page 13

no-image

T89C51CC02UA-RATIM

Manufacturer Part Number
T89C51CC02UA-RATIM
Description
IC 8051 MCU FLASH 16K 32VQFP
Manufacturer
Atmel
Series
AT89C CANr

Specifications of T89C51CC02UA-RATIM

Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
20
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP, 32-VQFP
For Use With
AT89STK-06 - KIT DEMOBOARD 8051 MCU W/CAN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
T89C51CC02UARATIM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C51CC02UA-RATIM
Manufacturer:
Atmel
Quantity:
10 000
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 T89C51CC02UA-RATIM