M29W400DT M29W400DB 4 Mbit (512 Kb x 8 or 256 Kb x 16, boot block) 3 V supply Flash memory Features ■ Supply voltage – VCC = 2.7 V to 3.6 V for Program, Erase and Read ■ Access time: 45, 55, 70 ns ■ Programming time – 10 µs per byte/word typical ■ 11 memory blocks – 1 boot block (top or bottom location) – 2 parameter and 8 main blocks ■ ■ SO44 (M)(1) TSOP48 (N) 12 x 20 mm Program/Erase controller – Embedded byte/word program algorithms FBGA Erase Suspend and Resume modes – Read and Program another block during Erase Suspend ■ Unlock bypass program command – Faster production/batch programming ■ Temporary block unprotection mode ■ Low power consumption – Standby and Automatic Standby ■ 100,000 Program/Erase cycles per block ■ Electronic signature – Manufacturer code: 0020h – Top device code M29W400DT: 00EEh – Bottom device code M29W400DB: 00EFh – ECOPACK® packages December 2007 TFBGA48 (ZA)(1) 6 x 9 mm FBGA TFBGA48 (ZE) 6 x 8 mm 1. These packages are no more in mass production. Rev 6 1/48 www.numonyx.com 1 Contents M29W400DT, M29W400DB Contents 1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 4 2/48 2.1 Address inputs (A0-A17) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Data inputs/outputs (DQ0-DQ7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.3 Data inputs/outputs (DQ8-DQ14) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.4 Data input/output or Address input (DQ15A-1) . . . . . . . . . . . . . . . . . . . . 13 2.5 Chip Enable (E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.6 Output Enable (G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.7 Write Enable (W) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.8 Reset/Block Temporary Unprotect (RP) . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.9 Ready/Busy output (RB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.10 Byte/Word Organization Select (BYTE) . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.11 VCC supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.12 VSS ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Bus operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 Bus Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Bus Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.3 Output Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.4 Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.5 Automatic Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.6 Special bus operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.7 Electronic signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.8 Block protection and blocks unprotection . . . . . . . . . . . . . . . . . . . . . . . . . 17 Command interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.1 Read/Reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2 Auto Select command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.3 Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4 Unlock Bypass command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.5 Unlock Bypass Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 M29W400DT, M29W400DB 5 Contents 4.6 Unlock Bypass Reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.7 Chip Erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.8 Block Erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.9 Erase Suspend command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.10 Erase Resume command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.11 Block Protect and Chip Unprotect commands . . . . . . . . . . . . . . . . . . . . . 22 Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1 Data Polling bit (DQ7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.2 Toggle bit (DQ6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.3 Error bit (DQ5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.4 Erase Timer bit (DQ3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.5 Alternative Toggle bit (DQ2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6 Maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 8 Package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9 Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Appendix A Block address table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Appendix B Block protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 10 B.1 Programmer technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 B.2 In-system technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3/48 List of tables M29W400DT, M29W400DB List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. 4/48 Signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Bus operations, BYTE = VIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Bus operations, BYTE = VIH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Program, Erase times and Program, Erase endurance cycles . . . . . . . . . . . . . . . . . . . . . . 22 Commands, 16-bit mode, BYTE = VIH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Commands, 8-bit mode, BYTE = VIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Status Register bits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Operating and AC measurement conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Device capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 DC characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Read AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Write AC characteristics, Write Enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Write AC characteristics, Chip Enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Reset/Block Temporary Unprotect AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 SO44 – 44 lead plastic small outline, 525 mils body width, package mechanical data . . . 35 TSOP48 – 48 lead plastic thin small outline, 12 x 20 mm, package mechanical data . . . . 36 TFBGA48 6 x 9 mm, 6 x 8 active ball array, 0.80 mm pitch, package mechanical data. . . 37 TFBGA48 6 x 8 mm, 6 x 8 active ball array, 0.80 mm pitch, package mechanical data. . . 38 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Top boot block addresses M29W400DT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Bottom boot block addresses M29W400DB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Programmer technique bus operations, BYTE = VIH or VIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 M29W400DT, M29W400DB List of figures List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 SO connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 TSOP connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 TFBGA connections (top view through package) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Block addresses (x 8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Block addresses (x 16) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Data polling flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Data toggle flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 AC measurement I/O waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 AC measurement load circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Read mode AC waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Write AC waveforms, Write Enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Write AC waveforms, Chip Enable controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Reset/Block Temporary Unprotect AC waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 SO44 - 44 lead plastic small outline, 525 mils body width, package outline. . . . . . . . . . . . 35 TSOP48 – 48 lead plastic thin small outline, 12 x 20 mm, package outline . . . . . . . . . . . . 36 TFBGA48 6 x 9 mm, 6 x 8 active ball array, 0.80 mm pitch, bottom view package outline 37 TFBGA48 6 x 8 mm, 6 x 8 active ball array, 0.80 mm pitch, bottom view package outline 38 Programmer equipment block protect flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Programmer equipment chip unprotect flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 In-system equipment block protect flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 In-system equipment chip unprotect flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5/48 Description 1 M29W400DT, M29W400DB Description The M29W400D is a 4 Mbit (512 K x 8 or 256 K x 16) non-volatile memory that can be read, erased and reprogrammed. These operations can be performed using a single low voltage (2.7 to 3.6 V) supply. On power-up the memory defaults to its Read mode where it can be read in the same way as a ROM or EPROM. The memory is divided into blocks that can be erased independently so it is possible to preserve valid data while old data is erased. Each block can be protected independently to prevent accidental Program or Erase commands from modifying the memory. Program and Erase commands are written to the command interface of the memory. An on-chip Program/Erase controller simplifies the process of programming or erasing the memory by taking care of all of the special operations that are required to update the memory contents. The end of a program or erase operation can be detected and any error conditions identified. The command set required to control the memory is consistent with JEDEC standards. The blocks in the memory are asymmetrically arranged, see Figure 5 and Figure 6, Block addresses. The first or last 64 Kbytes have been divided into four additional blocks. The 16 Kbyte boot block can be used for small initialization code to start the microprocessor, the two 8 Kbyte parameter blocks can be used for parameter storage and the remaining 32 Kbyte is a small main block where the application may be stored. Chip Enable, Output Enable and Write Enable signals control the bus operation of the memory. They allow simple connection to most microprocessors, often without additional logic. The memory is offered in SO44, TSOP48 (12 x 20 mm), TFBGA48 0.8 mm pitch (6 x 9 mm and 6 x 8 mm) packages. The memory is supplied with all the bits erased (set to ’1’). In order to meet environmental requirements, Numonyx offers the M29W400D in ECOPACK® packages. ECOPACK packages are Lead-free. The category of second level interconnect is marked on the package and on the inner box label, in compliance with JEDEC Standard JESD97. The maximum ratings related to soldering conditions are also marked on the inner box label. 6/48 M29W400DT, M29W400DB Figure 1. Description Logic diagram VCC 18 15 DQ0-DQ14 A0-A17 DQ15A–1 W E M29W400DT M29W400DB G BYTE RB RP VSS AI06853 Table 1. Signal names Signal name Function Direction A0-A17 Address inputs Inputs DQ0-DQ7 Data inputs/outputs I/O DQ8-DQ14 Data inputs/outputs I/O DQ15A–1 Data input/output or Address input I/O E Chip Enable Input G Output Enable Input W Write Enable Input RP Reset/Block Temporary Unprotect Input RB Ready/Busy output Output BYTE Byte/word organization select Output VCC Supply voltage VSS Ground NC Not connected internally 7/48 Description M29W400DT, M29W400DB Figure 2. SO connections NC RB A17 A7 A6 A5 A4 A3 A2 A1 A0 E VSS G DQ0 DQ8 DQ1 DQ9 DQ2 DQ10 DQ3 DQ11 44 1 2 43 42 3 4 41 5 40 6 39 38 7 8 37 36 9 10 35 11 M29W400DT 34 12 M29W400DB 33 32 13 31 14 15 30 16 29 28 17 27 18 26 19 25 20 24 21 22 23 RP W A8 A9 A10 A11 A12 A13 A14 A15 A16 BYTE VSS DQ15A–1 DQ7 DQ14 DQ6 DQ13 DQ5 DQ12 DQ4 VCC AI06855 1. NC = Not connected. 8/48 M29W400DT, M29W400DB Figure 3. Description TSOP connections A15 A14 A13 A12 A11 A10 A9 A8 NC NC W RP NC NC RB NC A17 A7 A6 A5 A4 A3 A2 A1 1 48 12 M29W400DT 37 13 M29W400DB 36 24 25 A16 BYTE VSS DQ15A–1 DQ7 DQ14 DQ6 DQ13 DQ5 DQ12 DQ4 VCC DQ11 DQ3 DQ10 DQ2 DQ9 DQ1 DQ8 DQ0 G VSS E A0 AI06854 1. NC = Not connected. 9/48 Description M29W400DT, M29W400DB Figure 4. TFBGA connections (top view through package) 1 2 3 4 5 6 A A3 A7 RB W A9 A13 B A4 A17 NC RP A8 A12 C A2 A6 NC NC A10 A14 D A1 A5 NC NC A11 A15 E A0 DQ0 DQ2 DQ5 DQ7 A16 F E DQ8 DQ10 DQ12 DQ14 BYTE G G DQ9 DQ11 VCC DQ13 DQ15 A–1 H VSS DQ1 DQ3 DQ4 DQ6 VSS AI06856 1. NC = Not connected. 10/48 M29W400DT, M29W400DB Figure 5. Description Block addresses (x 8) M29W400DT Top boot block addresses (x 8) M29W400DB Bottom boot block addresses (x 8) 7FFFFh 7FFFFh 16 Kbyte 64 Kbyte 7C000h 7BFFFh 70000h 6FFFFh 8 Kbyte 64 Kbyte 7A000h 79FFFh 60000h Total of 7 64 Kbyte blocks 8 Kbyte 78000h 77FFFh 32 Kbyte 70000h 6FFFFh 1FFFFh 64 Kbyte 64 Kbyte 60000h 10000h 0FFFFh 32 Kbyte Total of 7 64 Kbyte blocks 1FFFFh 08000h 07FFFh 8 Kbyte 06000h 05FFFh 64 Kbyte 10000h 0FFFFh 8 Kbyte 04000h 03FFFh 64 Kbyte 00000h 16 Kbyte 00000h AI06857b 1. Also see Appendix A: Block address table, Table 21: Top boot block addresses M29W400DT and Table 22: Bottom boot block addresses M29W400DB for a full listing of the block addresses. 11/48 Description M29W400DT, M29W400DB Figure 6. Block addresses (x 16) M29W400DT Top boot block addresses (x 16) M29W400DB Bottom boot block addresses (x 16) 3FFFFh 3FFFFh 8 Kword 32 Kword 3E000h 3DFFFh 38000h 37FFFh 4 Kword 32 Kword 3D000h 3CFFFh 30000h Total of 7 32 Kword blocks 4 Kword 3C000h 3BFFFh 16 Kword 38000h 37FFFh 0FFFFh 32 Kword 32 Kword 30000h 08000h 07FFFh 16 Kword Total of 7 32 Kword blocks 0FFFFh 04000h 03FFFh 4 Kword 03000h 02FFFh 32 Kword 08000h 07FFFh 4 Kword 02000h 01FFFh 32 Kword 00000h 8 Kword 00000h AI06858b 1. Also see Appendix A: Block address table, Table 21: Top boot block addresses M29W400DT and Table 22: Bottom boot block addresses M29W400DB for a full listing of the block addresses. 12/48 M29W400DT, M29W400DB 2 Signal descriptions Signal descriptions See Figure 1: Logic diagram, and Table : , for a brief overview of the signals connected to this device. 2.1 Address inputs (A0-A17) The Address inputs select the cells in the memory array to access during Bus Read operations. During Bus Write operations they control the commands sent to the command interface of the Program/Erase controller. 2.2 Data inputs/outputs (DQ0-DQ7) The Data inputs/outputs output the data stored at the selected address during a Bus Read operation. During Bus Write operations they represent the commands sent to the command interface of the Program/Erase controller. 2.3 Data inputs/outputs (DQ8-DQ14) The Data inputs/outputs output the data stored at the selected address during a Bus Read operation when BYTE is High, VIH. When BYTE is Low, VIL, these pins are not used and are high impedance. During Bus Write operations the Command Register does not use these bits. When reading the Status Register these bits should be ignored. 2.4 Data input/output or Address input (DQ15A-1) When BYTE is High, VIH, this pin behaves as a Data input/output pin (as DQ8-DQ14). When BYTE is Low, VIL, this pin behaves as an address pin; DQ15A–1 Low will select the LSB of the word on the other addresses, DQ15A–1 High will select the MSB. Throughout the text consider references to the Data input/output to include this pin when BYTE is High and references to the Address inputs to include this pin when BYTE is Low except when stated explicitly otherwise. 2.5 Chip Enable (E) The Chip Enable, E, activates the memory, allowing Bus Read and Bus Write operations to be performed. When Chip Enable is High, VIH, all other pins are ignored. 2.6 Output Enable (G) The Output Enable, G, controls the Bus Read operation of the memory. 13/48 Signal descriptions 2.7 M29W400DT, M29W400DB Write Enable (W) The Write Enable, W, controls the Bus Write operation of the memory’s command interface. 2.8 Reset/Block Temporary Unprotect (RP) The Reset/Block Temporary Unprotect pin can be used to apply a hardware reset to the memory or to temporarily unprotect all blocks that have been protected. A hardware reset is achieved by holding Reset/Block Temporary Unprotect Low, VIL, for at least tPLPX. After Reset/Block Temporary Unprotect goes High, VIH, the memory will be ready for Bus Read and Bus Write operations after tPHEL or tRHEL, whichever occurs last. See the Ready/Busy output section, Table 15: Reset/Block Temporary Unprotect AC characteristics and Figure 14: Reset/Block Temporary Unprotect AC waveforms, for more details. Holding RP at VID will temporarily unprotect the protected blocks in the memory. Program and Erase operations on all blocks will be possible. The transition from VIH to VID must be slower than tPHPHH. 2.9 Ready/Busy output (RB) The Ready/Busy pin is an open-drain output that can be used to identify when the memory array can be read. Ready/Busy is high-impedance during Read mode, Auto Select mode and Erase Suspend mode. After a Hardware Reset, Bus Read and Bus Write operations cannot begin until Ready/Busy becomes high-impedance. See Table 15: Reset/Block Temporary Unprotect AC characteristics and Figure 14: Reset/Block Temporary Unprotect AC waveforms. During Program or Erase operations Ready/Busy is Low, VOL. Ready/Busy will remain Low during Read/Reset commands or hardware resets until the memory is ready to enter Read mode. 2.10 Byte/Word Organization Select (BYTE) The Byte/Word Organization Select pin is used to switch between the 8-bit and 16-bit Bus modes of the memory. When Byte/Word Organization Select is Low, VIL, the memory is in 8bit mode, when it is High, VIH, the memory is in 16-bit mode. 14/48 M29W400DT, M29W400DB 2.11 Signal descriptions VCC supply voltage The VCC supply voltage supplies the power for all operations (Read, Program, Erase etc.). The command interface is disabled when the VCC supply voltage is less than the lockout voltage, VLKO. This prevents Bus Write operations from accidentally damaging the data during power-up, power-down and power surges. If the Program/Erase controller is programming or erasing during this time then the operation aborts and the memory contents being altered will be invalid. A 0.1 µF capacitor should be connected between the VCC supply voltage pin and the VSS ground pin to decouple the current surges from the power supply. The PCB track widths must be sufficient to carry the currents required during program and erase operations, ICC3. 2.12 VSS ground The VSS ground is the reference for all voltage measurements. 15/48 Bus operations 3 M29W400DT, M29W400DB Bus operations There are five standard bus operations that control the device. These are Bus Read, Bus Write, Output Disable, Standby and Automatic Standby. See Table 2 and Table 3, Bus operations, for a summary. Typically glitches of less than 5 ns on Chip Enable or Write Enable are ignored by the memory and do not affect bus operations. 3.1 Bus Read Bus Read operations read from the memory cells, or specific registers in the command interface. A valid Bus Read operation involves setting the desired address on the Address inputs, applying a Low signal, VIL, to Chip Enable and Output Enable and keeping Write Enable High, VIH. The Data inputs/outputs will output the value, see Figure 11: Read mode AC waveforms, and Table 12: Read AC characteristics, for details of when the output becomes valid. 3.2 Bus Write Bus Write operations write to the command interface. A valid Bus Write operation begins by setting the desired address on the Address inputs. The Address inputs are latched by the command interface on the falling edge of Chip Enable or Write Enable, whichever occurs last. The Data inputs/outputs are latched by the command interface on the rising edge of Chip Enable or Write Enable, whichever occurs first. Output Enable must remain High, VIH, during the whole Bus Write operation. See Figure 12 and Figure 13, Write AC waveforms, and Table 13 and Table 14, Write AC characteristics, for details of the timing requirements. 3.3 Output Disable The Data inputs/outputs are in the high impedance state when Output Enable is High, VIH. 3.4 Standby When Chip Enable is High, VIH, the memory enters Standby mode and the Data inputs/outputs pins are placed in the high-impedance state. To reduce the Supply current to the Standby Supply current, ICC2, Chip Enable should be held within VCC ± 0.2 V. For the Standby current level see Table 11: DC characteristics. During program or erase operations the memory will continue to use the Program/Erase Supply current, ICC3, for Program or Erase operations until the operation completes. 3.5 Automatic Standby If CMOS levels (VCC ± 0.2 V) are used to drive the bus and the bus is inactive for 150 ns or more the memory enters Automatic Standby where the internal Supply current is reduced to the Standby Supply current, ICC2. The Data inputs/outputs will still output data if a Bus Read operation is in progress. 16/48 M29W400DT, M29W400DB 3.6 Bus operations Special bus operations Additional bus operations can be performed to read the electronic signature and also to apply and remove block protection. These bus operations are intended for use by programming equipment and are not usually used in applications. They require VID to be applied to some pins. 3.7 Electronic signature The memory has two codes, the manufacturer code and the device code, that can be read to identify the memory. These codes can be read by applying the signals listed in Table 2 and Table 3, Bus operations. 3.8 Block protection and blocks unprotection Each block can be separately protected against accidental Program or Erase. Protected blocks can be unprotected to allow data to be changed. There are two methods available for protecting and unprotecting the blocks, one for use on programming equipment and the other for in-system use. Block Protect and Chip Unprotect operations are described in Appendix B: Block protection. Table 2. Bus operations, BYTE = VIL(1) Operation E G W Address inputs DQ15A–1, A0-A17 Data inputs/outputs DQ14-DQ8 DQ7-DQ0 Bus Read VIL VIL VIH Cell address Hi-Z Data output Bus Write VIL VIH VIL Command address Hi-Z Data input X VIH VIH X Hi-Z Hi-Z Standby VIH X X X Hi-Z Hi-Z Read manufacturer code VIL VIL VIH A0 = VIL, A1 = VIL, A9 = VID, others VIL or VIH Hi-Z 20h VIH A0 = VIH, A1 = VIL, A9 = VID, others VIL or VIH Hi-Z EEh (M29W400DT) EFh (M29W400DB) Output Disable Read device code VIL VIL 1. X = VIL or VIH. 17/48 Bus operations M29W400DT, M29W400DB Table 3. Bus operations, BYTE = VIH Operation Data inputs/outputs DQ15A–1, DQ14-DQ0 G W Bus Read VIL VIL VIH Cell address Bus Write VIL VIH VIL Command address X VIH VIH X Hi-Z Standby VIH X X X Hi-Z Read manufacturer code VIL VIL VIH A0 = VIL, A1 = VIL, A9 = VID, others VIL or VIH 0020h Read device code VIL VIL VIH A0 = VIH, A1 = VIL, A9 = VID, others VIL or VIH 00EEh (M29W400DT) 00EFh (M29W400DB) Output Disable 1. X = VIL or VIH. 18/48 Address inputs A0-A17 E Data output Data input M29W400DT, M29W400DB 4 Command interface Command interface All Bus Write operations to the memory are interpreted by the command interface. Commands consist of one or more sequential Bus Write operations. Failure to observe a valid sequence of Bus Write operations will result in the memory returning to Read mode. The long command sequences are imposed to maximize data security. The address used for the commands changes depending on whether the memory is in 16bit or 8-bit mode. See either Table 5, or Table 6, depending on the configuration that is being used, for a summary of the commands. 4.1 Read/Reset command The Read/Reset command returns the memory to its Read mode where it behaves like a ROM or EPROM, unless otherwise stated. It also resets the errors in the Status Register. Either one or three Bus Write operations can be used to issue the Read/Reset command. The Read/Reset command can be issued, between Bus Write cycles before the start of a program or erase operation, to return the device to Read mode. Once the program or erase operation has started the Read/Reset command is no longer accepted. The Read/Reset command will not abort an Erase operation when issued while in Erase Suspend. 4.2 Auto Select command The Auto Select command is used to read the manufacturer code, the device code and the Block Protection status. Three consecutive Bus Write operations are required to issue the Auto Select command. Once the Auto Select command is issued the memory remains in Auto Select mode until another command is issued. From the Auto Select mode the manufacturer code can be read using a Bus Read operation with A0 = VIL and A1 = VIL. The other address bits may be set to either VIL or VIH. The manufacturer code for Numonyx is 0020h. The device code can be read using a Bus Read operation with A0 = VIH and A1 = VIL. The other address bits may be set to either VIL or VIH. The device code for the M29W400DT is 00EEh and for the M29W400DB is 00EFh. The Block Protection status of each block can be read using a Bus Read operation with A0 = VIL, A1 = VIH, and A12-A17 specifying the address of the block. The other address bits may be set to either VIL or VIH. If the addressed block is protected then 01h is output on Data inputs/outputs DQ0-DQ7, otherwise 00h is output. 4.3 Program command The Program command can be used to program a value to one address in the memory array at a time. The command requires four Bus Write operations, the final write operation latches the address and data and starts the Program/Erase controller. If the address falls in a protected block then the Program command is ignored, the data remains unchanged. The Status Register is never read and no error condition is given. 19/48 Command interface M29W400DT, M29W400DB During the program operation the memory will ignore all commands. It is not possible to issue any command to abort or pause the operation. Typical program times are given in Table 4: Program, Erase times and Program, Erase endurance cycles. Bus Read operations during the program operation will output the Status Register on the Data inputs/outputs. See the section on the Status Register for more details. After the program operation has completed the memory will return to the Read mode, unless an error has occurred. When an error occurs the memory will continue to output the Status Register. A Read/Reset command must be issued to reset the error condition and return to Read mode. Note that the Program command cannot change a bit set at ’0’ back to ’1’. One of the Erase commands must be used to set all the bits in a block or in the whole memory from ’0’ to ’1’. 4.4 Unlock Bypass command The Unlock Bypass command is used in conjunction with the Unlock Bypass Program command to program the memory. When the access time to the device is long (as with some EPROM programmers) considerable time saving can be made by using these commands. Three Bus Write operations are required to issue the Unlock Bypass command. Once the Unlock Bypass command has been issued the memory will only accept the Unlock Bypass Program command and the Unlock Bypass Reset command. The memory can be read as if in Read mode. 4.5 Unlock Bypass Program command The Unlock Bypass Program command can be used to program one address in memory at a time. The command requires two Bus Write operations, the final write operation latches the address and data and starts the Program/Erase controller. The Program operation using the Unlock Bypass Program command behaves identically to the Program operation using the Program command. A protected block cannot be programmed; the operation cannot be aborted and the Status Register is read. Errors must be reset using the Read/Reset command, which leaves the device in Unlock Bypass mode. See the Program command for details on the behavior. 4.6 Unlock Bypass Reset command The Unlock Bypass Reset command can be used to return to Read/Reset mode from Unlock Bypass mode. Two Bus Write operations are required to issue the Unlock Bypass Reset command. Read/Reset command does not exit from Unlock Bypass mode. 4.7 Chip Erase command The Chip Erase command can be used to erase the entire chip. Six Bus Write operations are required to issue the Chip Erase command and start the Program/Erase controller. If any blocks are protected then these are ignored and all the other blocks are erased. If all of the blocks are protected the Chip Erase operation appears to start but will terminate 20/48 M29W400DT, M29W400DB Command interface within about 100 µs, leaving the data unchanged. No error condition is given when protected blocks are ignored. During the erase operation the memory will ignore all commands. It is not possible to issue any command to abort the operation. Typical chip erase times are given in Table 4. All Bus Read operations during the Chip Erase operation will output the Status Register on the Data inputs/outputs. See the section on the Status Register for more details. After the Chip Erase operation has completed the memory will return to the Read mode, unless an error has occurred. When an error occurs the memory will continue to output the Status Register. A Read/Reset command must be issued to reset the error condition and return to Read mode. The Chip Erase command sets all of the bits in unprotected blocks of the memory to ’1’. All previous data is lost. 4.8 Block Erase command The Block Erase command can be used to erase a list of one or more blocks. Six Bus Write operations are required to select the first block in the list. Each additional block in the list can be selected by repeating the sixth Bus Write operation using the address of the additional block. The Block Erase operation starts the Program/Erase controller about 50 µs after the last Bus Write operation. Once the Program/Erase controller starts it is not possible to select any more blocks. Each additional block must therefore be selected within 50 µs of the last block. The 50 µs timer restarts when an additional block is selected. The Status Register can be read after the sixth Bus Write operation. See the Status Register for details on how to identify if the Program/Erase controller has started the Block Erase operation. If any selected blocks are protected then these are ignored and all the other selected blocks are erased. If all of the selected blocks are protected the Block Erase operation appears to start but will terminate within about 100 µs, leaving the data unchanged. No error condition is given when protected blocks are ignored. During the Block Erase operation the memory will ignore all commands except the Erase Suspend command. Typical block erase times are given in Table 4. All Bus Read operations during the Block Erase operation will output the Status Register on the Data inputs/outputs. See the section on the Status Register for more details. After the Block Erase operation has completed the memory will return to the Read mode, unless an error has occurred. When an error occurs the memory will continue to output the Status Register. A Read/Reset command must be issued to reset the error condition and return to Read mode. The Block Erase command sets all of the bits in the unprotected selected blocks to ’1’. All previous data in the selected blocks is lost. 4.9 Erase Suspend command The Erase Suspend command may be used to temporarily suspend a Block Erase operation and return the memory to Read mode. The command requires one Bus Write operation. The Program/Erase controller will suspend within the Erase Suspend Latency time after the Erase Suspend command is issued (see Table 4 for numerical values). Once the Program/Erase controller has stopped the memory will be set to Read mode and the Erase 21/48 Command interface M29W400DT, M29W400DB will be suspended. If the Erase Suspend command is issued during the period when the memory is waiting for an additional block (before the Program/Erase controller starts) then the Erase is suspended immediately and will start immediately when the Erase Resume command is issued. It is not possible to select any further blocks to erase after the Erase Resume. During Erase Suspend it is possible to Read and Program cells in blocks that are not being erased; both Read and Program operations behave as normal on these blocks. If any attempt is made to program in a protected block or in the suspended block then the Program command is ignored and the data remains unchanged. The Status Register is not read and no error condition is given. Reading from blocks that are being erased will output the Status Register. It is also possible to issue the Auto Select and Unlock Bypass commands during an Erase Suspend. The Read/Reset command must be issued to return the device to Read Array mode before the Resume command will be accepted. 4.10 Erase Resume command The Erase Resume command must be used to restart the Program/Erase controller from Erase Suspend. An erase can be suspended and resumed more than once. 4.11 Block Protect and Chip Unprotect commands Each block can be separately protected against accidental program or erase. The whole chip can be unprotected to allow the data inside the blocks to be changed. Block Protect and Chip Unprotect operations are described in Appendix B: Block protection. Table 4. Program, Erase times and Program, Erase endurance cycles Parameter Min Chip Erase (all bits in the memory set to ‘0’) Typ(1)(2) Max(2) 2.5 Chip Erase 6 Block Erase (64 Kbytes) 0.8 Program (byte or word) s 35(3) (4) 6 (3) s s µs 10 200 Chip Program (byte by byte) 5.5 30(3) s Chip Program (word by word) 2.8 15(3) s 18 (4) Erase Suspend latency time Program/Erase cycles (per block) Data retention 25 µs 100,000 cycles 20 years 1. Typical values measured at room temperature and nominal voltages. 2. Sampled, but not 100% tested. 3. Maximum value measured at worst case conditions for both temperature and VCC after 100,000 Program/Erase cycles. 4. Maximum value measured at worst case conditions for both temperature and VCC. 22/48 Unit M29W400DT, M29W400DB Table 5. Command interface Commands, 16-bit mode, BYTE = VIH(1) Command Length Bus Write operations 1st 2nd 3rd 4th Addr Data 1 X F0 3 555 AA 2AA 55 X F0 Auto Select 3 555 AA 2AA 55 555 90 Program 4 555 AA 2AA 55 555 A0 Unlock Bypass 3 555 AA 2AA 55 555 20 Unlock Bypass Program 2 X A0 PA PD Unlock Bypass Reset 2 X 90 X 00 Chip Erase 6 555 AA 2AA 55 555 Block Erase 6+ 555 AA 2AA 55 555 Erase Suspend 1 X B0 Erase Resume 1 X 30 5th 6th Addr Data Addr Data Addr Data Addr Data Addr Data Read/Reset PA PD 80 555 AA 2AA 55 555 10 80 555 AA 2AA 55 BA 30 1. X Don’t care, PA Program Address, PD Program Data, BA Any address in the block. All values in the table are in hexadecimal. The command interface only uses A-1; A0-A10 and DQ0-DQ7 to verify the commands; A11-A17, DQ8-DQ14 and DQ15 are Don't care. DQ15A-1 is A-1 when BYTE is VIL or DQ15 when BYTE is VIH. Table 6. Commands, 8-bit mode, BYTE = VIL(1) Command Length Bus Write operations 1st 2nd 3rd 4th 5th 6th Addr Data Addr Data Addr Data Addr Data Addr Data Addr Data 1 X F0 3 AAA AA 555 55 X F0 Auto Select 3 AAA AA 555 55 AAA 90 Program 4 AAA AA 555 55 AAA A0 Unlock Bypass 3 AAA AA 555 55 AAA 20 Unlock Bypass Program 2 X A0 PA PD Unlock Bypass Reset 2 X 90 X 00 Chip Erase 6 AAA AA 555 55 AAA Block Erase 6+ AAA AA 555 55 AAA Erase Suspend 1 X B0 Erase Resume 1 X 30 Read/Reset PA PD 80 AAA AA 555 55 AAA 10 80 AAA AA 555 55 BA 30 1. X Don’t care, PA Program Address, PD Program Data, BA Any address in the block. All values in the table are in hexadecimal. The command interface only uses A-1; A0-A10 and DQ0-DQ7 to verify the commands; A11-A17, DQ8-DQ14 and DQ15 are Don't care. DQ15A-1 is A-1 when BYTE is VIL or DQ15 when BYTE is VIH. 23/48 Status Register 5 M29W400DT, M29W400DB Status Register Bus Read operations from any address always read the Status Register during Program and Erase operations. It is also read during Erase Suspend when an address within a block being erased is accessed. The bits in the Status Register are summarized in Table 7: Status Register bits. 5.1 Data Polling bit (DQ7) The Data Polling bit can be used to identify whether the Program/Erase controller has successfully completed its operation or if it has responded to an Erase Suspend. The Data Polling bit is output on DQ7 when the Status Register is read. During Program operations the Data Polling bit outputs the complement of the bit being programmed to DQ7. After successful completion of the Program operation the memory returns to Read mode and Bus Read operations from the address just programmed output DQ7, not its complement. During Erase operations the Data Polling bit outputs ’0’, the complement of the erased state of DQ7. After successful completion of the Erase operation the memory returns to Read mode. In Erase Suspend mode the Data Polling bit will output a ’1’ during a Bus Read operation within a block being erased. The Data Polling bit will change from a ’0’ to a ’1’ when the Program/Erase controller has suspended the Erase operation. Figure 7: Data polling flowchart, gives an example of how to use the Data Polling bit. A valid address is the address being programmed or an address within the block being erased. 5.2 Toggle bit (DQ6) The Toggle bit can be used to identify whether the Program/Erase controller has successfully completed its operation or if it has responded to an Erase Suspend. The Toggle bit is output on DQ6 when the Status Register is read. During Program and Erase operations the Toggle bit changes from ’0’ to ’1’ to ’0’, etc., with successive Bus Read operations at any address. After successful completion of the operation the memory returns to Read mode. During Erase Suspend mode the Toggle bit will output when addressing a cell within a block being erased. The Toggle bit will stop toggling when the Program/Erase controller has suspended the Erase operation. If any attempt is made to erase a protected block, the operation is aborted, no error is signalled and DQ6 toggles for approximately 100 µs. If any attempt is made to program a protected block or a suspended block, the operation is aborted, no error is signalled and DQ6 toggles for approximately 1 µs. Figure 8: Data toggle flowchart, gives an example of how to use the Data Toggle bit. 24/48 M29W400DT, M29W400DB 5.3 Status Register Error bit (DQ5) The Error bit can be used to identify errors detected by the Program/Erase controller. The Error bit is set to ’1’ when a Program, Block Erase or Chip Erase operation fails to write the correct data to the memory. If the Error bit is set a Read/Reset command must be issued before other commands are issued. The Error bit is output on DQ5 when the Status Register is read. Note that the Program command cannot change a bit set to ’0’ back to ’1’ and attempting to do so will set DQ5 to ‘1’. A Bus Read operation to that address will show the bit is still ‘0’. One of the Erase commands must be used to set all the bits in a block or in the whole memory from ’0’ to ’1’ 5.4 Erase Timer bit (DQ3) The Erase Timer bit can be used to identify the start of Program/Erase controller operation during a Block Erase command. Once the Program/Erase controller starts erasing, the Erase Timer bit is set to ’1’. Before the Program/Erase controller starts the Erase Timer bit is set to ‘0’ and additional blocks to be erased may be written to the command interface. The Erase Timer bit is output on DQ3 when the Status Register is read. 5.5 Alternative Toggle bit (DQ2) The Alternative Toggle bit can be used to monitor the Program/Erase controller during Erase operations. The Alternative Toggle bit is output on DQ2 when the Status Register is read. During Chip Erase and Block Erase operations the Toggle bit changes from ’0’ to ’1’ to ’0’, etc., with successive Bus Read operations from addresses within the blocks being erased. A protected block is treated the same as a block not being erased. Once the operation completes the memory returns to Read mode. During Erase Suspend the Alternative Toggle bit changes from ’0’ to ’1’ to ’0’, etc. with successive Bus Read operations from addresses within the blocks being erased. Bus Read operations to addresses within blocks not being erased will output the memory cell data as if in Read mode. After an Erase operation that causes the Error bit to be set the Alternative Toggle bit can be used to identify which block or blocks have caused the error. The Alternative Toggle bit changes from ’0’ to ’1’ to ’0’, etc. with successive Bus Read operations from addresses within blocks that have not erased correctly. The Alternative Toggle bit does not change if the addressed block has erased correctly. Table 7. Status Register bits(1) Operation Address DQ7 DQ6 DQ5 DQ3 DQ2 RB Program Any address DQ7 Toggle 0 – – 0 Program during Erase Suspend Any address DQ7 Toggle 0 – – 0 Program Error Any address DQ7 Toggle 1 – – 0 Chip Erase Any address 0 Toggle 0 1 Toggle 0 25/48 Status Register M29W400DT, M29W400DB Table 7. Status Register bits(1) (continued) Operation Block Erase before timeout Block Erase Address DQ7 DQ6 DQ5 DQ3 DQ2 RB Erasing block 0 Toggle 0 0 Toggle 0 Non-erasing block 0 Toggle 0 0 No Toggle 0 Erasing block 0 Toggle 0 1 Toggle 0 Non-erasing block 0 Toggle 0 1 No Toggle 0 Erasing block 1 No Toggle 0 – Toggle 1 Erase Suspend Non-erasing block Data read as normal 1 Good block address 0 Toggle 1 1 No Toggle 0 Faulty block address 0 Toggle 1 1 Toggle 0 Erase Error 1. Unspecified data bits should be ignored. Figure 7. Data polling flowchart START READ DQ5 & DQ7 at VALID ADDRESS DQ7 = DATA YES NO NO DQ5 =1 YES READ DQ7 at VALID ADDRESS DQ7 = DATA YES NO FAIL PASS AI03598 26/48 M29W400DT, M29W400DB Figure 8. Status Register Data toggle flowchart START READ DQ6 READ DQ5 & DQ6 DQ6 = TOGGLE NO YES NO DQ5 =1 YES READ DQ6 TWICE DQ6 = TOGGLE NO YES FAIL PASS AI01370C 27/48 Maximum rating 6 M29W400DT, M29W400DB Maximum rating Stressing the device above the rating listed in Table 8: Absolute maximum ratings may cause permanent damage to the device. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. These are stress ratings only and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. Refer also to the Numonyx SURE Program and other relevant quality documents. Table 8. Absolute maximum ratings Symbol Parameter Min Max Unit TBIAS Temperature under bias –50 125 °C TSTG Storage temperature –65 150 °C (1) °C –0.6 VCC+0.6 V TLEAD Lead temperature during soldering voltage(2)(3) VIO Input or output VCC Supply voltage –0.6 4 V VID Identification voltage –0.6 13.5 V 1. Compliant with the JEDEC Std J-STD-020B (for small body, Sn-Pb or Pb assermbly), the Numonyx ECOPACK® 7191395 specification, and the European directive on Restrictions on Hazardous Substances (RoHS) 2002/95/EU. 2. Minimum voltage may undershoot to –2 V during transition and for less than 20 ns during transitions. 3. Maximum voltage may overshoot to VCC+2 V during transition and for less than 20 ns during transitions. 28/48 M29W400DT, M29W400DB 7 DC and AC parameters DC and AC parameters This section summarizes the operating measurement conditions, and the DC and AC characteristics of the device. The parameters in the DC and AC characteristics tables that follow, are derived from tests performed under the measurement conditions summarized in Table 9: Operating and AC measurement conditions. Designers should check that the operating conditions in their circuit match the operating conditions when relying on the quoted parameters. Table 9. Operating and AC measurement conditions M29W400D Parameter 45 55 70 Unit Min Max Min Max Min Max VCC supply voltage 3.0 3.6 2.7 3.6 2.7 3.6 Ambient operating temperature (range 6) –40 85 –40 85 –40 85 Ambient operating temperature (range 1) 0 70 0 70 0 70 V °C Load capacitance (CL) 30 Input rise and fall times 100 10 Input pulse voltages Input and output timing ref. voltages Figure 9. 30 10 pF 10 ns 0 to VCC 0 to VCC 0 to VCC V VCC/2 VCC/2 VCC/2 V AC measurement I/O waveform VCC VCC/2 0V AI04498 Figure 10. AC measurement load circuit VCC VCC 25 kΩ DEVICE UNDER TEST 0.1 µF CL includes JIG capacitance CL 25 kΩ AI04499 29/48 DC and AC parameters Table 10. Symbol CIN COUT M29W400DT, M29W400DB Device capacitance(1) Parameter Test Condition Max Unit VIN = 0 V 6 pF VOUT = 0 V 12 pF Input capacitance Output capacitance Min 1. Sampled only, not 100% tested. Table 11. Symbol DC characteristics Parameter Test condition ILI Input Leakage current ILO Min Max Unit 0 V ≤VIN ≤VCC ±1 µA Output Leakage current 0 V ≤VOUT ≤VCC ±1 µA ICC1 Supply current (Read) E = VIL, G = VIH, f = 6 MHz 10 mA ICC2 Supply current (Standby) E = VCC ± 0.2 V, RP = VCC ± 0.2 V 100 µA Program/Erase controller active 20 mA ICC3(1) Supply current (Program/Erase) VIL Input Low voltage –0.5 0.8 V VIH Input High voltage 0.7VCC VCC + 0.3 V VOL Output Low voltage IOL = 1.8 mA 0.45 V VOH Output High voltage IOH = –100 µA VID Identification voltage IID Identification current VLKO VCC – 0.4 11.5 A9 = VID Program/Erase Lockout supply voltage 1.8 V 12.5 V 100 µA 2.3 V 1. Sampled only, not 100% tested. Figure 11. Read mode AC waveforms tAVAV A0-A17/ A–1 VALID tAVQV tAXQX E tELQV tEHQX tELQX tEHQZ G tGLQX tGHQX tGLQV tGHQZ DQ0-DQ7/ DQ8-DQ15 VALID tBHQV BYTE tELBL/tELBH 30/48 tBLQZ AI02907 M29W400DT, M29W400DB Table 12. DC and AC parameters Read AC characteristics M29W400D Symbol Alt Parameter Test condition Unit 45 55 70 tAVAV tRC Address Valid to Next Address Valid E = VIL, G = VIL Min 45 55 70 ns tAVQV tACC Address Valid to Output Valid E = VIL, G = VIL Max 45 55 70 ns tELQX(1) tLZ Chip Enable Low to Output Transition G = VIL Min 0 0 0 ns tELQV tCE Chip Enable Low to Output Valid G = VIL Max 45 55 70 ns tGLQX(1) tOLZ Output Enable Low to Output Transition E = VIL Min 0 0 0 ns tGLQV tOE Output Enable Low to Output Valid E = VIL Max 25 30 35 ns (1) tHZ Chip Enable High to Output Hi-Z G = VIL Max 20 25 30 ns tGHQZ(1) tDF Output Enable High to Output Hi-Z E = VIL Max 20 25 30 ns tEHQX tGHQX tAXQX tOH Chip Enable, Output Enable or Address Transition to Output Transition Min 0 0 0 ns tELBL tELBH tELFL tELFH Chip Enable to BYTE Low or High Max 5 5 5 ns tBLQZ tFLQZ BYTE Low to Output Hi-Z Max 25 25 30 ns tBHQV tFHQV BYTE High to Output Valid Max 30 30 40 ns tEHQZ 1. Sampled only, not 100% tested. 31/48 DC and AC parameters M29W400DT, M29W400DB Figure 12. Write AC waveforms, Write Enable controlled tAVAV A0-A17/ A–1 VALID tWLAX tAVWL tWHEH E tELWL tWHGL G tGHWL tWLWH W tWHWL tDVWH DQ0-DQ7/ DQ8-DQ15 tWHDX VALID VCC tVCHEL RB tWHRL Table 13. AI01869C Write AC characteristics, Write Enable controlled M29W400D Symbol Alt Parameter Unit 45 55 70 tAVAV tWC Address Valid to Next Address Valid Min 45 55 70 ns tELWL tCS Chip Enable Low to Write Enable Low Min 0 0 0 ns tWLWH tWP Write Enable Low to Write Enable High Min 30 30 30 ns tDVWH tDS Input Valid to Write Enable High Min 25 30 45 ns tWHDX tDH Write Enable High to Input Transition Min 0 0 0 ns tWHEH tCH Write Enable High to Chip Enable High Min 0 0 0 ns tWHWL tWPH Write Enable High to Write Enable Low Min 30 30 30 ns tAVWL tAS Address Valid to Write Enable Low Min 0 0 0 ns tWLAX tAH Write Enable Low to Address Transition Min 40 45 45 ns Output Enable High to Write Enable Low Min 0 0 0 ns tGHWL tWHGL tOEH Write Enable High to Output Enable Low Min 0 0 0 ns tWHRL(1) tBUSY Program/Erase Valid to RB Low Max 30 30 35 ns tVCHEL tVCS VCC High to Chip Enable Low Min 50 50 50 µs 1. Sampled only, not 100% tested. 32/48 M29W400DT, M29W400DB DC and AC parameters Figure 13. Write AC waveforms, Chip Enable controlled tAVAV A0-A17/ A–1 VALID tELAX tAVEL tEHWH W tWLEL tEHGL G tGHEL tELEH E tEHEL tDVEH DQ0-DQ7/ DQ8-DQ15 tEHDX VALID VCC tVCHWL RB tEHRL Table 14. AI01870C Write AC characteristics, Chip Enable controlled M29W400D Symbol Alt Parameter Unit 45 55 70 tAVAV tWC Address Valid to Next Address Valid Min 45 55 70 ns tWLEL tWS Write Enable Low to Chip Enable Low Min 0 0 0 ns tELEH tCP Chip Enable Low to Chip Enable High Min 30 30 30 ns tDVEH tDS Input Valid to Chip Enable High Min 25 30 45 ns tEHDX tDH Chip Enable High to Input Transition Min 0 0 0 ns tEHWH tWH Chip Enable High to Write Enable High Min 0 0 0 ns tEHEL tCPH Chip Enable High to Chip Enable Low Min 30 30 30 ns tAVEL tAS Address Valid to Chip Enable Low Min 0 0 0 ns tELAX tAH Chip Enable Low to Address Transition Min 40 45 45 ns Output Enable High Chip Enable Low Min 0 0 0 ns tGHEL tEHGL tOEH Chip Enable High to Output Enable Low Min 0 0 0 ns tEHRL(1) tBUSY Program/Erase Valid to RB Low Max 30 30 35 ns tVCHWL tVCS VCC High to Write Enable Low Min 50 50 50 µs 1. Sampled only, not 100% tested. 33/48 DC and AC parameters M29W400DT, M29W400DB Figure 14. Reset/Block Temporary Unprotect AC waveforms W, E, G tPHWL, tPHEL, tPHGL RB tRHWL, tRHEL, tRHGL tPLPX RP tPHPHH tPLYH AI02931 Table 15. Reset/Block Temporary Unprotect AC characteristics M29W400D Symbol Alt Parameter Unit 45 55 70 tPHWL(1) tPHEL tPHGL(1) tRH RP High to Write Enable Low, Chip Enable Low, Output Enable Low Min 50 50 50 ns tRHWL(1) tRHEL(1) tRHGL(1) tRB RB High to Write Enable Low, Chip Enable Low, Output Enable Low Min 0 0 0 ns tPLPX tRP RP Pulse width Min 500 500 500 ns tPLYH(1) tREADY RP Low to Read mode Max 10 10 10 µs RP Rise time to VID Min 500 500 500 ns tPHPHH (1) tVIDR 1. Sampled only, not 100% tested. 34/48 M29W400DT, M29W400DB 8 Package mechanical Package mechanical Figure 15. SO44 - 44 lead plastic small outline, 525 mils body width, package outline A A2 C b e CP D N E EH 1 A1 α L SO-d 1. Drawing is not to scale. Table 16. SO44 – 44 lead plastic small outline, 525 mils body width, package mechanical data millimeters inches Symbol Typ Min A Max Typ Min 2.80 A1 Max 0.110 0.10 0.004 A2 2.30 2.20 2.40 0.091 0.087 0.094 b 0.40 0.35 0.50 0.016 0.014 0.020 C 0.15 0.10 0.20 0.006 0.004 0.008 CP 0.08 0.003 D 28.20 28.00 28.40 1.110 1.102 1.118 E 13.30 13.20 13.50 0.524 0.520 0.531 EH 16.00 15.75 16.25 0.630 0.620 0.640 e 1.27 – – 0.050 – – L 0.80 a N 0.031 8 44 8 44 35/48 Package mechanical M29W400DT, M29W400DB Figure 16. TSOP48 – 48 lead plastic thin small outline, 12 x 20 mm, package outline 1 48 e D1 B 24 L1 25 A2 E1 E A A1 DIE α L C CP TSOP-G 1. Drawing is not to scale. Table 17. TSOP48 – 48 lead plastic thin small outline, 12 x 20 mm, package mechanical data millimeters inches Symbol Typ Min A Typ Min 1.20 Max 0.047 A1 0.10 0.05 0.15 0.004 0.002 0.006 A2 1.00 0.95 1.05 0.039 0.037 0.041 B 0.22 0.17 0.27 0.009 0.007 0.011 0.10 0.21 0.004 0.008 C CP 36/48 Max 0.08 0.003 D1 12.00 11.90 12.10 0.472 0.468 0.476 E 20.00 19.80 20.20 0.787 0.779 0.795 E1 18.40 18.30 18.50 0.724 0.720 0.728 e 0.50 – – 0.020 – – L 0.60 0.50 0.70 0.024 0.020 0.028 L1 0.80 a 3 0 5 0.031 0 5 3 M29W400DT, M29W400DB Package mechanical Figure 17. TFBGA48 6 x 9 mm, 6 x 8 active ball array, 0.80 mm pitch, bottom view package outline D D1 FD FE SD SE BALL "A1" E E1 ddd e e b A A2 A1 BGA-Z00 1. Drawing is not to scale. Table 18. TFBGA48 6 x 9 mm, 6 x 8 active ball array, 0.80 mm pitch, package mechanical data millimeters inches Symbol Typ Min A Max Typ Min 1.20 A1 0.047 0.20 A2 Max 0.008 1.00 0.039 b 0.40 0.35 0.45 0.016 0.014 0.018 D 6.00 5.90 6.10 0.236 0.232 0.240 D1 4.00 – – 0.157 – – ddd 0.10 0.004 E 9.00 8.90 9.10 0.354 0.350 0.358 e 0.80 – – 0.031 – – E1 5.60 – – 0.220 – – FD 1.00 – – 0.039 – – FE 1.70 – – 0.067 – – SD 0.40 – – 0.016 – – SE 0.40 – – 0.016 – – 37/48 Package mechanical M29W400DT, M29W400DB Figure 18. TFBGA48 6 x 8 mm, 6 x 8 active ball array, 0.80 mm pitch, bottom view package outline D D1 FD FE SD SE E E1 BALL "A1" ddd e e b A A2 A1 BGA-Z32 1. Drawing is not to scale. Table 19. TFBGA48 6 x 8 mm, 6 x 8 active ball array, 0.80 mm pitch, package mechanical data millimeters inches Symbol Typ Min A Typ Min 1.20 A1 0.010 0.90 b Max 0.047 0.26 A2 0.35 0.45 0.035 0.014 0.018 D 6.00 5.90 6.10 0.236 0.232 0.240 D1 4.00 – – 0.157 – – ddd 38/48 Max 0.10 0.004 E 8.00 7.90 8.10 0.315 0.311 0.319 E1 5.60 – – 0.220 – – e 0.80 – – 0.031 – – FD 1.00 – – 0.039 – – FE 1.20 – – 0.047 – – SD 0.40 – – 0.016 – – SE 0.40 – – 0.016 – – M29W400DT, M29W400DB 9 Part numbering Part numbering Table 20. Ordering information scheme Example: M29W400DT 55 N 6 T Device type M29 Operating voltage W = VCC = 2.7 to 3.6 V Device Function 400D = 4 Mbit (512 K x 8 or 256 K x 16), boot block Array matrix T = Top boot B = Bottom boot Speed 45 = 45 ns 55 = 55 ns 70 = 70 ns Package M = SO44 N = TSOP48: 12 x 20 mm ZA = TFBGA48: 6 x 9 mm ZE = TFBGA48: 6 x 8 mm Temperature range 6 = –40 to 85 °C 1 = 0 to 70 °C Option Blank = Standard packing T = Tape & Reel packing E = ECOPACK package, standard packing F = ECOPACK package, Tape & Reel packing Devices are shipped from the factory with the memory content bits erased to ’1’. For a list of available options (speed, package, etc.) or for further information on any aspect of this device, please contact the Numonyx Sales Office nearest to you. 39/48 Block address table Appendix A Table 21. Block address table Top boot block addresses M29W400DT # Size (Kbytes) Address range (x 8) Address range (x 16) 10 16 7C000h-7FFFFh 3E000h-3FFFFh 9 8 7A000h-7BFFFh 3D000h-3DFFFh 8 8 78000h-79FFFh 3C000h-3CFFFh 7 32 70000h-77FFFh 38000h-3BFFFh 6 64 60000h-6FFFFh 30000h-37FFFh 5 64 50000h-5FFFFh 28000h-2FFFFh 4 64 40000h-4FFFFh 20000h-27FFFh 3 64 30000h-3FFFFh 18000h-1FFFFh 2 64 20000h-2FFFFh 10000h-17FFFh 1 64 10000h-1FFFFh 08000h-0FFFFh 0 64 00000h-0FFFFh 00000h-07FFFh Table 22. 40/48 M29W400DT, M29W400DB Bottom boot block addresses M29W400DB # Size (Kbytes) Address range (x 8) Address range (x 16) 10 64 70000h-7FFFFh 38000h-3FFFFh 9 64 60000h-6FFFFh 30000h-37FFFh 8 64 50000h-5FFFFh 28000h-2FFFFh 7 64 40000h-4FFFFh 20000h-27FFFh 6 64 30000h-3FFFFh 18000h-1FFFFh 5 64 20000h-2FFFFh 10000h-17FFFh 4 64 10000h-1FFFFh 08000h-0FFFFh 3 32 08000h-0FFFFh 04000h-07FFFh 2 8 06000h-07FFFh 03000h-03FFFh 1 8 04000h-05FFFh 02000h-02FFFh 0 16 00000h-03FFFh 00000h-01FFFh M29W400DT, M29W400DB Appendix B Block protection Block protection Block protection can be used to prevent any operation from modifying the data stored in the Flash. Each block can be protected individually. Once protected, Program and Erase operations on the block fail to change the data. There are three techniques that can be used to control block protection, these are the programmer technique, the in-system technique and temporary unprotection. temporary unprotection is controlled by the Reset/Block Temporary Unprotection pin, RP; this is described in the Section 2: Signal descriptions. Unlike the command interface of the Program/Erase controller, the techniques for protecting and unprotecting blocks change between different Flash memory suppliers. For example, the techniques for AMD parts will not work on Numonyx parts. Care should be taken when changing drivers for one part to work on another. B.1 Programmer technique The programmer technique uses high (VID) voltage levels on some of the bus pins. These cannot be achieved using a standard microprocessor bus, therefore the technique is recommended only for use in programming equipment. To protect a block follow the flowchart in Figure 19: Programmer equipment block protect flowchart. To unprotect the whole chip it is necessary to protect all of the blocks first, then all blocks can be unprotected at the same time. To unprotect the chip follow Figure 20: Programmer equipment chip unprotect flowchart. Table 23: Programmer technique bus operations, BYTE = VIH or VIL, gives a summary of each operation. The timing on these flowcharts is critical. Care should be taken to ensure that, where a pause is specified, it is followed as closely as possible. Do not abort the procedure before reaching the end. Chip Unprotect can take several seconds and a user message should be provided to show that the operation is progressing. B.2 In-system technique The in-system technique requires a high voltage level on the Reset/Blocks Temporary Unprotect pin, RP. This can be achieved without violating the maximum ratings of the components on the microprocessor bus, therefore this technique is suitable for use after the Flash has been fitted to the system. To protect a block follow the flowchart in Figure 21: In-system equipment block protect flowchart. To unprotect the whole chip it is necessary to protect all of the blocks first, then all the blocks can be unprotected at the same time. To unprotect the chip follow Figure 22: Insystem equipment chip unprotect flowchart. The timing on these flowcharts is critical. Care should be taken to ensure that, where a pause is specified, it is followed as closely as possible. Do not allow the microprocessor to service interrupts that will upset the timing and do not abort the procedure before reaching the end. Chip Unprotect can take several seconds and a user message should be provided to show that the operation is progressing. 41/48 Block protection Table 23. M29W400DT, M29W400DB Programmer technique bus operations, BYTE = VIH or VIL E G W Address inputs A0-A17 Data inputs/outputs DQ15A–1, DQ14-DQ0 Block Protect VIL VID VIL pulse A9 = VID, A12-A17 block address, others = X X Chip Unprotect VID VID VIL pulse A9 = VID, A12 = VIH, A15 = VIH, others = X X VIH A0 = VIL, A1 = VIH, A6 = VIL, A9 = VID, A12-A17 block address, others = X Pass = XX01h Retry = XX00h VIH A0 = VIL, A1 = VIH, A6 = VIH, A9 = VID, A12-A17 block address, others = X Retry = XX01h Pass = XX00h Operation Block Protection Verify Block Unprotection Verify 42/48 VIL VIL VIL VIL M29W400DT, M29W400DB Block protection Figure 19. Programmer equipment block protect flowchart START Set-up ADDRESS = BLOCK ADDRESS W = VIH n=0 G, A9 = VID, E = VIL Protect Wait 4 µs W = VIL Wait 100 µs W = VIH E, G = VIH, A0, A6 = VIL, A1 = VIH E = VIL Verify Wait 4 µs G = VIL Wait 60 ns Read DATA DATA NO = 01h YES A9 = VIH E, G = VIH ++n = 25 NO End YES PASS A9 = VIH E, G = VIH FAIL AI03469 43/48 Block protection M29W400DT, M29W400DB Figure 20. Programmer equipment chip unprotect flowchart START Set-up PROTECT ALL BLOCKS n=0 CURRENT BLOCK = 0 A6, A12, A15 = VIH E, G, A9 = VID Unprotect Wait 4 µs W = VIL Wait 10 ms W = VIH E, G = VIH ADDRESS = CURRENT BLOCK ADDRESS A0 = VIL, A1, A6 = VIH E = VIL Wait 4 µs G = VIL INCREMENT CURRENT BLOCK Verify Wait 60 ns Read DATA NO End NO 44/48 ++n = 1000 DATA = 00h YES LAST BLOCK YES YES A9 = VIH E, G = VIH A9 = VIH E, G = VIH FAIL PASS NO AI03470 M29W400DT, M29W400DB Block protection Figure 21. In-system equipment block protect flowchart Set-up START n=0 RP = VID Protect WRITE 60h ADDRESS = BLOCK ADDRESS A0 = VIL, A1 = VIH, A6 = VIL WRITE 60h ADDRESS = BLOCK ADDRESS A0 = VIL, A1 = VIH, A6 = VIL Wait 100 µs Verify WRITE 40h ADDRESS = BLOCK ADDRESS A0 = VIL, A1 = VIH, A6 = VIL Wait 4 µs READ DATA ADDRESS = BLOCK ADDRESS A0 = VIL, A1 = VIH, A6 = VIL DATA NO = 01h YES End RP = VIH ISSUE READ/RESET COMMAND PASS ++n = 25 NO YES RP = VIH ISSUE READ/RESET COMMAND FAIL AI03471 45/48 Block protection M29W400DT, M29W400DB Figure 22. In-system equipment chip unprotect flowchart START Set-up PROTECT ALL BLOCKS n=0 CURRENT BLOCK = 0 RP = VID WRITE 60h ANY ADDRESS WITH A0 = VIL, A1 = VIH, A6 = VIH Unprotect WRITE 60h ANY ADDRESS WITH A0 = VIL, A1 = VIH, A6 = VIH Wait 10 ms Verify WRITE 40h ADDRESS = CURRENT BLOCK ADDRESS A0 = VIL, A1 = VIH, A6 = VIH Wait 4 µs READ DATA ADDRESS = CURRENT BLOCK ADDRESS A0 = VIL, A1 = VIH, A6 = VIH NO End NO ++n = 1000 YES DATA = 00h INCREMENT CURRENT BLOCK YES LAST BLOCK NO YES RP = VIH RP = VIH ISSUE READ/RESET COMMAND ISSUE READ/RESET COMMAND FAIL PASS AI03472 46/48 M29W400DT, M29W400DB 10 Revision history Revision history Table 24. Document revision history Date Revision 26-Jul-2002 01 Initial release 2.0 Revision numbering modified: a minor revision will be indicated by incrementing the digit after the dot, and a major revision, by incrementing the digit before the dot (revision version 01 equals 1.0). Revision history moved to end of document. Typical after 100k W/E cycles column removed from Table 4: Program, Erase times and Program, Erase endurance cycles, Data retention and Erase Suspend latency time parameters added. Common Flash interface removed from datasheet. Lead-free package options E and F added to Table 20: Ordering information scheme. Document promoted from Product Preview to Preliminary Data status. 28-May-2003 2.1 tWLWH and tELEH parameters modified for all speed classes in Table 13: Write AC characteristics, Write Enable controlled and Table 14: Write AC characteristics, Chip Enable controlled. Minor text changes. TSOP48 package updated (Figure 16 and Table 17). 30-Sep-2003 2.2 Document status changed to Full datasheet. TFBGA48 6 x 8 package added. TLEAD parameter added in Table 8: Absolute maximum ratings. 6-Oct-2003 2.3 tGLQV modified in Table 12: Read AC characteristics. 16-Jan-2004 3 RB pin description corrected in Table : . 8-Jun-2004 4 Tape and Reel option updated in Table 20: Ordering information scheme. Lead-free packaging promotion updated in Section 1: Description, Section 6: Maximum rating and Section 9: Part numbering. 07-Aug-2007 5 ECOPACK® text added in Section 1: Description. Updated options E and F in Table 20: Ordering information scheme. Small text changes. 10-Dec-2007 6 Applied Numonyx branding. 19-Feb-2003 Changes 47/48 M29W400DT, M29W400DB Please Read Carefully: INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH NUMONYX™ PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN NUMONYX'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NUMONYX ASSUMES NO LIABILITY WHATSOEVER, AND NUMONYX DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF NUMONYX PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Numonyx products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Numonyx may make changes to specifications and product descriptions at any time, without notice. Numonyx, B.V. may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights that relate to the presented subject matter. The furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such patents, trademarks, copyrights, or other intellectual property rights. Designers must not rely on the absence or characteristics of any features or instructions marked “reserved” or “undefined.” Numonyx reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. Contact your local Numonyx sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Numonyx literature may be obtained by visiting Numonyx's website at http://www.numonyx.com. Numonyx StrataFlash is a trademark or registered trademark of Numonyx or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others. Copyright © 11/5/7, Numonyx, B.V., All Rights Reserved. 48/48