4AT49F002A(N)(T) 3354D–FLASH–8/03
SECTOR ERASE: As an alternative to a full chip erase, the device is organized into sectors
that can be individually erased. There are two 8K-byte parameter block sections and four main
memory blocks . T he 8K-b yte paramet er bl ock sect ions and th e fo ur main me mory b locks can
be independently erased and reprogrammed. The Sector Erase command is a six bus cycle
operation. The sector ad dress is l atched on the falling WE edge of the sixth cy cle while t he
30H data in put co mma nd is lat che d at the ris ing edge of WE. The se ct or erase s tar ts after the
rising edge of WE of the sixth cycle. The erase operation is internally c ontrolled; it will auto-
matically time to completion.
BYTE PROGRAMMING: Once the memory array is erased, the device is programmed (to a
logical “0”) on a byte-by-byte basis. Please note that a data “0” cannot be programmed back to
a “1” ; only erase op eratio ns can conve rt “0”s t o “1”s . Prog ramming is ac compli shed v ia the
internal device command register and is a 4 bus cycle operation (please refer to the Command
Definitions table). The device will automatically generate the required internal program pulses.
The prog ram cycle has add resses latch ed on the fal ling edge of WE or CE, whic hever oc curs
last, and the data l atched on the rising edge of WE or CE, whichever occurs fir st. Program-
ming is completed after the specified tBP cycle time. The DATA polling feature may also be
used to indicate the end of a program cycle.
BOOT BLOCK PROGRAMMING LOCKOUT: The devic e has one desi gnated bl ock that has
a progra mmin g lockou t feature. This fe ature pre vents pr ogrammi ng of data in the des ignate d
block once the feature has been enabled. The size of the block is 16K bytes. This block,
refer red to as th e boot block , can cont ain secur e code that i s used to bri ng up the s ystem.
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 pr otected reg ion is opt ional to the use r. The addr ess range of the boot block is 00000
to 03FFF for the AT49F002A(N) while the address range of the boot block is 3C000 to 3FFFF
for the AT49F002A(N)T.
Once the feature is enabled, the data in the boot block can no longer be erased or pro-
grammed with inp ut volt age level s of 5.5V or less . Data in th e main m emory bl ock can s till be
changed through the regular programming method. To activate the lockout feature, a series of
six pro gram commands to specific addresses with specific data must b e performed. Pl ease
refer to the Command Definitions table.
BOOT BLOCK LO CKOUT DETECTIO N: A software method is available to determine if pro-
gramm ing of th e boot bl ock sec tion i s locke d out. Wh en th e device is in th e softwa re produ ct
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 for the
AT49F0 02A(N), an d a read from ad dress loc ation 3C0 02H will sho w if program ming the boo t
block is locked out for AT49F002A(N)T. If the data on I/O0 is low, the boot block can be pro-
grammed ; if t he dat a on I /O0 i s high , the p rogram loc kout featu re h as be en acti vated and th e
block c annot be prog ramme d. The softwa re produc t identi fica tion exit co de shou ld be use d to
return to standard operation.