at89ls51-16si ATMEL Corporation, at89ls51-16si Datasheet - Page 16
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
at89ls51-16si
Manufacturer Part Number
at89ls51-16si
Description
At89ls51, Low-voltage Microcontroller With 4k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1.AT89LS51-16SI.pdf
(32 pages)
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.
AT89LS51
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
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 support for the Atmel microcontroller 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
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
61H
06H
D
OUT
X
X
X
X
IN
P2.3-0
A11-8
A11-8
0000
0001
0010
X
X
X
X
X
3053B–MICRO–3/05
Address
Table
P1.7-0
A7-0
A7-0
00H
00H
00H
19-1.
X
X
X
X
X