The AT49F512 is a 5-volt-o nly in-sy stem prog ramma ble and e rasable Flash Me mory.
Its 512K of memory is orga nized as 65,536 words by 8 bits. Manufactured wit h
Atmel’s advanced nonvolatile CMOS technology, the devices offer access times to 70
ns with a power dissipation of just 165 mW over the commercial temperature range.
When the device is deselected, the CMOS standby current is less than 100 µA.
To allow for simple in-syste m r eprog ra mma bil it y, the AT49F512 does not require high
input voltages for programming. Five-volt-only commands determine the read and
programming operation of the devic e. Reading data out o f the device is similar to
reading from an EPR OM. Re pr ogr am ming the AT49F512 is perfo rmed by er asin g th e
entire 512K of memo ry and then pr ogramming on a byte by byte basis. The ty pical
byte programming time is a fast 10 µs. The end of a program cycle can be optionally
VCC
WE
NC
A14
A13
A8
A9
A11
OE
A10
CE
I/O7
I/O6
I/O5
I/O4
I/O3
29
28
27
26
25
24
23
22
21
I/O6
A14
A13
A8
A9
A11
OE
A10
CE
I/O7
512K (64K x 8)
5-volt Only
Flash Memory
AT49F512
512K (64K x 8)
5-volt Only
CMOS Flash
Memory
Rev. 1027C–09/98
1
detected by the DATA
byte program cycle h as be en dete cted, a new a ccess for a
read or program can begin. The typi cal num ber of progr am
and erase cycles is in excess of 10,000 cycles.
polling feature. Once the end of a
Block Diagram
Device Operation
READ:
CE
memory location determined by the address pins is
asserted on the outputs. The outputs are put in the high
impedance state whenever CE
control gives designers flexibility in preventing bus contention.
ERASURE:
bytes memory array (or 56K bytes if the boot block featured
is used) must be erased. The erased state of the memory
bits is a logical “1”. The entire de vice can be eras ed at one
time by using a 6-byte so ftware c ode. The c hip eras e cod e
consists of 6-byte load commands to specific address locations with a specific data pattern (please refer to th e Chip
Erase Cycle Waveforms).
After the chip erase has been initiated, the device will internally time the erase operation so that no ex ternal clocks
are required. The maximum time needed to erase the
whole chip is t
enabled, the data in the boot sector will not be erased.
BYTE PROGRAMMING:
erased, the device is programme d (to a logical “0”) on a
byte-by-byte ba sis. Please n ote t hat a d ata “0” cannot be
programmed back to a “1”; onl y erase operat ions c an convert “0”s to “1”s. Progr amming is accomp lished via the
internal device command register and is a 4 bus cycle
operation (please refer to the Command Definitions table).
The device will automatic al ly gen er ate th e re quire d in ter nal
program pulses.
The program cycle has addresses latched on the falling
edge of WE
The AT49F512 is acce ssed like a n EPR OM. W hen
and OE are low and WE is hig h, the d ata sto red at the
or OE is high. This dual-line
Before a byte can be reprogrammed, the 64K
. If the boot block lockout feature has been
EC
Once the memory array is
or CE, whichever occurs last, and the data
The optional 8K bytes boot block section includes a reprogramming write lock out feature to provide data integrity.
The boot sector is designed to contain user secure code,
and when the featur e is en abled, the bo ot sec tor is per manently protected from being reprogrammed.
FFFFH
2000H
1FFFH
0000H
latched on the rising edge of WE
first. Programming is completed after the specified t
time. The DATA
the end of a program cycle.
BOOT BLOCK PROGRAMMING LOCKOUT:
has one designated block that has a programming lockout
feature. This feature prevents programming of data in th e
designated block once the feature has been enabled. The
size of the block is 8K bytes. This block, referred to as the
boot block, can contain secure code that is used to bring up
the system. Enablin g the l ockou t feature w ill al low the boot
code to stay in the device while data in the rest of the
device is updated. This feature does not have to be activated; the boot block’ s u sag e as a wr i te pro t ected r eg io n is
optional to the user. The address range of the boot block is
0000H to 1FFFH.
Once the feature is enabled, the data in the boot blo ck ca n
no longer be erased or programmed. Data in the main
memory block can still be changed through the regular programming method. To activate the lockout feature, a series
of six program commands to specific addresses with specific data must be performed. Please refer to the Command
Definitions table.
BOOT BLOCK LOCKOUT DETECTION:
method is available to determine if programming of the boot
block section is locked out. When the device is in the software product identification mode (see Software Product
Identification Entry and Exit sections) a read from address
location 00002H will show if pr ogram ming the bo ot bloc k is
locked out. If the d ata o n I/ O0 is l ow, th e boot block can be
programmed; if the data on I/O0 is high, the program lock-
polling feature may also be used to indicate
or CE, whichever occurs
cycle
BP
The device
A software
2
AT49F512
AT49F512
out feature has been activated and the block cannot be
programmed. The software product identification code
should be used to return to standard operation.
PRODUCT IDENTIFICATION:
The product identification
mode identifies the device and manufacturer as Atmel. It
may be accessed by hardware or software operation. The
hardware operation mode can be used by an external programmer to identify the correct programming algorithm for
the Atmel product.
For details, see O peratin g Mode s (for har dware operatio n)
or Software Product Identification. The manufacturer and
device code is the same for both modes.
DATA POLLING:
The AT49F512 features DATA
polling to
indicate the end of a program cycle. Du ring a program
cycle an attempted read of the last byte loaded will result in
the complement of the loaded data on I/O7. Once the program cycle has been completed, true data is valid on all
outputs and the next cycle may begin. DATA
begin at any time during the program cycle.
TOG G L E B I T:
In addition to DATA
polling the AT49F512
provides another method for determining the end of a program or erase cycle. During a prog ram or eras e operation ,
successive attempts to read data from the device will result
in I/O6 toggling between one and zero. Once the program
cycle has completed, I/O6 will stop toggling and valid data
will be read. Examining the toggle bit may begin at any time
during a program cycle.
HARDWARE DATA PROTECTION:
Hardware features
protect against inadvertent programs to the AT49F512 in
the following ways: (a) V
sense: i f VCC is below 3.8V (typ-
CC
ical), the program function is inhibited. (b) Program inhibit:
holding any one of OE
low, CE high or WE h igh inhi bits
program cycles. (c) Noise filter: Pulses of less than 15 ns
(typical) on the WE
Notes: 1. The 8K byte boot sector has the address range 0000H to 1FFFH.
2. Either one of the Product ID exit commands can be used.
35555AA2AAA55555590
35555AA2AAA555555F0
1XXXXF0
Absolute Maximum Ratings*
Temperature Under Bias................................ -55°C to +125°C
Storage Temperature ..................................... -65°C to +150°C
All Input Voltages
(including NC pins)
with Respect to Ground...................................-0.6V to +6.25V
All Output Voltages
with Respect to Ground.............................-0.6V to V
Voltage on OE
with Respect to Ground...................................-0.6V to +13.5V
+ 0.6V
CC
*NOTICE:Stresses beyond those listed under “Absolute
Maximum Ratings” may cause permanent damage to the dev ice . This is a s tress rating only an d
functional oper ation of the device at thes e or any
other conditions beyond those indicated in the
operational sections of this specification is not
implied. Exposure to absolute maximum rating
conditions f or e xtended periods ma y af fect de vice
reliability .
3
DC and AC Operating Range
AT49F512-70AT49F512-90
Operating
Temperature (Case)
V
Power Supply5V ± 10%5V ± 10%
CC
Com.0°C - 70°C0°C - 70°C
Ind.-40°C - 85°C-40°C - 85°C
Operating Modes
ModeCEOEWEAiI/O
ReadV
Program
(2)
Standby/Write InhibitV
IL
V
IL
IH
Program InhibitXXV
Program InhibitXV
Output DisableXV