AT89C51CC02 Atmel Corporation, AT89C51CC02 Datasheet - Page 40
AT89C51CC02
Manufacturer Part Number
AT89C51CC02
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C51CC02.pdf
(7 pages)
2.AT89C51CC02.pdf
(159 pages)
3.AT89C51CC02.pdf
(33 pages)
4.AT89C51CC02.pdf
(29 pages)
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
Company:
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
Atmel
Quantity:
972
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT89C51CC02CA-TISUM
Manufacturer:
Atmel
Quantity:
1 492
Company:
Part Number:
AT89C51CC02CA-UM
Manufacturer:
AD
Quantity:
10
Company:
Part Number:
AT89C51CC02UA-RATUM
Manufacturer:
Atmel
Quantity:
1 845
Company:
Part Number:
AT89C51CC02UA-UM
Manufacturer:
NEDI
Quantity:
4
Reading the Flash Spaces
User
Extra Row
Hardware Security Byte
40
AT/T89C51CC02
Figure 16. Hardware Programming Procedure
The following procedure is used to read the User space:
•
Note:
The following procedure is used to read the Extra Row space and is summarized in
Figure 17:
•
•
•
The following procedure is used to read the Hardware
marized in Figure 17:
•
•
•
Read one byte in Accumulator by executing MOVC A,@A+DPTR with A+DPTR is
the address of the code byte to read.
Map the Extra Row space by writing 02h in FCON register.
Read one byte in Accumulator by executing MOVC A,@A+DPTR with A= 0 &
DPTR= FF80h to FFFFh.
Clear FCON to unmap the Extra Row.
Map the Hardware Security space by writing 04h in FCON register.
Read the byte in Accumulator by executing MOVC A,@A+DPTR with A= 0 &
DPTR= 0000h.
Clear FCON to unmap the Hardware Security Byte.
FCON must be cleared (00h) when not used.
Exec: MOVX @DPTR, A
Save & Disable IT
Programming
Flash Spaces
End Loading
FCON = 0Ch
DPTR = 00h
ACC = Data
Data Load
Restore IT
EA = 0
Security
Launch Programming
End Programming
Save & Disable IT
FCON = A4h
FCON = 54h
FCON = 00h
Clear Mode
Cleared?
RestoreIT
FBusy
Byte and is sum-
EA = 0
4126L–CAN–01/08