AT89S51-24 ATMEL [ATMEL Corporation], AT89S51-24 Datasheet - Page 14

no-image

AT89S51-24

Manufacturer Part Number
AT89S51-24
Description
8-bit Microcontroller with 4K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89S51-24AC
Manufacturer:
M
Quantity:
6
Part Number:
AT89S51-24AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89S51-24AC
Manufacturer:
ATMEL
Quantity:
482
Part Number:
AT89S51-24AI
Manufacturer:
STM
Quantity:
4 676
Part Number:
AT89S51-24AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89S51-24AI
Manufacturer:
ATMEL
Quantity:
583
Part Number:
AT89S51-24AI
Manufacturer:
ATMEL
Quantity:
866
Part Number:
AT89S51-24AI
Manufacturer:
AT
Quantity:
20 000
Company:
Part Number:
AT89S51-24AI
Quantity:
43
Part Number:
AT89S51-24AU
Manufacturer:
ATMEL
Quantity:
122 400
Part Number:
AT89S51-24AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89S51-24JC
Manufacturer:
ATM
Quantity:
1 025
Part Number:
AT89S51-24JC
Manufacturer:
ATMEL
Quantity:
3 398
Part Number:
AT89S51-24JC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Serial
Programming
Instruction Set
Programming
Interface –
Parallel Mode
Table 7. Flash Programming Modes
Notes:
14
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
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
V
5V
5V
5V
5V
5V
5V
5V
5V
5V
5V
CC
RST
H
H
H
H
H
H
H
H
H
H
Power-off sequence (if needed):
Data Polling: The Data Polling feature is also available in the serial mode. In this mode, dur-
ing 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 Table 8
on page 18.
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.
All major programming vendors offer worldwide support for the Atmel microcontroller series.
Please contact your local programming vendor for the appropriate software revision.
Set XTAL1 to “L” (if a crystal is not used).
Set RST to “L”.
Turn V
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
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
D
1EH
51H
06H
P0.2,
P0.3,
P0.4
D
OUT
X
X
X
X
IN
P2.3-0
A11-8
A11-8
0000
0001
0010
X
X
X
X
X
Address
2487A–10/01
P1.7-0
A7-0
A7-0
00H
00H
00H
X
X
X
X
X

Related parts for AT89S51-24