T89C51CC02CA-TDSIM Atmel, T89C51CC02CA-TDSIM Datasheet - Page 15

IC 8051 MCU FLASH 16K 24SOIC

T89C51CC02CA-TDSIM

Manufacturer Part Number
T89C51CC02CA-TDSIM
Description
IC 8051 MCU FLASH 16K 24SOIC
Manufacturer
Atmel
Series
AT89C CANr

Specifications of T89C51CC02CA-TDSIM

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
24-SOIC (7.5mm Width)
For Use With
AT89STK-06 - KIT DEMOBOARD 8051 MCU W/CAN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
T89C51CC02CATDSIM
Programming Example
Reading the Flash or
EEPROM Data
Requests from Host
Answers from
Bootloader
4208D–CAN–03/08
The ID_PROG_DATA flow described above allows the user to read data in the Flash memory or
in the EEPROM data memory. A blank check command is possible with this flow.
This operation can be executed only with a device previously opened in communication.
To s ta r t th e r e ad i n g o p er at i on , th e Ho s t s e n d s a “ D i s pl a y D at a ” CA N me s s a g e
(ID_DISPLAY_DATA) with the area memory selected, the start address and the end address
passed in parameter.
The device splits into blocks of 8 bytes the data to transfer to the Host if the number of data to
display is greater than 8 data bytes.
Notes:
The device has two possible answers:
Answer to a read command:
If the chip is protected from read access an “Error” CAN message is sent (see Section “Error
Message Description”, page 23).
Otherwise, for a display command, the device starts to send the data up to 8 by frame to the
host. For a blank check command the device sends a result OK or the first address not
erased.
Programming Data (write 55h from 0000h to 0008h in the flash), with SSB in write security
BOOTLOADER
HOST
Programming Data (write 55h from 0000h to 0008h in the flash)
HOST
BOOTLOADER
HOST
BOOTLOADER
HOST
BOOTLOADER
1.
2. The address_start gives the start address to read.
3. The address_end gives the last address to read.
ID_DISPLAY_DATA
D
- 00h: Display Flash
- 01h: Blank Check on the Flash
- 02h: Display EEPROM data
ata[0] selects the area to read and the operation
Identifier
ID_DISPLAY_DATA
Identifier
Id_prog_start
Id_error
Id_prog_start
Id_prog_start
Id_prog_data
Id_prog_data
Id_prog_data
Id_prog_data
identifier
identifier
Length
5
T89C51CC02 CAN Bootloader
Data[0]
00h
01h
02h
control
control
04
08
01
01
01
01
05
00
Data[1]
Length
Address_start
n
00 00 00
55
02
55
00
00
00
55
00
data
data
Data[2]
// command_new_data
// command_ok
// error_security
55
00
08
55
00
55 55 55 55
08
Data[3]
data[n]
Address_end
x
Data[4]
15

Related parts for T89C51CC02CA-TDSIM