– One Hundred Twenty-seven 32K Word (64K Bytes) Main Sectors with
Individual Write Lockout
– Eight 4K Word (8K Bytes) Sectors with Individual Write Lockout
•
Fast Word Program Time – 10 µs
•
Typical Sector Erase Time: 32K Word Sectors – 700 ms; 4K Word Sectors – 100 ms
•
Suspend/Resume Feature for Erase and Program
– Supports Reading and Programming Data from Any Sector by Suspending
Erase of a Different Sector
– Supports Reading Any Word by Suspending Programming of Any Other Word
•
Low-power Operation
– 10 mA Active
– 15 µA Standby
•
VPP Pin for Write Protection and Accelerated Program Operation
•
WP Pin for Sector Protection
•
RESET Input for Device Initialization
•
Flexible Sector Protection
•
Top or Bottom Boot Block Configuration Available
•
128-bit Protection Register
•
Minimum 100,000 Erase Cycles
•
Common Flash Interface (CFI)
•
Green (Pb/Halide-free/RoHS Compliant) Packaging
64-megabit
(4M x 16)
3-volt Only
Flash Memory
AT49BV640D
AT49BV640DT
1.Description
The AT49BV640D(T) is a 2.7-volt 32-megabit Flash memory organized as 4,194,304
words of 16 bits each. The memory is divided into 135 sectors for erase operations.
The device is offered in a 56-lead TSOP and a 48-ball CBGA packages. The device
has CE
or reprogrammed using a single power supply, making it ideally suited for in-system
programming.
The device powers on in the read mode. Command sequences are used to place
the device in other operation modes such as program and erase. The device has
the capability to protect the data in any sector (see “Flexible Sector Protection” on
page 6).
To increase the flexibility of the device, it contains an Erase Suspend and Program
Suspend feature. This feature will put the erase or program on hold for any amount of
time and let the user read data from or program data to any of the remaining sectors
within the memory.
The VPP pin provides data protection. When the V
and erase functions are inhibited. When V
and erase operations can be performed. With V
Program command) operation is accelerated.
and OE control signals to avoid any bus contention. This device can be read
input is below 0.4V, the program
PP
is at 1.65V or above, normal program
PP
at 10.0V, the program (Dual-word
PP
3608A–FLASH–04/06
2.Pin Configurations
Pin NamePin Function
A0 - A21Addresses
CE
Chip Enable
OE
WE
RESET
Output Enable
Write Enable
Reset
VPPWrite Protection and Power Supply for Accelerated Program Operations
When the device is first powered on, it will be in the read mode. Command sequences are
used to place the device in other operating modes such as program and erase. The command
sequences are written by applying a low pulse on the WE
applying a low-going pulse on the CE
on the first rising edge of the WE
the CE
affected by entering the command sequences.
4.2Read
The AT49BV640D(T) is accessed like an EPROM. When CE and OE are low and WE is high,
the data stored at the memory location determined by the address pins are asserted on the
outputs. The outputs are put in the high impedance state whenever CE
dual-line control gives designers flexibility in preventing bus contention.
3608A–FLASH–04/06
input with CE low and OE high or by
input with WE low and OE high. The address is latched
or CE. Valid data is latched on the rising edge of the WE or
pulse, whichever occurs first. The addresses used in the command sequences are not
or OE is high. This
3
4.3Reset
A RESET input pin is provided to ease some system applications. When RESET is at a logic
high level, the device is in its standard operating mode. A low level on the RESET
present device operation and puts the outputs of the device in a high-impedance state. When
a high level is reasserted on the RESET
4.4Erase
Before a word can be reprogrammed it must be erased. The erased state of the memory bits is
a logical “1”. The individual sectors can be erased by using the Sector Erase command.
4.4.1Sector Erase
The device is organized into 135 sectors (SA0 - SA134) that can be individually erased. The
Sector Erase command is a two-bus cycle operation. The sector address and the D0H Data
Input command are latched on the rising edge of WE
edge of WE
operation is internally controlled; it will automatically time to completion. The maximum time to
erase a sector is t
operation terminating immediately.
4.5Word Programming
Once a memory sector is erased, it is programmed (to a logical “0”) on a word-by-word basis.
Programming is accomplished via the Internal Device command register and is a two-bus
cycle operation. The device will automatically generate the required internal program pulses.
pin halts the
pin, the device returns to read mode.
. The sector erase starts after the rising
of the second cycle provided the given sector has not been protected. The erase
. An attempt to erase a sector that has been protected will result in the
SEC
4.6VPP Pin
Any commands except Read Status Register, Program Suspend and Program Resume 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
gram status bit is a “1”, the device was not able to verify that the program operation was
performed successfully. The status register indicates the programming status. While the program sequence executes, status bit I/O7 is “0”.
The circuitry of the AT49BV640D(T) is designed so that the device cannot be programmed or
erased if the V
and erase operations can be performed. The VPP pin cannot be left floating.
voltage is less that 0.4V. When VPP is at 1.65V or above, normal program
PP
cycle time. If the pro-
BP
4
AT49BV640D(T)
3608A–FLASH–04/06
4.7Read Status Register
The status register indicates the status of device operations and the success/failure of that
operation. The Read Status Register command causes subsequent reads to output data from
the status register until another command is issued. To return to reading from the memory,
issue a Read command.
The status register bits are output on I/O7 - I/O0. The upper byte, I/O15 - I/O8, outputs 00H
when a Read Status Register command is issued.
AT49BV640D(T)
The contents of the status register [SR7:SR0] are latched on the falling edge of OE
(whichever occurs last), which prevents possible bus errors that might occur if status register
contents change while being read. CE
or OE must be toggled with each subsequent status
read, or the status register will not indicate completion of a Program or Erase operation.
When the Write State Machine (WSM) is active, SR7 will indicate the status of the WSM; the
remaining bits in the status register indicate whether the WSM was successful in performing
the preferred operation (see Table 4-1).
Table 4-1.Status Register Bit Definition
WSMSESSESPRSVPPSPSSSLSR
76543210
Notes
SR7 WRITE STATE MACHINE STATUS (WSMS)
1 = Ready
0 = Busy
SR6 = ERASE SUSPEND STATUS (ESS)
1 = Erase Suspended
0 = Erase In Progress/Completed
SR5 = ERASE STATUS (ES)
1 = Error in Sector Erase
0 = Successful Sector Erase
Check Write State Machine bit first to determine Word Program
or Sector Erase completion, before checking program or erase
status bits.
When Erase Suspend is issued, WSM halts execution and sets
both WSMS and ESS bits to “1” – ESS bit remains set to “1” until
an Erase Resume command is issued.
When this bit is set to “1”, WSM has applied the max number of
erase pulses to the sector and is still unable to verify successful
sector erasure.
or CE
SR4 = PROGRAM STATUS (PRS)
1 = Error in Programming
0 = Successful Programming
SR3 = VPP STATUS (VPPS)
1 = VPP Low Detect, Operation Abort
0 = VPP OK
SR2 = PROGRAM SUSPEND STATUS (PSS)
1 = Program Suspended
0 = Program in Progress/Completed
SR1 = SECTOR LOCK STATUS (SLS)
1 = Prog/Erase attempted on a locked sector; Operation aborted.
0 = No operation to locked sectors
SR0 = Reserved for Future Enhancements (R)
Note:1. A Command Sequence Error is indicated when SR1, SR3, SR4 and SR5 are set.
3608A–FLASH–04/06
When this bit is set to “1”, WSM has attempted but failed to
program a word
The V
level. The WSM interrogates V
Erase command sequences have been entered and informs the
system if VPP has not been switched on. The VPP is also checked
before the operation is verified by the WSM.
When Program Suspend is issued, WSM halts execution and
sets both WSMS and PSS bits to “1”. PSS bit remains set to “1”
until a Program Resume command is issued.
If a Program or Erase operation is attempted to one of the locked
sectors, this bit is set by the WSM. The operation specified is
aborted and the device is returned to read status mode.
This bit is reserved for future use and should be masked out
when polling the status register.
status bit does not provide continuous indication of VPP
PP
level only after the Program or
PP
5
4.8Clear Status Register
The WSM can set status register bits 1 through 7 and can clear bits 2, 6 and 7; but, the WSM
cannot clear status register bits 1, 3, 4 or 5. Because bits 1, 3, 4 and 5 indicate various error
conditions, these bits can be cleared only through the Clear Status Register command. By
allowing the system software to control the resetting of these bits, several operations may be
performed (such as cumulatively programming several addresses or erasing multiple sectors
in sequence) before reading the status register to determine if an error occurred during those
operations. The status register should be cleared before beginning another operation. The
Read command must be issued before data can be read from the memory array. The status
register can also be cleared by resetting the device.
4.9Flexible Sector Protection
The AT49BV640D(T) offers two sector protection modes, the Softlock and the Hardlock. The
Softlock mode is optimized as sector protection for sectors whose content changes frequently.
The Hardlock protection mode is recommended for sectors whose content changes infrequently. Once either of these two modes is enabled, the contents of the selected sector is
read-only and cannot be erased or programmed. Each sector can be independently programmed for either the Softlock or Hardlock sector protection mode. At power-up and reset, all
sectors have their Softlock protection mode enabled.
4.9.1Softlock and Unlock
The Softlock protection mode can be disabled by issuing a two-bus cycle Unlock command to
the selected sector. Once a sector is unlocked, its contents can be erased or programmed. To
enable the Softlock protection mode, a two-bus cycle Softlock command must be issued to the
selected sector.
4.9.2Hardlock and Write Protect (WP
The Hardlock sector protection mode operates in conjunction with the Write Protection (WP
pin. The Hardlock sector protection mode can be enabled by issuing a two-bus cycle Hardlock
software command to the selected sector. The state of the Write Protect pin affects whether
the Hardlock protection mode can be overridden.
• When the WP pin is low and the Hardlock protection mode is enabled, the sector cannot be
unlocked and the contents of the sector is read-only.
• When the WP pin is high, the Hardlock protection mode is overridden and the sector can be
unlocked via the Unlock command.
To disable the Hardlock sector protection mode, the chip must be either reset or power cycled.
)
)
6
AT49BV640D(T)
3608A–FLASH–04/06
AT49BV640D(T)
Table 4-2.Hardlock and Softlock Protection Configurations in Conjunction with WP
Erase/
Hard-
V
PP
/5V000YesNo sector is locked
V
CC
WP
lock
VCC/5V001No
V
/5V011No
CC
/5V100YesNo sector is locked.
V
CC
VCC/5V101No
V
/5V110Yes
CC
V
/5V111No
CC
V
IL
xx xNo
Soft-
lock
Prog
Allowed?Comments
Sector is Softlocked. The Unlock
command can unlock the sector.
Hardlock protection mode is
enabled. The sector cannot be
unlocked.
Sector is Softlocked. The Unlock
command can unlock the sector.
Hardlock protection mode is
overridden and the sector is not
locked.
Hardlock protection mode is
overridden and the sector can be
unlocked via the Unlock command.
Note:1. The notation [X, Y, Z] denotes the locking state of a sector. The current locking state of a
sector is defined by the state of WP
and the two bits of the sector-lock status D[1:0].
7
4.9.3Sector Protection Detection
A software method is available to determine if the sector protection Softlock or Hardlock features are enabled. When the device is in the software product identification mode a read from
the I/O0 and I/O1 at address location 00002H within a sector will show if the sector is
unlocked, softlocked, or hardlocked.
Table 4-3.Sector Protection Status
I/O1I/O0Sector Protection Status
00Sector Not Locked
01Softlock Enabled
10Hardlock Enabled
11Both Hardlock and Softlock Enabled
4.10Erase Suspend/Erase Resume
The Erase Suspend command allows the system to interrupt a sector erase operation and
then program or read data from a different sector within the memory. After the Erase Suspend
command is given, the device requires a maximum time of 15 µs to suspend the erase operation. After the erase operation has been suspended, the system can then read data or
program data to any other sector within the device. An address is not required during the
Erase Suspend command. During a sector erase suspend, another sector cannot be erased.
To resume the sector erase operation, the system must write the Erase Resume command.
The Erase Resume command is a one-bus cycle command. The only valid commands while
erase is suspended are Read Status Register, Product ID Entry, CFI Query, Program, Program Resume, Erase Resume, Sector Softlock/Hardlock, and Sector Unlock.
4.11Program Suspend/Program Resume
The Program Suspend command allows the system to interrupt a programming operation and
then read data from a different word within the memory. After the Program Suspend command
is given, the device requires a maximum of 10 µs to suspend the programming operation. After
the programming operation has been suspended, the system can then read from any other
word within the device. An address is not required during the program suspend operation. To
resume the programming operation, the system must write the Program Resume command.
The program suspend and resume are one-bus cycle commands. The command sequence for
the erase suspend and program suspend are the same, and the command sequence for the
erase resume and program resume are the same. Read, Read Status Register, Product ID
Entry, Program Resume are valid commands during a Program Suspend.
4.12Product Identification
The product identification mode identifies the device and manufacturer as Atmel. It may be
accessed by a software operation. For details, see “Operating Modes” on page 21.
8
AT49BV640D(T)
3608A–FLASH–04/06
4.13128-bit Protection Register
The AT49BV640D(T) contains a 128-bit register that can be used for security purposes in system design. The protection register is divided into two 64-bit blocks. The two blocks are
designated as block A and block B. The data in block A is non-changeable and is programmed
at the factory with a unique number. The data in block B is programmed by the user and can
be locked out such that data in the sector cannot be reprogrammed. To program block B in the
protection register, the two-bus cycle Program Protection Register command must be used as
shown in the “Command Definition Table” on page 15. To lock out block B, the two-bus cycle
Lock Protection Register command must be used as shown in the “Command Definition
Table”. Data bit D1 must be zero during the second bus cycle. To determine whether block B
is locked out, use the status of block B protection command. If data bit D1 is zero, block B is
locked. If data bit D1 is one, block B can be reprogrammed. Please see the “Protection Regis-
ter Addressing Table” on page 16 for the address locations in the protection register. To read
the protection register, the Product ID Entry command is given followed by a normal read
operation from an address within the protection register. After determining whether block B is
protected or not, or reading the protection register, the Read command must be given to return
to the read mode.
4.14Common Flash Interface (CFI)
CFI is a published, standardized data structure that may be read from a flash device. CFI
allows system software to query the installed device to determine the configurations, various
electrical and timing parameters, and functions supported by the device. CFI is used to allow
the system to learn how to interface to the flash device most optimally. The two primary benefits of using CFI are ease of upgrading and second source availability. The command to enter
the CFI Query mode is a one-bus cycle command which requires writing data 98h to any
address. The CFI Query command can be written when the device is ready to read data or can
also be written when the part is in the product ID mode. Once in the CFI Query mode, the system can read CFI data at the addresses given in “Common Flash Interface Definition Table”
on page 26. To return to the read mode, the read command should be issued.
AT49BV640D(T)
4.15Hardware Data Protection
Hardware features protect against inadvertent programs to the AT49BV640D(T) in the following ways: (a) V
erase functions are inhibited. (b) V
level, the device will automatically time-out 10 ms (typical) before programming. (c) Program
inhibit: holding any one of OE
inhibit: V
is less than V
PP
4.16Input Levels
While operating with a 2.65V to 3.6V power supply, the address inputs and control inputs (OE,
CE
and WE) may be driven from 0 to 5.5V without adversely affecting the operation of the
device. The I/O lines can be driven from 0 to V
4.17Output Levels
For the AT49BV640D(T), output high levels are equal to V
3.6V output levels, V
3608A–FLASH–04/06
sense: if VCC is below 1.8V (typical), the device is reset and the program and
CC
power-on delay: once VCC has reached the VCC sense
CC
low, CE high or WE high inhibits program cycles. (d) Program
.
ILPP
+ 0.6V.
CCQ
- 0.1V (not VCC). For 2.65V to
CCQ
must be tied to VCC.
CCQ
9
4.18Word Program Flowchart
Start
Wri te 40,
Any Addr ess
Wr ite D ata,
Wor d Ad dr es s
Read-Status
Regi ster
SR7 =
1
Full Status
Check
(If Desired)
Progr am
Complete
(Set up)
(Confirm)
0
No
Suspend?
Program
Suspend
Loop
Ye s
4.19Word Program Procedure
Bus
OperationCommandComments
Write
Program
Setup
WriteData
ReadNone
IdleNone
Repeat for subsequent Word Program operations.
Full status register check can be done after each program, or
after a sequence of program operations.
Write FF after the last operation to set to the Read state.
Data = 40
Addr = Any Address
Data = Data to program
Addr = Location to program
Status register data: Toggle CE
or
to update status register
OE
Check SR7
1 = WSM Ready
0 = WSM Busy
4.20Full Status Check Flowchart
Read Status
Regi ster
SR3 =
0
SR4 =
0
SR1 =
0
Program
Successful
1V
1
1
Range
PP
Error
Program
Error
Device
Protect Er ror
4.21Full Status Check Procedure
Bus
OperationCommandComments
IdleNone
IdleNone
IdleNone
SR3 MUST be cleared before the Write State Machine allows
further program attempts.
If an error is detected, clear the status register before
continuing operations – only the Clear Status Register
command clears the status register error bits.
Check SR3:
Error
1 = V
PP
Check SR4:
1 = Data Program Error
Check SR1:
1 = Sector locked; operation
aborted
10
AT49BV640D(T)
3608A–FLASH–04/06
AT49BV640D(T)
4.22Program Suspend/Resume Flowchart
Start
Wr ite B0
Any Address
Wr ite 70
Any Address
Read Status
Register
SR7 =
SR2 =
Wr ite FF
Read
Data
Done
Reading
Wr ite D 0
Any Address
1
1
Ye s
(Prog ram Suspend)
(Read S tatus)
0
0
Completed
(ReadArray)
No
(Pr ogramResu me)
Progr am
Wr ite F F
Read
Data
(Re ad
Array)
4.23Program Suspend/Resume Procedure
Bus
OperationCommandComments
Write
Write
Program
Suspend
Read
Status
ReadNone
IdleNone
IdleNone
WriteRead Array
ReadNone
Write
Program
Resume
Data = B0
Addr = Any address
Data = 70
Addr = Any address
Status register data: Toggle CE
or
to update status register
OE
Addr = Any address
Check SR7
1 = WSM Ready
0 = WSM Busy
Check SR2
1 = Program suspended
0 = Program completed
Data = FF
Addr = Any address
Read data from any word in the
memory
Data = D0
Addr = Any address
Progr am
Resumed
3608A–FLASH–04/06
11
4.24Sector Erase Flowchart
Start
Wri te 20,
Addr ess
Any
Wri te D 0,
Addr ess
Sector
Read Status
Regist er
SR7 =
Full Er ase
Status Check
(IfDesired)
Sector
Complete
(Erase)
Sector
(Erase Confirm)
0Ye s
1
Erase
No
Suspend
Eras e
Suspend
Eras e
Loop
4.25Sector Erase Procedure
Bus
OperationCommandComments
Sector
Write
Erase
Setup
Write
Erase
Confirm
ReadNone
IdleNone
Repeat for subsequent sector erasures.
Full status register check can be done after each sector erase,
or after a sequence of sector erasures.
Write FF after the last operation to enter read mode.
Data = 20
Addr = Any Address
Data = D0
Addr = Sector to be erased (SA)
Status register data: Toggle CE
or
to update status register data
OE
Check SR7
1 = WSMS Ready
0 = WSMS Busy
4.26Full Erase Status Check Flowchart
Read Status
Regist er
SR3 =
SR4, SR5
SR5 =
SR1 =
Sector
Successful
0
=
0
0
0
Erase
1
1,1
1
1
VPPRange
Error
Command
Sequenc e Error
Sector
Eras e
Error
Sector
Lock ed
Error
4.27Full Erase Status Check Procedure
Bus
OperationCommandComments
IdleNone
IdleNone
IdleNone
IdleNone
SR1, SR3 must be cleared before the Write State Machine
allows further erase attempts.
Only the Clear Status Register command clears SR1, SR3,
SR4, SR5.
If an error is detected, clear the status register before
attempting an erase retry or other error recovery.
Read or program data from/to
sector other than the one being
erased
Data = D0
Addr = Any address
Erase
Resumed
Read Array
Data
3608A–FLASH–04/06
13
4.30Protection Register Programming
Flowchart
Start
4.31Protection Register Programming
Procedure
Bus
OperationCommandComments
Wri te C0,
Any Address
Wri te PR
Address Data
Read-Status
Register
SR7 =
Full-Status
Chec k
(If Des ired)
Progr am
Complete
(Program-Setup)
(Confirm Data )
0
1
4.32Full Status Check Flowchart
Read Status
Register Data
Write
Write
Program
PR Setup
Protection
Program
Data = C0
Addr = Any Address
Data = Data to Program
Addr = Location to Program
Status register data: Toggle CE
ReadNone
or
to update status register data
OE
Check SR7
IdleNone
1 = WSMS Ready
0 = WSMS Busy
Program Protection Register operation addresses must be
within the protection register address space. Addresses
outside this space will return an error.
Repeat for subsequent programming operations.
Full status register check can be done after each program, or
after a sequence of program operations.
Write FF after the last operation to return to the Read mode.
4.33Full Status Check Procedure
Bus
OperationCommandComments
SR3, SR4
0
SR1, SR4
0
SR1, SR4
0
Program
Successful
1, 1
=VPPRange Error
0, 1
1, 1
Progr am Er ror
Regi ster Locked;
Progr am Abor ted
=
=
IdleNone
IdleNone
Check SR1, SR3, SR4:
0,1,1 = V
Range Error
PP
Check SR1, SR3, SR4:
0,0,1 = Programming Error
Check SR1, SR3, SR4:
IdleNone
1, 0,1 = Sector locked; operation
aborted
SR3 must be cleared before the Write State Machine allows
further program attempts.
Only the Clear Status Register command clears SR1, SR3,
SR4.
If an error is detected, clear the status register before
attempting a program retry or other error recovery.
14
AT49BV640D(T)
3608A–FLASH–04/06
5.Command Definition Table
AT49BV640D(T)
1st Bus Cycle2nd Bus Cycle3rd Bus Cycle
AddrDataAddrDataAddrData
Command Sequence
Bus
Cycles
Read1XXFF
Sector Erase2XX20SA
Word Program2XX40/10AddrD
Dual Word Program
(3)
3XXE0Addr0D
(2)
D0
IN0
IN
Addr1D
IN1
Erase/Program Suspend1XXB0
Erase/Program Resume1XXD0
Product ID Entry
Sector Softlock2XX60SA
Sector Hardlock2XX60SA
Sector Unlock2XX60SA
Read Status Register2XX70XXD
(4)
1XX90
(2)
(2)
(2)
01
2F
D0
OUT
(5)
Clear Status Register1XX50
Program Protection Register (Block B)2XXC0Addr
(6)
D
IN
Lock Protection Register (Block B)2XXC080FFFD
Status of Protection Register (Block B)2XX9080D
OUT1
(7)
CFI Query1XX98
Notes:1. The DATA FORMAT shown for each bus cycle is as follows; I/O7 - I/O0 (Hex). I/O15 - I/O8 are don’t care. The ADDRESS FORMAT
shown for each bus cycle is as follows: A7 - A0 (Hex). Address A21 through A8 are don’t care.
2. SA = sector address. Any word address within a sector can be used to designate the sector address (see pages 17 - 20 for details).
3. This fast programming option enables the user to program two words in parallel only when V
Addr1, of the two words, D
and D
IN0
, must only differ in address A0. This command should be used during manufacturing pur-
IN1
= 9.5V. The addresses, Addr0 and
PP
poses only.
4. During the second bus cycle, the manufacturer code is read from address 000000H, the device code is read from address
000001H, and the data in the protection register is read from addresses 000081H - 000088H.
5. The status register bits are output on I/O7 - I/O0.
6. Any address within the user programmable protection register region. Address locations are shown on the “Protection Register
Addressing Table” on page 16.
7. If data bit D1 is “0”, block B is locked. If data bit D1 is “1”, block B can be reprogrammed.
3608A–FLASH–04/06
15
6.Absolute Maximum Ratings*
Temperature under Bias ................................ -55°C to +125°C
Storage Temperature ..................................... -65°C to +150°C
All Input Voltages Except V
(including NC Pins)
with Respect to Ground ...................................-0.6V to +6.25V
All Output Voltages
with Respect to Ground ...........................-0.6V to V
V
Input Voltage
PP
with Respect to Ground .....................................-0.6V to 10.0V
PP
CCQ
+ 0.6V
*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.
7.Protection Register Addressing Table
AddressUseBlockA8A7A6A5A4A3A2A1A0
81FactoryA 010000001
82FactoryA 010000010
83FactoryA 010000011
84FactoryA 010000100
85UserB 010000101
86UserB 010000110
87UserB 010000111
88UserB 010001000
Note:All address lines not specified in the above table must be “0” when accessing the protection register, i.e., A21 - A8 = 0.
16
AT49BV640D(T)
3608A–FLASH–04/06
AT49BV640D(T)
8.Memory Organization –
AT49BV640D
Address Range
SectorSize (Words)
SA04K00000 - 00FFF
SA14K01000 - 01FFF
SA24K02000 - 02FFF
SA34K03000 - 03FFF
SA44K04000 - 04FFF
SA54K05000 - 05FFF
SA64K06000 - 06FFF
SA74K07000 - 07FFF
SA832K08000 - 0FFFF
SA932K10000 - 17FFF
SA1032K18000 - 1FFFF
SA1132K20000 - 27FFF
SA1232K28000 - 2FFFF
SA1332K30000 - 37FFF
SA1432K38000 - 3FFFF
SA1532K40000 - 47FFF
SA1632K48000 - 4FFFF
SA1732K50000 - 57FFF
SA1832K58000 - 5FFFF
SA1932K60000 - 67FFF
SA2032K68000 - 6FFFF
SA2132K70000 - 77FFF
SA2232K78000 - 7FFFF
SA2332K80000 - 87FFF
SA2432K88000 - 8FFFF
SA2532K90000 - 97FFF
SA2632K98000 - 9FFFF
SA2732KA0000 - A7FFF
SA2832KA8000 - AFFFF
SA2932KB0000 - B7FFF
SA3032KB8000 - BFFFF
SA3132KC0000 - C7FFF
SA3232KC8000 - CFFFF
SA3332KD0000 - D7FFF
SA3432KD8000 - DFFFF
(A21 - A0)
x16
8.Memory Organization –
AT49BV640D (Continued)
SectorSize (Words)
SA3532KE0000 - E7FFF
SA3632KE8000 - EFFFF
SA3732KF0000 - F7FFF
SA3832KF8000 - FFFFF
SA3932K100000 - 107FFF
SA4032K108000 - 10FFFF
SA4132K110000 - 117FFF
SA4232K118000 - 11FFFF
SA4332K120000 - 127FFF
SA4432K128000 - 12FFFF
SA4532K130000 - 137FFF
SA4632K138000 - 13FFFF
SA4732K140000 - 147FFF
SA4832K148000 - 14FFFF
SA4932K150000 - 157FFF
SA5032K158000 - 15FFFF
SA5132K160000 - 167FFF
SA5232K168000 - 16FFFF
SA5332K170000 - 177FFF
SA5432K178000 - 17FFFF
SA5532K180000 - 187FFF
SA5632K188000 - 18FFFF
SA5732K190000 - 197FFF
SA5832K198000 - 19FFFF
SA5932K1A0000 - 1A7FFF
SA6032K1A8000 - 1AFFFF
SA6132K1B0000 - 1B7FFF
SA6232K1B8000 - 1BFFFF
SA6332K1C0000 - 1C7FFF
SA6432K1C8000 - 1CFFFF
SA6532K1D0000 - 1D7FFF
SA6632K1D8000 - 1DFFFF
SA6732K1E0000 - 1E7FFF
SA6832K1E8000 - 1EFFFF
SA6932K1F0000 - 1F7FFF
SA7032K1F8000 - 1FFFFF
Address Range
(A21 - A0)
x16
3608A–FLASH–04/06
17
8.Memory Organization –
8.Memory Organization –
AT49BV640D (Continued)
x16
SectorSize (Words)
SA7132K200000 - 207FFF
SA7232K208000 - 20FFFF
SA7332K210000 - 217FFF
SA7432K218000 - 21FFFF
SA7532K220000 - 227FFF
SA7632K228000 - 22FFFF
SA7732K230000 - 237FFF
SA7832K238000 - 23FFFF
SA7932K240000 - 247FFF
SA8032K248000 - 24FFFF
SA8132K250000 - 257FFF
SA8232K258000 - 25FFFF
SA8332K260000 - 267FFF
SA8432K268000 - 26FFFF
SA8532K270000 - 277FFF
SA8632K278000 - 27FFFF
SA8732K280000 - 287FFF
SA8832K288000 - 28FFFF
SA8932K290000 - 297FFF
SA9032K298000 - 29FFFF
SA9132K2A0000 - 2A7FFF
SA9232K2A8000 - 2AFFFF
SA9332K2B0000 - 2B7FFF
SA9432K2B8000 - 2BFFFF
SA9532K2C0000 - 2C7FFF
SA9632K2C8000 - 2CFFFF
SA9732K2D0000 - 2D7FFF
SA9832K2D8000 - 2DFFFF
SA9932K2E0000 - 2E7FFF
SA10032K2E8000 - 2EFFFF
SA10132K2F0000 - 2F7FFF
SA10232K2F8000 - 2FFFFF
Address Range
(A21 - A0)
AT49BV640D (Continued)
x16
SectorSize (Words)
SA10332K300000 - 307FFF
SA10432K308000 - 30FFFF
SA10532K310000 - 317FFF
SA10632K318000 - 31FFFF
SA10732K320000 - 327FFF
SA10832K328000 - 32FFFF
SA10932K330000 - 337FFF
SA11032K338000 - 33FFFF
SA11132K340000 - 347FFF
SA11232K348000 - 34FFFF
SA11332K350000 - 357FFF
SA11432K358000 - 35FFFF
SA11532K360000 - 367FFF
SA11632K368000 - 36FFFF
SA11732K370000 - 377FFF
SA11832K378000 - 37FFFF
SA11932K380000 - 387FFF
SA12032K388000 - 38FFFF
SA12132K390000 - 397FFF
SA12232K398000 - 39FFFF
SA12332K3A0000 - 3A7FFF
SA12432K3A8000 - 3AFFFF
SA12532K3B0000 - 3B7FFF
SA12632K3B8000 - 3BFFFF
SA12732K3C0000 - 3C7FFF
SA12832K3C8000 - 3CFFFF
SA12932K3D0000 - 3D7FFF
SA13032K3D8000 - 3DFFFF
SA13132K3E0000 - 3E7FFF
SA13232K3E8000 - 3EFFFF
SA13332K3F0000 - 3F7FFF
SA13432K3F8000 - 3FFFFF
Address Range
(A21 - A0)
18
AT49BV640D(T)
3608A–FLASH–04/06
AT49BV640D(T)
9.Memory Organization –
AT49BV640DT
Address Range
SectorSize (Words)
SA032K00000 - 07FFF
SA132K08000 - 0FFFF
SA232K10000 - 17FFF
SA332K18000 - 1FFFF
SA432K20000 - 27FFF
SA532K28000 - 2FFFF
SA632K30000 - 37FFF
SA732K38000 - 3FFFF
SA832K40000 - 47FFF
SA932K48000 - 4FFFF
SA1032K50000 - 57FFF
SA1132K58000 - 5FFFF
SA1232K60000 - 67FFF
SA1332K68000 - 6FFFF
SA1432K70000 - 77FFF
SA1532K78000 - 7FFFF
SA1632K80000 - 87FFF
SA1732K88000 - 8FFFF
SA1832K90000 - 97FFF
SA1932K98000 - 9FFFF
SA2032KA0000 - A7FFF
SA2132KA8000 - AFFFF
SA2232KB0000 - B7FFF
SA2332KB8000 - BFFFF
SA2432KC0000 - C7FFF
SA2532KC8000 - CFFFF
SA2632KD0000 - D7FFF
SA2732KD8000 - DFFFF
SA2832KE0000 - E7FFF
SA2932KE8000 - EFFFF
SA3032KF0000 - F7FFF
SA3132KF8000 - FFFFF
SA3232K100000 - 107FFF
SA3332K108000 - 10FFFF
SA3432K110000 - 117FFF
SA3532K118000 - 11FFFF
(A21 - A0)
x16
9.Memory Organization –
AT49BV640DT (Continued)
SectorSize (Words)
SA3632K120000 - 127FFF
SA3732K128000 - 12FFFF
SA3832K130000 - 137FFF
SA3932K138000 - 13FFFF
SA4032K140000 - 147FFF
SA4132K148000 - 14FFFF
SA4232K150000 - 157FFF
SA4332K158000 - 15FFFF
SA4432K160000 - 167FFF
SA4532K168000 - 16FFFF
SA4632K170000 - 177FFF
SA4732K178000 - 17FFFF
SA4832K180000 - 187FFF
SA4932K188000 - 18FFFF
SA5032K190000 - 197FFF
SA5132K198000 - 19FFFF
SA5232K1A0000 - 1A7FFF
SA5332K1A8000 - 1AFFFF
SA5432K1B0000 - 1B7FFF
SA5532K1B8000 - 1BFFFF
SA5632K1C0000 - 1C7FFF
SA5732K1C8000 - 1CFFFF
SA5832K1D0000 - 1D7FFF
SA5932K1D8000 - 1DFFFF
SA6032K1E0000 - 1E7FFF
SA6132K1E8000 - 1EFFFF
SA6232K1F0000 - 1F7FFF
SA6332K1F8000 - 1FFFFF
SA6432K200000 - 207FFF
SA6532K208000 - 20FFFF
SA6632K210000 - 217FFF
SA6732K218000 - 21FFFF
SA6832K220000 - 227FFF
SA6932K228000 - 22FFFF
SA7032K230000 - 237FFF
SA7132K238000 - 23FFFF
Address Range
(A21 - A0)
x16
3608A–FLASH–04/06
19
9.Memory Organization –
9.Memory Organization –
AT49BV640DT (Continued)
x16
SectorSize (Words)
SA7232K240000 - 247FFF
SA7332K248000 - 24FFFF
SA7432K250000 - 257FFF
SA7532K258000 - 25FFFF
SA7632K260000 - 267FFF
SA7732K268000 - 26FFFF
SA7832K270000 - 277FFF
SA7932K278000 - 27FFFF
SA8032K280000 - 287FFF
SA8132K288000 - 28FFFF
SA8232K290000 - 297FFF
SA8332K298000 -29FFFF
SA8432K2A0000 - 2A7FFF
SA8532K2A8000 - 2AFFFF
SA8632K2B0000 - 2B7FFF
SA8732K2B8000 - 2BFFFF
SA8832K2C0000 - 2C7FFF
SA8932K2C8000 - 2CFFFF
SA9032K2D0000 - 2D7FFF
SA9132K2D8000 - 2DFFFF
SA9232K2E0000 - 2E7FFF
SA9332K2E8000 - 2EFFFF
SA9432K2F0000 - 2F7FFF
SA9532K2F8000 - 2FFFFF
SA9632K300000 - 307FFF
SA9732K308000 - 30FFFF
SA9832K310000 - 317FFF
SA9932K318000 - 31FFFF
SA10032K320000 - 327FFF
SA10132K328000 - 32FFFF
SA10232K330000 - 337FFF
SA10332K338000 - 33FFFF
Address Range
(A21 - A0)
AT49BV640DT (Continued)
x16
SectorSize (Words)
SA10432K340000 - 347FFF
SA10532K348000 - 34FFFF
SA10632K350000 - 357FFF
SA10732K358000 - 35FFFF
SA10832K360000 - 367FFF
SA10932K368000 - 36FFFF
SA11032K370000 - 377FFF
SA11132K378000 - 37FFFF
SA11232K380000 - 387FFF
SA11332K388000 - 38FFFF
SA11432K390000 - 397FFF
SA11532K398000 - 39FFFF
SA11632K3A0000 - 3A7FFF
SA11732K3A8000 - 3AFFFF
SA11832K3B0000 - 3B7FFF
SA11932K3B8000 - 3BFFFF
SA12032K3C0000 - 3C7FFF
SA12132K3C8000 - 3CFFFF
SA12232K3D0000 - 3D7FFF
SA12332K3D8000 - 3DFFFF
SA12432K3E0000 - 3E7FFF
SA12532K3E8000 - 3EFFFF
SA12632K3F0000 - 3F7FFF
SA1274K3F8000 - 3F8FFF
SA1284K3F9000 - 3F9FFF
SA1294K3FA000 - 3FAFFF
SA1304K3FB000 - 3FBFFF
SA1314K3FC000 - 3FCFFF
SA1324K3FD000 - 3FDFFF
SA1334K3FE000 - 3FEFFF
SA1344K3FF000 - 3FFFFF
Address Range
(A21 - A0)
20
AT49BV640D(T)
3608A–FLASH–04/06
AT49BV640D(T)
10. DC and AC Operating Range
AT49BV640D(T)-70
Operating Temperature (Case)Industrial-40°C - 85°C
VCC Power Supply2.65V - 3.6V
11. Operating Modes
V
PP
(2)
X
IHPP
(1)
AiI/O
AiD
(4)
AiD
ModeCEOEWERESETV
ReadV
Program/Erase
(3)
Standby/Program
Inhibit
V
IL
V
V
V
IL
IH
IH
X
V
IL
(2)
IH
V
IL
XVIHXXHigh Z
V
IH
V
IH
OUT
IN
XXVIHV
Program Inhibit
XV
IL
XVIHX
XXX X V
Output DisableXV
IH
XVIHXHigh Z
ResetXXXV
Product Identification
Software
IH
IL
V
IH
X
(5)
ILPP
XXHigh Z
A0 = VIL, A1 - A21 = V
A0 = VIH, A1 - A21 = V
Manufacturer Code
IL
IL
Device Code
Notes:1. The VPP pin can be tied to VCC. For faster program operation, VPP can be set to 9.5V ± 0.5V.
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906, USA
Tel: 1(719) 576-3300
Fax: 1(719) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax: (33) 4-76-58-34-80
Literature Requests
www.atmel.com/literature
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-
TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT
OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided
otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use
as components in applications intended to support or sustain life