AT89C51CC01 Atmel Corporation, AT89C51CC01 Datasheet - Page 15
AT89C51CC01
Manufacturer Part Number
AT89C51CC01
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C51CC01.pdf
(167 pages)
2.AT89C51CC01.pdf
(12 pages)
3.AT89C51CC01.pdf
(32 pages)
4.AT89C51CC01.pdf
(29 pages)
Specifications of AT89C51CC01
Flash (kbytes)
32 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
34
Uart
1
Can
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
1.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:
AT89C51CC01CA-IM
Manufacturer:
ATMEL
Quantity:
831
Company:
Part Number:
AT89C51CC01CA-RLTUM
Manufacturer:
ATMEL
Quantity:
4 000
Company:
Part Number:
AT89C51CC01CA-RLTUM
Manufacturer:
Atmel
Quantity:
3 136
Company:
Part Number:
AT89C51CC01CA-SLIM
Manufacturer:
ATMEL
Quantity:
11
Company:
Part Number:
AT89C51CC01CA-SLSUM
Manufacturer:
ATMEL
Quantity:
2 916
Part Number:
AT89C51CC01UA-RLTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51CC01UA-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Example
Reading the Flash or
EEPROM Data
Requests from Host
Answers from
Bootloader
4210E–CAN–03/08
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
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
The ID_DISPLAY_DATA 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.
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 22).
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.
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
control
control
ID_DISPLAY_DATA
04
01
08
01
01
01
05
00
Identifier
00 00 00
00
55
02
55
00
00
55
Length
00
data
data
// command_new_data
// command_ok
// error_security
5
55
00
08
55
T89C51CC01 CAN Bootloader
00
Data[0]
00h
01h
02h
55 55 55 55
08
Data[1]
Length
address_start
n
Data[2]
Data[3]
Data[n]
address_end
x
Data[4]
15