– One 8K Word (16K Bytes) Boot Block with Programming Lockout
– Two 4K Word (8K Bytes) Parameter Blocks
– One 112K Word (224K bytes) Main Memory Array Block
• Fast Sector Erase Time – 10 seconds
• Byte-by-byte or Word-by-word Programming – 50 µs
• Hardware Data Protection
• Data Polling for End of Program Detection
• Low Power Dissipation
– 50 mA Active Current
– 100 µA CMOS Standby Current
• Typical 10,000 Write Cycles
2-megabit
(256K x 8/
128K x 16)
5-volt Only
Description
The AT49F2048A is a 5-volt-only, 2-megabit Flash memory organized as 262,144
words of 8 bits each or 128K words of 16 bits each. Manufactured with Atmel’s
advanced nonvolatile CMOS technology, the device offers
access times to 70 ns with power dissipation of just
275 mW. When deselected, the CMOS standby current is
less than 100 µA.
To allow for simple in-system reprogrammability, the
AT49F2048A does not require high input voltages for programming. Five-volt-only commands determine the read
and programming operation of the device. Reading data
out of the device is similar to reading from an EPROM; it
has standard CE
, OE and WE inputs to avoid bus connection. Reprogramming the AT49F2048A is performed by first
erasing a block of data and then programming on a byteby-byte or word-by-word basis.
The device is erased by executing the Erase command
sequence; the device internally controls the erase operation. The memory is divided into four blocks for erase operations. There are two 4K word parameter block sections:
the boot block and the main memory array block. The
Block Diagram
typical number of program and erase cycles is in excess of
10,000 cycles.
The optional 8K word boot block section includes a reprogramming lockout feature to provide data integrity. This
feature is enabled by a command sequence. Once the boot
block programming lockout feature is enabled, the data in
the boot block cannot be changed when input levels of 5.5
volts or less are used. The boot sector is designed to contain user secure code.
The BYTE
operate in the byte or word configuration. If the BYTE
pin controls whether the device data I/O pins
pin is
set at a logic “1” or left open, the device is in word configuration; I/O0 - I/O15 are active and controlled by CE
If the BYTE
pin is set at logic “0”, the device is in byte con-
and OE.
figuration, and only data I/O pins I/O0 - I/O7 are active and
controlled by CE
and OE. The data I/O pins I/O8 - I/O14
are tri-stated and the I/O15 pin is used as an input for the
LSB (A-1) address function.
Device Operation
READ: The AT49F2048A is accessed like an EPROM.
When CE
at the memory location determined by the address pins is
asserted on the outputs. The outputs are put in the highimpedance state whenever CE
line control gives designers flexibility in preventing bus
contention.
COMMAND SEQUENCES: When the device is first powered on, it will be reset to the read or standby mode,
depending upon the state of the control line inputs. In order
to perform other device functions, a series of command
sequences are entered into the device. The command
sequences are shown in the Command Definitions table
(I/O8 - I/O15 are don’t care inputs for the command codes).
and OE are low and WE is high, the data stored
or OE is high. This dual
112
4
4
04000
03FFF
03000
02FFF
The command sequences are written by applying a low
pulse on the WE
tively) and OE
edge of CE
latched by the first rising edge of CE
or CE input with CE or WE low (respec-
high. The address is latched on the falling
or WE, whichever occurs last. The data is
or WE. Standard
microprocessor write timings are used. The address locations used in the command sequences are not affected by
entering the command sequences.
RESET: A RESET
tem applications. When RESET
input pin is provided to ease some sys-
is at a logic high level, the
device is in its standard operating mode. A low level on the
RESET
input halts the present device operation and puts
the outputs of the device in a high impedance state. When
a high level is reasserted on the RESET
pin, the device
2
AT49F2048A
AT49F2048A
returns to the read or standby mode, depending upon the
state of the control inputs. By applying a 12V
signal to the RESET
pin, the boot block array can be repro-
± 0.5V input
grammed even if the boot block program lockout feature
has been enabled (see Boot Block Programming Lockout
Override section).
ERASURE: Before a byte or word can be reprogrammed, it
must be erased. The erased state of the memory bits is a
logic “1”. The entire device can be erased at one time by
using a 6-byte software code.
After the software chip erase has been initiated, the device
will internally time the erase operation so that no external
clocks are required. The maximum time needed to erase
the whole chip is t
EC
.
CHIP ERASE: The entire device can be erased at one time
by using the 6-byte chip erase software code. After the chip
erase has been initiated, the device will internally time the
erase operation so that no external clocks are required.
The maximum time to erase the chip is t
EC
.
If the boot block lockout has been enabled, the chip erase
will not erase the data in the boot block; it will erase the
main memory block and the parameter blocks only. After
the chip erase, the device will return to the read or standby
mode.
SECTOR ERASE: As an alternative to a full chip erase, the
device is organized into four sectors that can be individually
erased. There are two 4K word parameter block sections:
one boot block, and the main memory array block. The
Sector Erase command is a six-bus cycle operation. The
sector address is latched on the falling WE
edge of the
sixth cycle while the 30H data input command is latched at
the rising edge of WE
ing edge of WE
. The sector erase starts after the ris-
of the sixth cycle. The erase operation is
internally controlled; it will automatically time to completion.
Whenever the main memory block is erased and reprogrammed, the two parameter blocks should be erased and
reprogrammed before the main memory block is erased
again. Whenever a parameter block is erased and reprogrammed, the other parameter block should be erased and
reprogrammed before the first parameter block is erased
again. Whenever the boot block is erased and reprogrammed, the main memory block and the parameter
blocks should be erased and reprogrammed before the
boot block is erased again.
BYTE/WORD PROGRAMMING: Once a memory block is
erased, it is programmed (to a logic “0”) on a byte-by-byte
or word-by-word basis. Programming is accomplished via
the internal device command register and is a four-bus
cycle operation. The device will automatically generate the
required internal program pulses.
Any commands written to the chip during the embedded
programming cycle will be ignored. If a hardware reset happens during programming, the data at the location being
programmed will be corrupted. Please note that a data “0”
cannot be programmed back to a “1”; only erase operations
can convert “0”s to “1”s. Programming is completed after
the specified t
cycle time. The Data Polling feature may
BP
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 words. This block, referred to as the
boot block, can contain secure code that is used to bring up
the system. Enabling the lockout feature will allow 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 usage as a write-protected region is
optional to the user. The address range of the boot block is
00000H to 01FFFH.
Once the feature is enabled, the data in the boot block can
no longer be erased or programmed when input levels of
5.5V or less are used. 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: 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 identification mode (see Software Product
Identification Entry and Exit sections) a read from address
location 00002H will show if programming the boot block is
locked out. If the data on I/O0 is low, the boot block can be
programmed; if the data on I/O0 is high, the program lockout feature has been enabled and the block cannot be programmed. The software product identification exit code
should be used to return to standard operation.
BOOT BLOCK PROGRAMMING LOCKOUT OVERRIDE:
The user can override the boot block programming lockout
by taking the RESET
pin to 12 volts during the entire chip
erase, sector erase or word programming operation. When
the RESET
pin is brought back to TTL levels, the boot
block programming lockout feature is again active.
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” on page 5 (for hardware operation) or “Software Product Identification
Entry/Exit” on page 10. The manufacturer and device
codes are the same for both modes.
POLLING: The AT49F2048A features Data Polling
DATA
to indicate the end of a program cycle. During a program
3
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. During a chip or sector erase operation, an attempt to read the device will give
a “0” on I/O7. Once the program or erase cycle has completed, true data will be read from the device. Data
Polling
may begin at any time during the program cycle.
TOGGLE BIT: In addition to Data
Polling, the AT49F2048A
provides another method for determining the end of a program or erase cycle. During a program or erase operation,
successive attempts to read data from the device will result
in I/O6 toggling between one and zero. Once the program
Command Definition (in Hex)
1st Bus
Command
Sequence
Read1AddrD
Chip Erase65555AA2AAA555555805555AA2AAA55555510
Sector Erase65555AA2AAA555555805555AA2AAA55SA
Word Program45555AA2AAA555555A0AddrD
Boot Block
(2)
Lockout
Product ID Entry35555AA2AAA55555590
Product ID Exit
Product ID Exit
Notes:1. The DATA FORMAT in each bus cycle is as follows: I/O15 - I/O8 (Don't Care); I/O7 - I/O0 (Hex).
The ADDRESS FORMAT in each bus cycle is as follows: A15 - A0 (Hex), A-1 and A15 - A16 (Don’t Care).
2. The 8K word boot sector has the address range 00000H to 01FFFH.
3. Either one of the Product ID Exit commands can be used.
4. SA = sector addresses: (A16-A0)
SA = 01XXX for BOOT BLOCK
SA = 02XXX for PARAMETER BLOCK 1
SA = 03XXX for PARAMETER BLOCK 2
SA = 1FXXX for MAIN MEMORY ARRAY
Bus
Cycles
65555AA2AAA555555805555AA2AAA55555540
(3)
(3)
35555AA2AAA555555F0
1xxxxF0
Cycle
AddrDataAddrDataAddrDataAddrDataAddrDataAddrData
(1)
2nd Bus
Cycle
OUT
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 AT49F2048A in
the following ways: (a) V
ical), the program function is inhibited. (b) V
delay: once V
has reached the VCC sense level, the
CC
sense: if VCC is below 3.8V (typ-
CC
power-on
CC
device will automatically time-out 10 ms (typical) before
programming. (c) Program inhibit: holding any one of OE
low, CE high or WE high inhibits program cycles. (d) Noise
filter: pulses of less than 15 ns (typical) on the WE
inputs will not initiate a program cycle.
3rd Bus
Cycle
4th Bus
Cycle
5th Bus
Cycle
IN
6th Bus
Cycle
(4)
or CE
30
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
4
AT49F2048A
+ 0.6V
CC
*NOTICE:Stresses beyond those listed under “Absolute
Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and
functional operation 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 for extended periods may affect device
reliability.
1159F–04/01
Loading...
+ 9 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.