AT89S51-33AC ATMEL [ATMEL Corporation], AT89S51-33AC Datasheet - Page 16

no-image

AT89S51-33AC

Manufacturer Part Number
AT89S51-33AC
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-33AC
Manufacturer:
ATMEL
Quantity:
427
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.
Flash Programming Modes
AT89S51
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
2487C–MICRO–03/05
X
X
X
X
X
Address
P1.7-0
A7-0
A7-0
00H
00H
00H
X
X
X
X
X

Related parts for AT89S51-33AC