AT89S51-24PC Atmel, AT89S51-24PC Datasheet - Page 16
![IC 8051 MCU 4K FLASH 40-DIP](/photos/6/70/67049/453-40-dip_sml.jpg)
AT89S51-24PC
Manufacturer Part Number
AT89S51-24PC
Description
IC 8051 MCU 4K FLASH 40-DIP
Manufacturer
Atmel
Series
89Sr
Datasheet
1.AT89S51-24JU.pdf
(31 pages)
Specifications of AT89S51-24PC
Core Processor
8051
Core Size
8-Bit
Speed
24MHz
Connectivity
UART/USART
Peripherals
WDT
Number Of I /o
32
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89S51-24PC
Manufacturer:
ATMEL
Quantity:
3 354
Company:
Part Number:
AT89S51-24PC
Manufacturer:
AT10
Quantity:
65
Part Number:
AT89S51-24PC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
16.2
17. Programming Interface – Parallel Mode
Table 17-1.
Notes:
16
Mode
Write Code Data
Read Code Data
Write Lock Bit 1
Write Lock Bit 2
Write Lock Bit 3
Read Lock Bits
1, 2, 3
Chip Erase
Read Atmel ID
Read Device ID
Read Device ID
Serial Programming Instruction Set
1. Each PROG pulse is 200 ns - 500 ns for Chip Erase.
2. Each PROG pulse is 200 ns - 500 ns for Write Code Data.
3. Each PROG pulse is 200 ns - 500 ns for Write Lock Bits.
4. RDY/BSY signal is output on P3.0 during programming.
5. X = don’t care.
AT89S51
Flash Programming Modes
V
5V
5V
5V
5V
5V
5V
5V
5V
5V
5V
CC
RST
Power-off sequence (if needed):
Data Polling: The Data Polling feature is also available in the serial mode. In this mode, during
a write cycle an attempted read of the last byte written will result in the complement of the MSB
of the serial output byte on MISO.
The Instruction Set for Serial Programming follows a 4-byte protocol and is shown in the
”Serial Programming Instruction Set” on page
Every code byte in the Flash array can be programmed by using the appropriate combination of
control signals. The write operation cycle is self-timed and once initiated, will automatically time
itself to completion.
Most major worldwide programming vendors offer worldwide support for the Atmel AT89 micro-
controller series. Please contact your local programming vendor for the appropriate software
revision.
H
H
H
H
H
H
H
H
H
H
5. At the end of a programming session, RST can be set low to commence normal device
1. Set XTAL1 to “L” (if a crystal is not used).
2. Set RST to “L”.
3. Turn V
operation.
PSEN
L
L
L
L
L
L
L
L
L
L
CC
PROG
ALE/
power off.
H
H
H
H
H
(2)
(3)
(3)
(3)
(1)
EA/
V
12V
12V
12V
12V
12V
H
H
H
H
H
PP
P2.6
H
H
H
H
H
L
L
L
L
L
P2.7
H
H
H
H
L
L
L
L
L
L
20.
P3.3
H
H
H
H
H
L
L
L
L
L
P3.6
H
H
H
H
H
L
L
L
L
L
P3.7
H
H
H
L
L
L
L
L
L
L
P0.7-0
Data
P0.2,
P0.3,
D
P0.4
1EH
51H
06H
D
OUT
X
X
X
X
IN
P2.3-0
A11-8
A11-8
0000
0001
0010
2487D–MICRO–6/08
X
X
X
X
X
Address
P1.7-0
A7-0
A7-0
00H
00H
00H
X
X
X
X
X