Programming interface, At89lv55 – Rainbow Electronics AT89LV55 User Manual
Page 14
![background image](/manuals/281984/14/background.png)
AT89LV55
14
Figure 9. Programming the Flash Memory
Chip Erase: The entire Flash array is erased electrically
by using the proper combination of control signals and by
holding ALE/PROG low for 10 ms. The code array is written
with all 1s. The chip erase operation must be executed
before the code memory can be reprogrammed.
Reading the Signature Bytes: The signature bytes are
read by the same procedure as a normal verification of
locations 030H, and 031H, except that P3.6 and P3.7 must
be pulled to a logic low. The values returned are as follows:
(030H) = 1EH indicates manufactured by Atmel
(031H) = 65H indicates 89LV55
(032H) = FFH indicates 12V programming
Programming Interface
Every code byte in the Flash array can be written, and the
entire array can be erased, by using the appropriate combi-
nation 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.
Figure 10. Verifying the Flash Memory
P1.0 - P1.7
P3.6
P2.0 - P2.5
A0 - A7
ADDR.
0000H/4FFFH
SEE FLASH
PROGRAMMING
MODES TABLE
3-12 MHz
A8 - A13
A14*
P0
+5V
P2.7
PGM
DATA
PROG
V /V
I H
PP
V
I H
ALE
P3.7
XTAL2
EA
RST
PSEN
XTAL1
GND
V
CC
AT89LV55
P2.6
P3.0
*Programming address line A14 (P3.0) is not the same
as the external memory address line A14 (P2.6)
P1.0 - P1.7
P3.6
P2.0 - P2.5
A0 - A7
ADDR.
0000H/4FFFH
SEE FLASH
PROGRAMMING
MODES TABLE
3-12 MHz
A8 - A13
A14*
P0
+5V
P2.7
PGM DATA
(USE 10K
PULLUPS)
V
I H
V
I H
ALE
P3.7
XTAL2
EA
RST
PSEN
XTAL1
GND
V
CC
AT89LV55
P2.6
P3.0