AT89C51CC03 Atmel Corporation, AT89C51CC03 Datasheet - Page 15
AT89C51CC03
Manufacturer Part Number
AT89C51CC03
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C51CC03.pdf
(7 pages)
2.AT89C51CC03.pdf
(198 pages)
3.AT89C51CC03.pdf
(32 pages)
4.AT89C51CC03.pdf
(27 pages)
Specifications of AT89C51CC03
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
37
Spi
1
Uart
1
Can
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
2.25
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
Company:
Part Number:
AT89C51CC03C-IM
Manufacturer:
AT
Quantity:
17
Company:
Part Number:
AT89C51CC03CA-IM
Manufacturer:
TI
Quantity:
18
Company:
Part Number:
AT89C51CC03CA-JM
Manufacturer:
ATEML
Quantity:
42
Company:
Part Number:
AT89C51CC03CA-RDTUM
Manufacturer:
COSMO
Quantity:
6 000
Company:
Part Number:
AT89C51CC03CA-RLTUM
Manufacturer:
ADI
Quantity:
141
Example
Reading the Flash or
EEPROM Data
Requests from Host
Answers from
Bootloader
4251B–CAN–03/08
The flow described below allows the user to read data in the Flash memory or in the EEPROM
data memory. A blank check command on the Flash memory is possible with this flow.
This operation can be executed only with a device previously opened in communication.
To start the reading operation, the Host sends a “Display Data” CAN message (Id_display_data)
with the area memory selected, the start address and the end address passed in parameter.
The device splits into block of 8 bytes data to transfer to the Host if the number of data to display
is greater than 8 data bytes.
Note:
The device has two possible answers:
•
•
Answer to a read command:
If the chip is protected from read access a “Error” CAN message is sent (see Section “Error
Message Description”).
Otherwise:
for a display command the device start to send the data up to 8 by frame to the host. for a
blank check command the device send a result ok or the first address not erased.
Programming Data (write 55h from 0000h to 0008h in the flash), with SSB i
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
AT89C51CC03 CAN Bootloader
data[0]
00h
01h
02h
control
control
04
08
01
01
01
01
05
00
data[1]
address_start
00 00 00
55
02
55
00
00
00
Length
n
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]
address_end
data[n]
x
data[4]
15