M29DW128F
M29DW128F
128 Mbit (16Mb x8 or 8Mb x16, Multiple Bank, Page, Boot Block) 3V Supply, Flash Memory
PRELIMINARY DATA
Features summary
■Supply Voltage
–VCC = 2.7V to 3.6V for Program, Erase and Read
–VCCQ= 1.65V to 3.6V for Input/Output
–VPP =12V for Fast Program (optional)
■ASYNCHRONOUS RANDOM/PAGE READ
–Page Width: 8 Words
–Page Access: 25, 30ns
–Random Access: 60, 70ns
■PROGRAMMING TIME
–10µs per Byte/Word typical
–4 Words / 8 Bytes Program
–32-Word Write Buffer
■ERASE VERIFY
■MEMORY BLOCKS
–Quadruple Bank Memory Array: 16Mbit+48Mbit+48Mbit+16Mbit
–Parameter Blocks (at Top and Bottom)
■DUAL OPERATIONS
–While Program or Erase in one bank, Read in any of the other banks
■PROGRAM/ ERASE SUSPEND and RESUME MODES
–Read from any Block during Program Suspend
–Read and Program another Block during Erase Suspend
■UNLOCK BYPASS PROGRAM
–Faster Production/Batch Programming
■COMMON FLASH INTERFACE
–64 bit Security Code
■100,000 PROGRAM/ERASE CYCLES per BLOCK
■LOW POWER CONSUMPTION
–Standby and Automatic Standby
TSOP56 (NF) 14 x 20mm
BGA
TBGA64 (ZA) 10 x 13mm
■HARDWARE BLOCK PROTECTION
–VPP/WP Pin for fast program and write protect of the four outermost parameter blocks
■SECURITY FEATURES
–Standard Protection
–Password Protection
■EXTENDED MEMORY BLOCK
–Extra block used as security block or to store additional information
■ELECTRONIC SIGNATURE
–Manufacturer Code: 0020h
–Device Code: 227Eh + 2220h + 2200h
■ECOPACK® PACKAGES AVAILABLE
|
Rev 1.0 |
August 2005 |
1/93 |
|
|
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to |
www.st.com |
change without notice. |
|
M29DW128F
Contents
1 Summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
|
2.1 |
Address Inputs (A0-A22) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
2.2 |
Data Inputs/Outputs (DQ0-DQ7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
2.3 |
Data Inputs/Outputs (DQ8-DQ14) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
2.4 |
Data Input/Output or Address Input (DQ15A–1) . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
2.5 |
Chip Enable (E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
2.6 |
Output Enable (G) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
2.7 |
Write Enable (W) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
2.8 |
VPP/Write Protect (VPP/WP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
2.9 |
Reset/Block Temporary Unprotect (RP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
2.10 |
Ready/Busy Output (RB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
2.11 |
Byte/Word Organization Select (BYTE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
2.12 |
VCCQ Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
2.13 |
VCC Supply Voltage (2.7V to 3.6V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
2.14 |
VSS Ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
3 |
Bus operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
|
3.1 |
Bus Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
3.2 |
Bus Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
3.3 |
Output Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
3.4 |
Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
3.5 |
Automatic Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
18 |
|
3.6 |
Special Bus Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
18 |
3.6.1 Read Electronic Signature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.6.2 Verify Extended Block Protection Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.6.3 Verify Block Protection Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.6.4 Hardware Block Protect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.6.5 Temporary Unprotect of High Voltage Protected Blocks . . . . . . . . . . . . . . . . 19
4 |
Hardware Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
2/93
M29DW128F
4.1 Write Protect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2 Temporary Block Unprotect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5 Software Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.1 |
Standard Protection Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
|
5.1.1 |
Block Lock/Unlock Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
5.1.2 |
Non-Volatile Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
5.2 |
Password Protection Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
5.2.1 Block Lock/Unlock Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.2.2 Non-Volatile Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6 Command Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.1 Standard commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.1.1 Read/Reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6.1.2 Auto Select command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6.1.3 Read CFI Query command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6.1.4 Chip Erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.1.5 Block Erase command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.1.6 Erase Suspend command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.1.7 Erase Resume command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.1.8 Program Suspend command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.1.9 Program Resume command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.1.10 Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.1.11 Verify command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.2 Fast Program commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
6.2.1 Write to Buffer and Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6.2.2 Write to Buffer and Program Confirm command . . . . . . . . . . . . . . . . . . . . . . 34 6.2.3 Write to Buffer and Program Abort and Reset command . . . . . . . . . . . . . . . 34 6.2.4 Double Word Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.2.5 Quadruple Word Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.2.6 Double Byte Program Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.2.7 Quadruple Byte Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.8 Octuple Byte Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.9 Unlock Bypass command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.10 Unlock Bypass Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.2.11 Unlock Bypass Reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3/93
|
|
|
|
M29DW128F |
|
|
|
|
|
|
6.3 |
Block Protection commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . 37 |
|
|
|
6.3.1 |
Enter Extended Block command . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . . 37 |
|
|
6.3.2 |
Exit Extended Block command . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 38 |
|
|
6.3.3 |
Set Extended Block Protection Bit command . . . . . . . . . . . . . . . |
. . . . . . . . . 38 |
|
|
6.3.4 |
Verify Extended Block Protection Bit command . . . . . . . . . . . . . |
. . . . . . . . . 38 |
|
|
6.3.5 |
Password Program command . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 38 |
|
|
6.3.6 |
Password Verify command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 39 |
|
|
6.3.7 |
Password Protection Unlock command . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 39 |
|
|
6.3.8 |
Set Password Protection Mode command . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 39 |
|
|
6.3.9 |
Verify Password Protection Mode command . . . . . . . . . . . . . . . . |
. . . . . . . . . 40 |
|
|
6.3.10 |
Set Standard Protection Mode command . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 40 |
|
|
6.3.11 |
Verify Standard Protection Mode command . . . . . . . . . . . . . . . . |
. . . . . . . . . 40 |
|
|
6.3.12 |
Set Non-Volatile Modify Protection Bit command . . . . . . . . . . . . |
. . . . . . . . . 40 |
|
|
6.3.13 |
Verify Non-Volatile Modify Protection Bit command . . . . . . . . . . |
. . . . . . . . . 41 |
|
|
6.3.14 |
Clear Non-Volatile Modify Protection Bits command . . . . . . . . . . |
. . . . . . . . . 41 |
|
|
6.3.15 |
Set Lock Bit command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 41 |
|
|
6.3.16 |
Clear Lock Bit command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 41 |
|
|
6.3.17 |
Verify Lock Bit command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 41 |
|
|
6.3.18 |
Set Lock-Down Bit command . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 41 |
|
|
6.3.19 |
Verify Lock-Down Bit command . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . 41 |
7 |
Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . 45 |
||
|
7.1 |
Data Polling Bit (DQ7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . 45 |
|
|
7.2 |
Toggle Bit (DQ6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . 45 |
|
|
7.3 |
Error Bit (DQ5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . 46 |
|
|
7.4 |
Erase Timer Bit (DQ3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . 46 |
|
|
7.5 |
Alternative Toggle Bit (DQ2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . 46 |
|
|
7.6 |
Write to Buffer and Program Abort Bit (DQ1) . . . . . . . . . . . . . . . . |
. . . . . . . . 46 |
8 Dual Operations and Multiple Bank architecture . . . . . . . . . . . . . . . . . . . 49
9 Maximum Rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
10 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
11 Package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4/93
M29DW128F
12 |
Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
66 |
|
Appendix A Block addresses and Read/Modify Protection groups. . . . . . . . . . |
67 |
||
Appendix B Common Flash Interface (CFI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
||
Appendix C Extended Memory Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
82 |
||
|
C.1 |
Factory Locked Section of the Extended Block . . . . . . . . . . . . . . . . . . . . . . . |
82 |
|
C.2 |
Customer Lockable Section of the Extended Block . . . . . . . . . . . . . . . . . . . . |
82 |
Appendix D High Voltage Block Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
84 |
||
|
D.1 |
Programmer Technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
84 |
|
D.2 |
In-System Technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
84 |
Appendix E Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
13 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
5/93
M29DW128F
List of tables
Table 1. Signal Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Table 2. Bank Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Table 3. Bus Operations, 8-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Table 4. Read Electronic Signature, 8-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Table 5. Block Protection, 8-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 6. Bus Operations, 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 7. Read Electronic Signature, 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Table 8. Block Protection, 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Table 9. Hardware Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Table 10. Block Protection Status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Table 11. Standard Commands, 8-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 12. Standard Commands, 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 13. Fast Program Commands, 8-bit mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 14. Fast Program Commands, 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 15. Block Protection Commands, 8-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Table 16. Block Protection Commands, 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Table 17. Protection Command Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Table 18. Program, Erase Times and Program, Erase Endurance Cycles. . . . . . . . . . . . . . . . . . . . . 44 Table 19. Status Register Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Table 20. Dual Operations Allowed In Other Banks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Table 21. Dual Operations Allowed In Same Bank. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Table 22. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Table 23. Operating and AC Measurement Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Table 24. Device Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Table 25. DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Table 26. Read AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Table 27. Write AC Characteristics, Write Enable Controlled. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Table 28. Write AC Characteristics, Chip Enable Controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Table 29. Toggle and Alternative Toggle Bits AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Table 30. Reset/Block Temporary Unprotect AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Table 31. TSOP56 – 56 lead Plastic Thin Small Outline, 14 x 20mm, Package Mechanical Data. . . 64 Table 32. TBGA64 10x13mm - 8x8 active ball array, 1mm pitch, Package Mechanical Data . . . . . . 65 Table 33. Ordering Information Scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Table 34. Block Addresses and Protection Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Table 35. Query Structure Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Table 36. CFI Query Identification String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Table 37. CFI Query System Interface Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Table 38. Device Geometry Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Table 39. Primary Algorithm-Specific Extended Query Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Table 40. Security Code Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Table 41. Extended Block Address and Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Table 42. Programmer Technique Bus Operations, 8-bit or 16-bit Mode . . . . . . . . . . . . . . . . . . . . . . 85 Table 43. Document Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
6/93
M29DW128F
List of figures
Figure 1. Logic Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Figure 2. TSOP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 3. TBGA Connections (Top view through package) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 4. Block Addresses (x8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Figure 5. Block Addresses (x16) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Figure 6. Block Protection State Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Figure 7. Software Protection Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Figure 8. Data Polling Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Figure 9. Toggle Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Figure 10. AC Measurement I/O Waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Figure 11. AC Measurement Load Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Figure 12. Random Read AC Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Figure 13. Page Read AC Waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Figure 14. Write AC Waveforms, Write Enable Controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Figure 15. Write AC Waveforms, Chip Enable Controlled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Figure 16. Toggle and Alternative Toggle Bits Mechanism, Chip Enable Controlled. . . . . . . . . . . . . . 61 Figure 17. Toggle and Alternative Toggle Bits Mechanism, Output Enable Controlled . . . . . . . . . . . . 61 Figure 18. Reset/Block Temporary Unprotect AC Waveforms (No Program/Erase Ongoing). . . . . . . 62 Figure 19. Reset/Block Temporary Unprotect During Program/Erase Operation AC Waveforms . . . . 62 Figure 20. Accelerated Program Timing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Figure 21. TSOP56 – 56 lead Plastic Thin Small Outline, 14 x 20mm, Package Outline . . . . . . . . . . 64 Figure 22. TBGA64 10x13mm - 8x8 active ball array, 1mm pitch, Package Outline . . . . . . . . . . . . . . 65 Figure 23. Programmer Equipment Group Protect Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Figure 24. Programmer Equipment Chip Unprotect Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Figure 25. In-System Equipment Group Protect Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Figure 26. In-System Equipment Chip Unprotect Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Figure 27. Write to Buffer and Program Flowchart and Pseudo Code. . . . . . . . . . . . . . . . . . . . . . . . . 90
7/93
1 Summary description |
M29DW128F |
|
|
1 Summary description
The M29DW128F is a 128 Mbit (16Mb x8 or 8Mb x16) non-volatile memory that can be read, erased and reprogrammed. These operations can be performed using a single low voltage (2.7 to 3.6V) supply. VCCQ is an additional voltage supply that allows to drive the I/O pins down to 1.65V. At Power-up the memory defaults to its Read mode.
The M29DW128F features an asymmetrical block architecture, with 16 parameter and 254 main blocks, divided into four Banks, A, B, C and D, providing multiple Bank operations. While programming or erasing in one bank, read operations are possible in any other bank. The bank architecture is summarized in Table 2. Eight of the Parameter Blocks are at the top of the memory address space, and eight are at the bottom.
Program and Erase commands are written to the Command Interface of the memory. An onchip 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 Chip Enable, Output Enable and Write Enable signals control the bus operations of the memory. They allow simple connection to most microprocessors, often without additional logic.
The device supports Asynchronous Random Read and Page Read from all blocks of the memory array.
The M29DW128F has one extra 256 Byte block (Extended Block) that can be accessed using a dedicated command. The Extended Block can be protected and so is useful for storing security information. However the protection is irreversible, once protected the protection cannot be undone.
Each block can be erased independently, so it is possible to preserve valid data while old data is erased.
The device features four different levels of hardware and software block protection to avoid unwanted program or erase (modify). The software block protection features are available in 16 bit memory organization only:
●Hardware Protection:
–The VPP/WP provides a hardware protection of the four outermost parameter blocks (two at the top and two at the bottom of the address space).
–The RP pin temporarily unprotects all the blocks previously protected using a High Voltage Block Protection technique (see Appendix D: High Voltage Block Protection).
●Software Protection
–Standard Protection
–Password Protection
The memory is offered in TSOP56 (14 x 20mm) and TBGA64 (10 x 13mm, 1mm pitch) packages. The 8-bit Bus mode is only available when the M29DW128F is delivered in TSOP56 package. In order to meet environmental requirements, ST offers the M29DW128F 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. ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com. The memory is supplied with all the bits erased (set to ’1’).
8/93
M29DW128F |
|
1 Summary description |
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 1. |
Signal Names |
||||||||||
|
|
A0-A22 |
|
Address Inputs |
||||||||
|
|
|
|
|
||||||||
|
|
DQ0-DQ7 |
|
Data Inputs/Outputs |
||||||||
|
|
|
|
|
||||||||
|
|
DQ8-DQ14 |
|
Data Inputs/Outputs |
||||||||
|
|
|
|
|
||||||||
|
|
DQ15A–1 |
|
Data Input/Output or Address Input |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Chip Enable |
|
|
E |
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Output Enable |
|
|
G |
||||||||||
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
Write Enable |
|
|
W |
||||||||||
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
Reset/Block Temporary Unprotect |
|
|
RP |
||||||||||
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
Ready/Busy Output |
|
|
RB |
||||||||||
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
Byte/Word Organization Select(1) |
|
|
BYTE |
||||||||||
|
|
VCC |
|
Supply Voltage |
||||||||
|
|
VCCQ |
|
Supply Voltage for Input/Outputs |
||||||||
|
|
VPP |
|
|
|
|
VPP/Write Protect |
|||||
|
|
/WP |
||||||||||
|
|
VSS |
|
Ground |
||||||||
|
|
NC |
|
Not Connected Internally |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
1.The x8 organization is only available in TSOP56 Package while the x16 organization is available for both packages.
Figure 1. Logic Diagram
VCC VCCQ VPP/WP
23 |
15 |
A0-A22 |
|
W |
|
E |
M29DW128F |
G |
|
RP |
|
BYTE |
|
DQ0-DQ14
DQ15A–1
RB
VSS
AI09208
9/93
1 Summary description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
M29DW128F |
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 2. |
Bank Architecture |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
Parameter Blocks |
|
|
|
|
|
|
|
|
Main Blocks |
||||
Bank |
|
Bank Size |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
No. of |
|
Block Size |
|
|
|
|
|
|
|
No. of |
|
Block Size |
|||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
Blocks |
|
|
|
|
|
|
|
|
Blocks |
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A |
|
16 Mbit |
|
|
|
8 |
|
8 KBytes/ 4 KWords |
|
|
31 |
|
64 KBytes/ 32 KWords |
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B |
|
48 Mbit |
|
|
|
|
— |
|
|
— |
|
|
|
|
|
|
|
96 |
|
64 KBytes/ 32 KWords |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C |
|
48 Mbit |
|
|
|
|
— |
|
|
— |
|
|
|
|
|
|
|
96 |
|
64 KBytes/ 32 KWords |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
D |
|
16 Mbit |
|
|
|
8 |
|
8 KBytes/ 4 KWords |
|
|
31 |
|
64 KBytes/ 32 KWords |
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 2. |
TSOP Connections |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
|
NC |
|
|
|
|
|
|
|
|
NC |
|
|
|
||||||||||
|
|
|
|
1 |
|
56 |
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
A22 |
|
|
|
|
|
|
|
NC |
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||
|
|
A15 |
|
|
|
|
|
|
|
A16 |
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||
|
|
A14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
BYTE |
|
|
|
|
||||||||||||
|
|
A13 |
|
|
|
|
|
|
|
VSS |
|
|
|
||||||||||||
|
|
A12 |
|
|
|
|
|
|
|
DQ15A–1 |
|
|
|||||||||||||
|
|
A11 |
|
|
|
|
|
|
|
DQ7 |
|
|
|
||||||||||||
|
|
A10 |
|
|
|
|
|
|
|
DQ14 |
|
|
|
||||||||||||
|
|
|
|
A9 |
|
|
|
|
|
|
|
DQ6 |
|
|
|
||||||||||
|
|
|
|
A8 |
|
|
|
|
|
|
|
DQ13 |
|
|
|
||||||||||
|
|
A19 |
|
|
|
|
|
|
|
DQ5 |
|
|
|
||||||||||||
|
|
A20 |
|
|
|
|
|
|
|
DQ12 |
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DQ4 |
|
|
|
||||||
|
|
|
|
|
W |
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
14 |
|
43 |
|
|
VCC |
|
|
|
||||||||||
|
|
|
|
RP |
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
A21 |
|
15 |
M29DW128F 42 |
|
|
DQ11 |
|
|
|
||||||||||||||
|
|
VPP |
|
|
|
|
|
|
|
|
|
DQ3 |
|
|
|
||||||||||
|
|
/WP |
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
DQ10 |
|
|
|
|||||||||
|
|
|
RB |
|
|
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
A18 |
|
|
|
|
|
|
|
DQ2 |
|
|
|
||||||||||||
|
|
A17 |
|
|
|
|
|
|
|
DQ9 |
|
|
|
||||||||||||
|
|
|
|
A7 |
|
|
|
|
|
|
|
DQ1 |
|
|
|
||||||||||
|
|
|
|
A6 |
|
|
|
|
|
|
|
DQ8 |
|
|
|
||||||||||
|
|
|
|
A5 |
|
|
|
|
|
|
|
DQ0 |
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
A4 |
|
|
|
|
|
|
|
|
G |
|
|
|
|
|
|||||||
|
|
|
|
A3 |
|
|
|
|
|
|
|
VSS |
|
|
|
||||||||||
|
|
|
|
A2 |
|
|
|
|
|
|
|
E |
|
|
|
|
|||||||||
|
|
|
|
A1 |
|
|
|
|
|
|
|
A0 |
|
|
|
||||||||||
|
|
|
NC |
|
|
|
|
|
|
NC |
|
|
|
||||||||||||
|
|
|
NC |
|
28 |
|
29 |
|
|
VCCQ |
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AI09209b |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10/93
M29DW128F |
1 Summary description |
|
|
Figure 3. TBGA Connections (Top view through package)
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
A |
NC |
A3 |
A7 |
RB |
W |
A9 |
A13 |
NC |
|
||||||||
B |
NC |
A4 |
A17 |
VPP/WP |
RP |
A8 |
A12 |
A22 |
C |
NC |
A2 |
A6 |
A18 |
A21 |
A10 |
A14 |
NC |
D |
NC |
A1 |
A5 |
A20 |
A19 |
A11 |
A15 |
VCCQ |
E |
NC |
A0 |
DQ0 |
DQ2 |
DQ5 |
DQ7 |
A16 |
VSS |
F |
VCCQ |
E |
DQ8 |
DQ10 |
DQ12 |
DQ14 |
NC |
NC |
G |
NC |
G |
DQ9 |
DQ11 |
VCC |
DQ13 |
DQ15 |
NC |
H |
NC |
VSS |
DQ1 |
DQ3 |
DQ4 |
DQ6 |
VSS |
NC |
AI09210b
11/93
1 Summary description |
|
|
|
|
|
M29DW128F |
|||
|
|
|
|
|
|
|
|
|
|
Figure 4. Block Addresses (x8) |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(x8) |
|
|
|
|
|
|
|
|
|
Address lines A22-A0, DQ15A-1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
000000h |
|
8 KBytes |
|
|
800000h |
|
64 KBytes |
|
|
|
|
|
|
|
|
|
||
|
001FFFh |
|
|
Total of 8 |
Bank C |
80FFFFh |
|
|
Total of 96 |
|
|
|
|
|
|
|
|||
|
|
|
|
Parameter |
|
|
|
Main Blocks |
|
|
|
|
|
Blocks |
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
00E000h |
|
8 KBytes |
|
|
DF0000h |
|
64 KBytes |
|
|
|
|
|
|
|
|
|
||
Bank A |
00FFFFh |
|
|
|
|
DFFFFFh |
|
|
|
010000h |
|
|
|
|
E00000h |
|
|
|
|
|
|
64 KBytes |
|
|
|
64 KBytes |
|
||
|
|
|
|
|
|
|
|
||
|
01FFFFh |
|
|
Total of 31 |
|
E0FFFFh |
|
|
Total of 31 |
|
|
|
|
|
|
|
|
||
|
|
|
|
Main Blocks |
|
|
|
|
Main Blocks |
|
|
|
|
|
|
|
|
||
|
1F0000h |
|
64 KBytes |
|
|
FE0000h |
|
64 KBytes |
|
|
|
|
|
|
|
|
|
||
|
1FFFFFh |
|
|
|
Bank D |
FEFFFFh |
|
|
|
|
200000h |
|
|
FF0000h |
|
|
|||
|
64 KBytes |
|
|
8 KBytes |
|
||||
|
|
|
|
|
|
|
|
||
Bank B |
20FFFFh |
|
Total of 96 |
|
FF1FFFh |
|
Total of 8 |
||
|
|
|
|
|
|
|
|||
|
|
|
Main Blocks |
|
|
|
|
Parameter |
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
Blocks |
|
|
|
|
|
|
|
|
||
|
7F0000h |
64 KBytes |
|
|
FFE000h |
8 KBytes |
|
||
|
|
|
|
|
|
|
|
||
|
7FFFFFh |
|
|
|
FFFFFFh |
|
AI08966 |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Also see Appendix A and Table 34 for a full listing of the Block Addresses.
12/93
M29DW128F |
|
|
|
|
1 Summary description |
||||
|
|
|
|
|
|
|
|
|
|
Figure 5. Block Addresses (x16) |
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(x16) |
|
|
|
|
|
|
|
|
|
Address lines A22-A0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
000000h |
|
4 KWords |
|
|
400000h |
|
32 KWords |
|
|
|
|
|
|
|
|
|
||
|
000FFFh |
|
|
Total of 8 |
Bank C |
407FFFh |
|
|
Total of 96 |
|
|
|
|
|
|
|
|||
|
|
|
|
Parameter |
|
|
|
Main Blocks |
|
|
|
|
|
|
|
|
|
||
|
|
|
|
Blocks |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
007000h |
|
4 KWords |
|
|
6F8000h |
|
32 KWords |
|
|
|
|
|
|
|
|
|
||
Bank A |
007FFFh |
|
|
|
|
6FFFFFh |
|
|
|
008000h |
|
|
|
|
700000h |
|
|
|
|
|
|
32 KWords |
|
|
|
32 KWords |
|
||
|
|
|
|
|
|
|
|
||
|
00FFFFh |
|
|
Total of 31 |
|
707FFFh |
|
|
Total of 31 |
|
|
|
|
|
|
|
|
||
|
|
|
|
Main Blocks |
|
|
|
|
Main Blocks |
|
|
|
|
|
|
|
|
|
|
|
0F8000h |
|
32 KWords |
|
|
7F0000h |
|
32 KWords |
|
|
|
|
|
|
|
|
|
||
|
0FFFFFh |
|
|
|
Bank D |
7F7FFFh |
|
|
|
|
100000h |
|
|
7F8000h |
|
|
|||
|
32 KWord |
|
|
4 KWords |
|
||||
|
|
|
|
|
|
|
|
||
Bank B |
107FFFh |
|
Total of 96 |
|
7F8FFFh |
|
Total of 8 |
||
|
|
|
|
|
|
|
|||
|
|
|
Main Blocks |
|
|
|
|
Parameter |
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
Blocks |
|
|
|
|
|
|
|
|
|
|
|
3F8000h |
32 KWords |
|
|
7FF000h |
4 KWords |
|
||
|
|
|
|
|
|
|
|
||
|
3FFFFFh |
|
|
|
7FFFFFh |
|
AI08967 |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Also see Appendix A, Table 34 for a full listing of the Block Addresses.
13/93
2 Signal descriptions |
M29DW128F |
|
|
2 Signal descriptions
See Figure 1: Logic Diagram, and Table 1: Signal Names, for a brief overview of the signals connected to this device.
2.1Address Inputs (A0-A22)
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.2Data Inputs/Outputs (DQ0-DQ7)
The Data I/O outputs 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 internal state machine.
2.3Data Inputs/Outputs (DQ8-DQ14)
The Data I/O outputs 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.4Data Input/Output or Address Input (DQ15A–1)
When the device is in x16 Bus mode, this pin behaves as a Data Input/Output pin (as DQ8DQ14). When the device is in x8 Bus mode, this pin behaves as an address pin; DQ15A–1 Low will select the LSB of the addressed Word, DQ15A–1 High will select the MSB. Throughout the text consider references to the Data Input/Output to include this pin when the device operates in x16 bus mode and references to the Address Inputs to include this pin when the device operates in x8 bus mode except when stated explicitly otherwise.
2.5Chip Enable (E)
The Chip Enable pin, 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.6Output Enable (G)
The Output Enable pin, G, controls the Bus Read operation of the memory.
14/93
M29DW128F |
2 Signal descriptions |
|
|
2.7Write Enable (W)
The Write Enable pin, W, controls the Bus Write operation of the memory’s Command Interface.
2.8VPP/Write Protect (VPP/WP)
The VPP/Write Protect pin provides two functions. The VPP function allows the memory to use an external high voltage power supply to reduce the time required for Program operations. This is achieved by bypassing the unlock cycles and/or using the multiple Word (2 or 4 at-a-time) or multiple Byte Program (2, 4 or 8 at-a-time) commands.
The Write Protect function provides a hardware method of protecting the four outermost boot blocks (two at the top, and two at the bottom of the address space). When VPP/Write Protect is Low, VIL, the memory protects the four outermost boot blocks; Program and Erase operations in
these blocks are ignored while VPP/Write Protect is Low, even when RP is at VID.
When VPP/Write Protect is High, VIH, the memory reverts to the previous protection status of the four outermost boot blocks. Program and Erase operations can now modify the data in these blocks unless the blocks are protected using Block Protection.
Applying VPPH to the VPP/WP pin will temporarily unprotect any block previously protected (including the four outermost parameter blocks) using a High Voltage Block Protection technique (In-System or Programmer technique). See Table 9: Hardware Protection for details.
When VPP/Write Protect is raised to VPP the memory automatically enters the Unlock Bypass mode. When VPP/Write Protect returns to VIH or VIL normal operation resumes. During Unlock Bypass Program operations the memory draws IPP from the pin to supply the programming circuits. See the description of the Unlock Bypass command in the Command Interface section. The transitions from VIH to VPP and from VPP to VIH must be slower than tVHVPP, see Figure 20.
Never raise VPP/Write Protect to VPP from any mode except Read mode, otherwise the memory may be left in an indeterminate state.
The VPP/Write Protect pin must not be left floating or unconnected or the device may become unreliable. A 0.1µF capacitor should be connected between the VPP/Write Protect 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 Unlock Bypass Program, IPP.
2.9Reset/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 the blocks previously protected using a High Voltage Block Protection technique (In-System or Programmer technique).
Note that if VPP/WP is at VIL, then the four outermost parameter blocks will remain protected
even if RP is at VID.
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 30: Reset/Block Temporary Unprotect AC Characteristics
and Figure 18 and Figure 19 for more details.
15/93
2 Signal descriptions |
M29DW128F |
|
|
Holding RP at VID will temporarily unprotect all the blocks previously protected using a High Voltage Block Protection technique. Program and erase operations on all blocks will be possible. The transition from VIH to VID must be slower than tPHPHH.
2.10Ready/Busy Output (RB)
The Ready/Busy pin is an open-drain output that can be used to identify when the device is performing a Program or erase operation. During Program or erase operations Ready/Busy is Low, VOL. 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 30: Reset/Block Temporary Unprotect AC Characteristics and Figure 18 and Figure 19.
The use of an open-drain output allows the Ready/Busy pins from several memories to be connected to a single pull-up resistor. A Low will then indicate that one, or more, of the memories is busy.
2.11Byte/Word Organization Select (BYTE)
It is used to switch between the x8 and x16 Bus modes of the memory when the M29DW128F is delivered in TSOP56 package. When Byte/Word Organization Select is Low, VIL, the memory is in x8 mode, when it is High, VIH, the memory is in x16 mode.
2.12VCCQ Supply Voltage
VCCQ provides the power supply to the I/O and control pins and enables all Outputs to be powered independently from VCC. VCCQ can be tied to VCC or can use a separate supply.
2.13VCC Supply Voltage (2.7V to 3.6V)
VCC provides the power supply for all operations (Read, Program and Erase).
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, ICC2.
2.14VSS Ground
VSS is the reference for all voltage measurements. The device features two VSS pins both of which must be connected to the system ground.
16/93
M29DW128F |
3 Bus operations |
|
|
3 Bus operations
There are five standard bus operations that control the device. These are Bus Read (Random and Page modes), Bus Write, Output Disable, Standby and Automatic Standby.
Dual operations are possible in the M29DW128F, thanks to its multiple bank architecture. While programming or erasing in one banks, read operations are possible in any of the other banks. Write operations are only allowed in one bank at a time.
See Table 3 and Table 6, Bus Operations, for a summary. Typically glitches of less than 5ns on Chip Enable, Write Enable, and Reset/Block Temporary Unprotect pins are ignored by the memory and do not affect bus operations.
3.1Bus Read
Bus Read operations read from the memory cells, or specific registers in the Command Interface. To speed up the read operation the memory array can be read in Page mode where data is internally read and stored in a page buffer. The Page has a size of 8 Words and is addressed by the address inputs A0-A2.
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 12: Random Read AC Waveforms, Figure 13: Page Read AC Waveforms, and Table 26: Read AC Characteristics, for details of when the output becomes valid.
3.2Bus 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 14 and Figure 15, Write AC Waveforms, and
Table 27 and Table 28, Write AC Characteristics, for details of the timing requirements.
3.3Output Disable
The Data Inputs/Outputs are in the high impedance state when Output Enable is High, VIH.
3.4Standby
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.2V. For the Standby current level see Table 25: 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.
17/93
3 Bus operations |
M29DW128F |
|
|
3.5Automatic Standby
If CMOS levels (VCC ± 0.2V) are used to drive the bus and the bus is inactive for 300ns 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.
3.6Special Bus Operations
Additional bus operations can be performed to read the Electronic Signature, verify the Protection Status of the Extended Memory Block (second section), and 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.6.1Read Electronic Signature
The memory has two codes, the Manufacturer code and the Device code used to identify the memory. These codes can accessed by performing read operations with control signals and addresses set as shown in Table 4 and Table 6.
These codes can also be accessed by issuing an Auto Select command (see Auto Select command in Section 6: Command Interface).
3.6.2Verify Extended Block Protection Indicator
The Extended Block is divided in two sections of which one is Factory Locked and the second one is either Customer Lockable or Customer Locked.
The Protection Status of the second section of the Extended Block (Customer Lockable or Customer Locked) can be accessed by reading the Extended Block Protection Indicator. This is performed by applying the signals as shown in Table 5 and Table 8. The Protection Status of the Extended Block is then output on bits DQ7 and DQ6 of the Data Input/Outputs. (see Table 3 and Table 6, Bus Operations).
The Protection Status of the Extended Block can also be accessed by issuing an Auto Select command (see Auto Select command in Section 6: Command Interface).
3.6.3Verify Block Protection Status
The Protection Status of a Block can be directly accessed by performing a read operation with control signals and addresses set as shown in Table 5 and Table 8.
If the Block is protected, then 01h (in x8 mode) is output on Data Input/Outputs DQ0-DQ7, otherwise 00h is output.
3.6.4Hardware Block Protect
The VPP/WP pin can be used to protect the four outermost parameter blocks. When VPP/WP is at VIL the four outermost parameter blocks are protected and remain protected regardless of the Block Protection Status or the Reset/Block Temporary Unprotect pin state.
18/93
M29DW128F |
3 Bus operations |
|
|
3.6.5Temporary Unprotect of High Voltage Protected Blocks
The RP pin can be used to temporarily unprotect all the blocks previously protected using the In-System or the Programmer protection technique (High Voltage techniques).
Refer to Reset/Block Temporary Unprotect (RP) in Section 2: Signal descriptions.
Table 3. Bus Operations, 8-bit Mode
Operation(1) |
|
|
|
|
|
|
|
|
|
|
|
|
VPP |
|
|
Address Inputs |
Data Inputs/Outputs |
|
|
E |
|
|
G |
|
|
W |
|
|
RP |
|
/WP |
|
|
|
|
||
|
|
|
|
|
|
|
|
|
A22-A0, DQ15A-1 |
DQ14-DQ8 |
DQ7-DQ0 |
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|||||||||
Bus Read |
VIL |
VIL |
VIH |
VIH |
VIH |
|
Cell Address |
Hi-Z |
Data Output |
|||||||||
Bus Write |
VIL |
VIH |
VIL |
VIH |
VIH |
|
Command Address |
Hi-Z |
Data Input |
|||||||||
Output Disable |
|
X |
VIH |
VIH |
VIH |
VIH |
|
X |
Hi-Z |
Hi-Z |
||||||||
Standby |
VIH |
|
X |
|
X |
VIH |
VIH |
|
X |
Hi-Z |
Hi-Z |
|||||||
1. X = VIL or VIH. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 4. Read Electronic Signature, 8-bit Mode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Address Inputs |
|
|
|
Data Inputs/ |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Outputs |
||||||
Read Cycle(1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
E |
|
|
G |
|
|
W |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A22- |
A9 |
A8 |
A7- |
|
A5- |
A3 |
A2 |
A1 |
A0 |
DQ15A |
DQ14- |
DQ7- |
|||||
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
A10 |
A6 |
|
A4 |
-1 |
DQ8 |
DQ0 |
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Manufacturer Code |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
X |
VIL |
VIL |
VIL |
VIL |
X |
Hi-Z |
20h |
|
Device Code (Cycle 1) |
VIL |
VIL |
VIH |
X |
VID |
X |
VIL |
|
|
|
VIL |
VIL |
VIL |
VIH |
X |
Hi-Z |
7Eh |
||||||
Device Code (Cycle 2) |
|
VIL |
VIH |
VIH |
VIH |
VIL |
X |
Hi-Z |
20h |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
Device Code (Cycle 3) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VIH |
VIH |
VIH |
VIH |
X |
Hi-Z |
00h |
1. X = VIL or VIH. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19/93
3 Bus operations |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
M29DW128F |
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 5. |
Block Protection, 8-bit Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Operation |
|
|
|
|
|
|
|
|
|
|
|
|
|
VPP/ |
|
|
|
|
Address Inputs(2) |
|
|
|
Data Inputs/Outputs |
|
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
E |
|
|
G |
|
W |
|
RP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||
(1) |
|
|
|
|
|
|
WP |
|
A22- |
A11- |
A9 |
A8 |
A7 |
A6 |
A5- |
A3- |
A1 |
A0 |
DQ15A |
DQ14- |
DQ7-DQ0 |
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A12 |
A10 |
|
|
|
|
A4 |
A2 |
|
|
-1 |
DQ8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Verify |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80h |
|
Extended |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Customer |
|
|
Block |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lockable) |
|
|
Protection |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BA |
|
|
|
X |
|
X |
|
|
VIH |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C0h |
|
||||||
Indicator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Customer |
|
(bits DQ6, |
VIL |
|
VIL |
VIH |
VIH |
|
VIH |
|
X |
VID |
X |
|
VIL |
|
VIL |
VIH |
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
Locked)(3) |
|
|||||||||||||||||||||
DQ7) |
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Verify Block |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hi-Z |
01h |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(protected) |
|
|
Protection |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BKA |
|
|
|
VIL |
|
VIL |
|
|
VIL |
X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00h |
|
||||||
Status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(unprotected) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Temporary |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Block |
|
X |
|
|
X |
|
X |
VID |
|
X |
|
|
|
|
|
Valid |
|
|
|
|
Data Input |
|
||||||||
Unprotect |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(4) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.X = VIL or VIH.
2.BKA Bank Address, BA any Address in the Block.
3.This indicates the protection status of the second section of the Extended Block; the first section of the Extended Block being always Factory Locked.
4.The RP pin unprotects all the blocks that have been previously protected using a High Voltage protection Technique.
Table 6. |
Bus Operations, 16-bit Mode |
|
|
|||||||||||||||
Operation(1) |
|
|
|
|
|
|
|
|
|
|
|
|
VPP/ |
Address Inputs |
Data Inputs/Outputs |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||
|
E |
|
G |
|
W |
|
RP |
|
|
|||||||||
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
WP |
A22-A0 |
DQ15A-1, DQ14-DQ0 |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|||||||||
Bus Read |
|
VIL |
VIL |
VIH |
VIH |
|
VIH |
Cell Address |
Data Output |
|||||||||
Bus Write |
|
VIL |
VIH |
VIL |
VIH |
|
VIH |
Command Address |
Data Input |
|||||||||
Output Disable |
|
X |
VIH |
VIH |
VIH |
|
VIH |
X |
Hi-Z |
|||||||||
Standby |
|
VIH |
|
X |
|
X |
VIH |
|
VIH |
X |
Hi-Z |
|||||||
1. X = VIL or VIH. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 7. |
Read Electronic Signature, 16-bit Mode |
|
|
|
|
|
|
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Address Inputs |
|
|
|
Data Inputs/Outputs |
|||
Read Cycle(1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
E |
|
|
G |
|
|
W |
|
A22- |
|
|
A7- |
A5- |
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
A9 |
A8 |
A3 |
A2 |
A1 |
A0 |
DQ15A-1, DQ14-DQ0 |
||||
|
|
|
|
|
|
|
|
|
|
|
A10 |
A6 |
A4 |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
Manufacturer Code |
|
|
|
|
|
|
|
|
|
|
|
|
|
X |
VIL |
VIL |
VIL |
VIL |
0020h |
||
Device Code (Cycle 1) |
VIL |
VIL |
VIH |
X |
VID |
X |
VIL |
|
VIL |
VIL |
VIL |
VIH |
227Eh |
||||||||
Device Code (Cycle 2) |
VIL |
VIH |
VIH |
VIH |
VIL |
2220h |
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||
Device Code (Cycle 3) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VIH |
VIH |
VIH |
VIH |
2200h |
||
1. X = VIL or VIH. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20/93
M29DW128F |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 Bus operations |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 8. |
Block Protection, 16-bit Mode |
|
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VPP/ |
|
|
|
|
Address Inputs(2) |
|
|
|
Data Inputs/Outputs |
|||||
Operation(1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
E |
G |
|
W |
|
RP |
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
WP |
|
A22- |
A11- |
A9 |
A8 |
A7 |
A6 |
A5- |
A3- |
A1 |
A0 |
DQ15A-1, DQ14-DQ0 |
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A12 |
|
A10 |
|
|
|
|
A4 |
A2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Verify Extended |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0080h |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Customer Lockable) |
||
Block Indicator |
|
|
|
|
|
|
|
|
|
|
|
|
|
BA |
|
|
|
|
X |
|
X |
|
|
VIH |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00C0h |
||||||
(bits DQ6, DQ7) |
VIL |
VIL |
VIH |
VIH |
|
VIH |
|
|
|
VID |
|
|
VIL |
|
VIL |
VIH |
|
|||||||||
|
|
|
X |
X |
|
|
|
(Customer Locked)(3) |
||||||||||||||||||
|
|
|
|
|
|
|
|
|||||||||||||||||||
Verify Block |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BKA |
|
|
|
|
VIL |
|
VIL |
|
|
VIL |
0001h (protected) |
Protection Status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0000h (unprotected) |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Temporary Block |
|
X |
X |
|
X |
VID |
|
X |
|
|
|
|
|
Valid |
|
|
|
|
Data Input |
|||||||
Unprotect (4) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.X = VIL or VIH.
2.BKA Bank Address, BA Any Address in the Block.
3.This indicates the protection status of the second section of the Extended Block; the first section of the Extended Block being always Factory Locked.
4.The RP pin unprotects all the blocks that have been previously protected using a High Voltage protection Technique.
21/93
4 Hardware Protection |
M29DW128F |
|
|
4 Hardware Protection
The M29DW128F features hardware protection/unprotection. Refer to Table 9 for details on hardware block protection/unprotection using VPP/WP and RP pins.
4.1Write Protect
The VPP/WP pin protects the four outermost parameter blocks (refer to Section 2: Signal descriptions for a detailed description of the signals).
4.2Temporary Block Unprotect
When held at VID, the Reset/Block Temporary Unprotect pin, RP, will temporarily unprotect all the blocks previously protected using a High Voltage Block Protection technique.
Table 9. |
|
Hardware Protection |
|
||||
VPP |
|
|
|
|
|
Function |
|
/WP |
|
|
RP |
|
|||
|
|
|
|
VIH |
4 outermost parameter blocks protected from |
||
|
|
|
|
Program/Erase operations |
|||
|
VIL |
|
|
|
|||
|
|
|
|
|
|||
|
VID |
All blocks temporarily unprotected except the 4 |
|||||
|
|
|
|
||||
|
|
|
|
outermost blocks(1) |
|||
|
|
|
|
|
|
|
|
VIH or VID |
VID |
All blocks temporarily unprotected(1) |
|||||
|
VPPH |
VIH or VID |
All blocks temporarily unprotected(1) |
1.The temporary unprotection is valid only for the blocks that have been protected using the High Voltage Protection Technique (see Appendix D: High Voltage Block Protection). The blocks protected using a software protection method (Standard, Password) do not follow this rules.
22/93
M29DW128F |
5 Software Protection |
|
|
5 Software Protection
The M29DW128F has two different Software Protection modes: the Standard Protection mode and the Password Protection mode.
On first use all parts default to the Standard Protection mode and the customer is free to activate the Standard or the Password Protection mode.
The desired protection mode is activated by setting one of two one-time programmable bits, the Standard Protection Mode Lock bit or the Password Protection Mode Lock bit. Programming the Standard and the Password Protection Mode Lock bit to ‘1’ will permanently activate the Standard Protection mode and the Password Protection mode, respectively. These two bits are one-time programmable and non-volatile, once the Protection mode has been programmed, it cannot be changed and the device will permanently operate in the selected Protection mode. It is recommended to activate the desired Software Protection mode when first programming the device.
The device is shipped with all blocks unprotected. The Block Protection Status can be read by issuing the Auto Select command (see Table 10: Block Protection Status).
The Standard and Password Protection modes offer two levels of protection, a Block Lock/ Unlock protection and a Non-Volatile protection.
For the four outermost parameter blocks, an even higher level of block protection can be achieved by locking the blocks using the Non-Volatile Protection and then by holding the VPP/
WP pin Low.
5.1Standard Protection Mode
5.1.1Block Lock/Unlock Protection
It is a flexible mechanism to protect/unprotect a block or a group of blocks from program or erase operations.
A volatile Lock bit is assigned to each block or group of blocks. When the lock bit is set to ‘1’ the associated block or group of blocks is protected from program/erase operations, when the Lock bit is set to ‘0’ the associated block or group of blocks is unprotected and can be programmed or erased.
The Lock bits can be set (‘1’) and cleared (‘0’) individually as often as required by issuing a Set Lock Bit command and Clear Lock bit command, respectively.
After a Power-up or Hardware Reset, all the Lock bits are cleared to ‘0’ (block unlocked).
5.1.2Non-Volatile Protection
A Non-Volatile Modify Protection bit is assigned to each block or group of blocks.
When a Non-Volatile Modify Protection bit is set to ‘1’ the associated block or group of blocks is protected, preventing any program or erase operations in this block or group of blocks.
The Non-Volatile Modify Protection bits are set individually by issuing a Set Non-Volatile Modify Protection Bit command. They are non-volatile and will remain set through a hardware reset or a power-down/power-up sequence.
23/93
5 Software Protection |
M29DW128F |
|
|
The Non-Volatile Modify Protection bits cannot be cleared individually, they can only be cleared all at the same time by issuing a Clear Non-Volatile Modify Protection Bits command. However if any one of the Non-Volatile Modify Protection bits has to be cleared, care should be taken to preprogram to ‘1’ all the Non-Volatile Modify Protection Bits prior to issuing the Clear Non-Volatile Modify Protection bits in order to prevent the over-erasure of previously cleared Non Volatile Modify Protection bits. It is crucial to prevent over-erasure because the process may lead to permanent damage to the Non-Volatile Modify Protection Bits and the device does not have any built-in means of preventing over-erasure.
The device features a volatile Lock-Down bit which can be used to prevent changing the state of the Non-Volatile Modify Protection bits. When set to ‘1’, the Non-Volatile Modify Protection bits can no longer be modified; when set to ‘0’, the Non-Volatile Modify Protection bits can be set and reset using the Set Non-Volatile Modify Protection Bit command and the Clear NonVolatile Modify Protection Bits command, respectively.
The Lock-Down bit is set by issuing the Set Lock-Down Bit Command. It is not cleared using a command, but through a hardware reset or a power-down/power-up sequence.
The parts are shipped with the Non-Volatile Modify Protection bits set to ‘0’.
Locked blocks and Non-Volatile Locked blocks can co-exist in the same memory array.
Refer to Table 10: Block Protection Status and Figure 7: Software Protection Scheme for details on the block protection mechanism.
5.2Password Protection Mode
The Password Protection mode provides a more advanced level of software protection than the Standard Protection mode.
Prior to entering the Password Protection mode, it is necessary to set a password and to verify it (see Password Program command and Password Verify command). The Password Protection mode is then activated by programming the Password Protection Mode Lock bit to ‘1’. The Reset/Block Temporary Unprotect pin, RP, can be at VID or at VIH.
This operation is not reversible and once the bit is programmed the device will permanently remain in the Password Protection mode.
The Password Protection mode uses the same protection mechanisms as the Standard Protection mode (Block Lock/Unlock, Non-Volatile Protection).
5.2.1Block Lock/Unlock Protection
The Block Lock/Unlock Protection operates exactly in the same way as in the Standard Protection mode.
5.2.2Non-Volatile Protection
The Non-Volatile Protection is more advanced in the Password Protection mode.
In this mode, the Lock-Down bit cannot be cleared through a hardware reset or a power-down/ power-up sequence.
The Lock-Down bit is cleared by issuing the Password Protection Unlock command along with the correct password.
24/93
M29DW128F |
5 Software Protection |
|
|
Once the correct Password has been provided, the Lock-Down bit is cleared and the NonVolatile Modify Protection bits can be set or reset using the appropriate commands (the Set Non-Volatile Modify Protection Bit command or the Clear Non-Volatile Modify Protection Bits command, respectively).
If the Password provided is not correct, the Lock-Down bit remains locked and the state of the Non-Volatile Modify Protection bits cannot be modified.
The Password is a 64-bit code located in the memory space. It must be programmed by the user prior to selecting the Password Protection mode. The Password is programmed by issuing a Password Program command and checked by issuing a Password Verify command. The Password should be unique for each part.
Once the device is in Password Protection mode, the Password can no longer be read or retrieved. Moreover, all commands to the address where the password is stored, are disabled. Refer to Table 10: Block Protection Status and Figure 7: Software Protection Scheme for details on the block protection scheme.
Table 10. Block Protection Status
|
Non- |
|
|
|
|
|
Volatile |
Volatile |
Lock- |
Block |
|
|
|
Lock |
Modify |
Protectio |
|
Block Protection Status |
||
Down bit |
|
|||||
Bit |
Protection |
n Status |
|
|
||
|
|
|
||||
|
Bit |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
0 |
0 |
|
|
Non-Volatile Modify Protection bit can be |
|
|
Block |
modified(1) |
||||
|
|
|
00h |
|||
|
|
|
|
|||
0 |
0 |
1 |
Unprotected |
Non-Volatile Modify Protection bit cannot be |
||
|
||||||
|
|
|||||
|
|
modified(1) |
||||
|
|
|
|
|
||
0 |
1 |
0 |
|
|
Non-Volatile Modify Protection bit can be |
|
|
|
|
|
|
||
1 |
0 |
0 |
|
|
||
|
Block |
modified(1) |
||||
|
|
|
|
|||
1 |
1 |
0 |
|
|||
01h |
Program/ |
|
||||
|
|
|
|
|||
0 |
1 |
1 |
Erase |
|
||
|
|
|||||
|
Protected |
Non-Volatile Modify Protection bit cannot be |
||||
|
|
|
|
|||
1 |
0 |
1 |
|
|||
|
|
modified(1) |
||||
|
|
|
|
|
||
1 |
1 |
1 |
|
|
||
|
|
|
||||
|
|
|
|
|
|
1.The Lock bit can always be modified by issuing a Clear Lock Bit command or by taking the device through a Power-up or Hardware Reset.
Figure 6. Block Protection State Diagram
|
Default: |
|
Standard |
Set Standard Protection |
Protection |
Set Password Protection |
|
Mode |
Mode |
Standard |
Password |
Protection |
Protection |
ai11503
25/93
5 Software Protection |
M29DW128F |
|
|
Figure 7. Software Protection Scheme
Lock Bit |
Non-Volatile Modify |
Lock-Down bit |
Parameter Block or |
Protection Bit |
|
|
|
|
Up to 4 Main Blocks |
|
|
|
|
Standard Protection |
|
|
mode |
Block Lock/Unlock Protection |
|
Password Protection |
|
|
|
Non-Volatile Protection |
|
mode |
|
|
|
|
|
AI11504 |
26/93
M29DW128F |
6 Command Interface |
|
|
6 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 16-bit or 8-bit mode.
6.1Standard commands
See either Table 12, or Table 11, depending on the configuration that is being used, for a summary of the Standard commands.
6.1.1Read/Reset command
The Read/Reset command returns the memory to Read mode. 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. If the Read/Reset command is issued during the time-out of a Block erase operation, the memory will take up to 10µs to abort. During the abort period no valid data can be read from the memory.
The Read/Reset command will not abort an Erase operation when issued while in Erase Suspend.
6.1.2Auto Select command
The Auto Select command is used to read the Manufacturer Code, the Device Code, the Protection Status of each block (Block Protection Status) and the Extended Block Protection Indicator. It can be addressed to either Bank.
Three consecutive Bus Write operations are required to issue the Auto Select command. Once the Auto Select command is issued Bus Read operations to specific addresses output the Manufacturer Code, the Device Code, the Extended Block Protection Indicator and a Block Protection Status (see Table 11 and Table 12 in conjunction with Table 4, Table 5, Table 7 and Table 8). The memory remains in Auto Select mode until a Read/Reset or CFI Query command is issued.
6.1.3Read CFI Query command
The Read CFI Query Command is used to put the addressed bank in Read CFI Query mode. Once in Read CFI Query mode Bus Read operations to the same bank will output data from the Common Flash Interface (CFI) Memory Area. If the read operations are to a different bank from the one specified in the command then the read operations will output the contents of the memory array and not the CFI data.
One Bus Write cycle is required to issue the Read CFI Query Command. Care must be taken to issue the command to one of the banks (A22-A19) along with the address shown in Table 3 and
27/93
6 Command Interface |
M29DW128F |
|
|
Table 6. Once the command is issued subsequent Bus Read operations in the same bank (A22-A19) to the addresses shown in Appendix B: Common Flash Interface (CFI) (A7-A0), will read from the Common Flash Interface Memory Area.
This command is valid only when the device is in the Read Array or Auto Select mode. To enter Read CFI query mode from Auto Select mode, the Read CFI Query command must be issued to the same bank address as the Auto Select command, otherwise the device will not enter Read CFI Query mode.
The Read/Reset command must be issued to return the device to the previous mode (the Read Array mode or Auto Select mode). A second Read/Reset command is required to put the device in Read Array mode from Auto Select mode.
See Appendix B, Table 35, Table 36, Table 37, Table 38, Table 39 and Table 40 for details on the information contained in the Common Flash Interface (CFI) memory area.
6.1.4Chip 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 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, including the Erase Suspend command. It is not possible to issue any command to abort the operation. Typical chip erase times are given in Table 18. 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.
6.1.5Block Erase command
The Block Erase command can be used to erase a list of one or more blocks in one or more Banks. It sets all of the bits in the unprotected selected blocks to ’1’. All previous data in the selected blocks is lost.
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 after a timeout period of 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. After the sixth Bus Write operation a Bus Read operation within the same Bank will output the Status Register. See the Status Register section for details on how to identify if the Program/Erase Controller has started the Block Erase operation.
28/93