– 50 mA Active Current
– 100 µA CMOS Standby Current
•
Typical 10,000 Write Cycles
2-Megabit
(256K x 8)
5-volt Only
Description
The AT49F020 is a 5-volt-only in-system Flash Memory. Its 2 megabits of memory is
organized as 262,144 wo rds by 8 bits. M anufac tured with Atmel ’s advanc ed non volatile CMOS technology , the de vice offe rs acc ess t imes to 55 ns with pow er dissip ation
of just 275 mW over the commercial temperature range. When the device is deselected, the CMOS standby current is less than 100
To allow for simple in-system re progr am mab il ity , the AT49F0 20 do es not r equir e hi gh
input voltages for programming. Five-volt-only commands determine the read and
programming operation of the devic e. Reading data out of the device is similar to
reading from an EPROM . Rep ro gramm in g the AT49F020 is performe d by eras i ng t he
entire 2 megabits of memory and then programming on a byte by byte basis. The byte
programming time is a fast 50
detected by the DATA
polling feature. Onc e th e end of a by te p rogr am cyc l e has be en
µs. The end of a program cycle can be optionally
detected, a new access for a read or program can begin. The typical number of program and erase cycles is in excess of 10,000 cycles.
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 us er secure code,
Block Diagram
VCC
GND
and when the featur e is en abled, the b oot se ctor is per manently protected from being reprogrammed.
DATA INPUTS/OUTPUTS
I/O0 - I/O7
OE
WE
CE
ADDRESS
INPUTS
OE, CE AND WE
LOGIC
Y DECODER
X DECODER
Device Operation
READ:
CE
memory location determined by the address pins is
asserted on the outputs . The outputs are p ut in the high
impedance state whenever CE
control gives designers flexibility in preventing bus contention.
ERASURE:
bytes memory array (or 248K bytes if the boot block featured is used) must be erased. The e rased state of the
memory bits is a logical “ 1”. The entire device ca n be
erased at on e time b y using a 6-byt e softw are code . The
software chip erase code consists of 6-byte load commands to specific addr ess location s with a specific data
pattern (please refer to the Chip Erase Cycle Waveforms).
After the software chip eras e has been ini tiated , the devi ce
will internally time the er ase operatio n so that no external
clocks are required. The maximum time needed to erase
the whole chip is t
been enabled, the data in the boot sector will not be
erased.
BYTE PROGRAMMING:
erased, the device is programmed (to a logical “0 ”) on a
byte-by-byte bas is. Please not e that a data “0” ca nnot be
programmed ba ck to a “1”; only er ase oper ation s can co nvert “0”s to “ 1”s. Programmi ng is accompl ished via the
internal device command register and is a 4 bus cycle operation (please r efer to th e Comma nd Defini tions ta ble). The
device will automatically generate the required internal program pulses.
The program cycle has addresses latched on the falling
edge of WE
latched on the rising edge of WE
first. Programming is completed after the specified t
The AT49F020 is ac cessed l ike an EPROM. When
and OE are low and WE is high, the data stored at the
or OE is high. This dual-line
Before a byte can be reprogrammed, the 256K
. If the boot block lockout feature has
EC
Once the memory array is
or CE, whichever occurs last, and the data
or CE, whichever occurs
cycle
BP
DATA LATCH
INPUT/OUTPUT
BUFFERS
Y-GATING
MAIN MEMORY
(248K BYTES)
OPTIONAL BOOT
BLOCK (8K BYTES)
time. The DATA
polling feature may also be used to indicate
the end of a program cycle.
BOOT BLOCK PROGRAMMING LOCKOUT:
The device
has one designated block that has a programming lockout
feature. This feature prevents programming of data in the
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. Enabling the l ockou t featur e wil l allow t he 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 usage as a write pr ote ct ed re gio n i s
optional to the user. The address r ange of the boo t block is
00000H to 01FFFH.
Once the feature is en abled, the data in the boot bl ock c an
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 wi th specific data must be performed. Please refer to the Command
Definitions table.
BOOT BLOCK LOCKOUT DETECTION:
A software
method is available to determine if programming of the boot
block section is locked out. When the device is in the software product identific ation m ode (see Softwar e Produc t
Identification Entry and Exit sections) a read from address
location 00002H will show if pr ogrammi ng the boot bl ock is
locked out. If the data o n I/O0 is low, the boot bl ock c an be
programmed; if the data on I/O0 is high, the program lockout feature has been activated and the block cannot be
programmed. The software product identification code
should be used to return to standard operation.
2
AT49F020
AT49F020
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 Operating Modes (for hardware operation)
or Software Product Identification. The manufacturer and
device code is the same for both modes.
DATA P O L L I N G :
The AT49F020 features DATA
polling to
indicate the end of a program cycle. Dur ing 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 com pleted, true data is valid on all
outputs and the next cycle may begin. DATA
polling may
begin at any time during the program cycle.
TOG G L E B I T:
In addition to DATA
polling the AT49F020
provides another method for determining the end of a program or erase cycl e. Du ring a progr am o r er ase opera tion,
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 AT49F020 in
the following ways: (a) V
sense: i f VCC is below 3 . 8V (t y p-
CC
ical), the program function is inhibited. (b) Program inhibit:
holding any one of OE
low, CE high or WE high inhibits 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 00000H to 01FFFH.
(1)
2. Either one of the Product ID exit commands can be used.
65555AA2AAA555555805555AA2AAA55555540
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
+ 0.6V
CC
*NOTICE:Stresses beyond those listed under “Absolute
Maximum Ratings” may cause permanent damage to the dev ice . This is a stress rating only an d
functional oper ati on of the device at these 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 exten ded periods ma y affect d evice
reliability .
IN
Voltage on OE
with Respect to Ground...................................-0.6V to +13.5V
3
Loading...
+ 7 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.