MX25V4035 MX25V8035
MX25V4035/MX25V8035 DATASHEET
P/N: PM1468
1
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Contents
FEATURES .................................................................................................................................................................. 5 GENERAL DESCRIPTION ......................................................................................................................................... 7 Table 1. Additional Feature Comparison ................................................................................................................... 7 PIN CONFIGURATIONS ............................................................................................................................................. 8 PIN DESCRIPTION ...................................................................................................................................................... 8 BLOCK DIAGRAM....................................................................................................................................................... 9 DATA PROTECTION.................................................................................................................................................. 10 Table 2. Protected Area Sizes................................................................................................................................. 11 Table 3. 512-bit Secured OTP Definition ................................................................................................................ 11 Memory Organization ............................................................................................................................................... 12 Table 4-1. Memory Organization (4Mb) ................................................................................................................. 12 Table 4-2. Memory Organization (8Mb) ................................................................................................................. 13 DEVICE OPERATION ................................................................................................................................................ 14 Figure 1. Serial Modes Supported .......................................................................................................................... 14 COMMAND DESCRIPTION ....................................................................................................................................... 15 Table 5. Command Set ........................................................................................................................................... 15 (1) Write Enable (WREN) ....................................................................................................................................... 17 (2) Write Disable (WRDI) ........................................................................................................................................ 17 (3) Read Identification (RDID) ................................................................................................................................ 17 (4) Read Status Register (RDSR)........................................................................................................................... 18 (5) Write Status Register (WRSR) .......................................................................................................................... 19 Table 6. Protection Modes ...................................................................................................................................... 19 (6) Read Data Bytes (READ) .................................................................................................................................. 20 (7) Read Data Bytes at Higher Speed (FAST_READ) ............................................................................................ 20 (8) 2 x I/O Read Mode (2READ) ............................................................................................................................. 20 (9) 4 x I/O Read Mode (4READ) ............................................................................................................................. 21 (10) Sector Erase (SE) ........................................................................................................................................... 21 (11) Block Erase (BE32K) ....................................................................................................................................... 22 (12) Block Erase (BE) ............................................................................................................................................. 22 (13) Chip Erase (CE) .............................................................................................................................................. 22 (14) Page Program (PP) ......................................................................................................................................... 23 (15) 4 x I/O Page Program (4PP) ........................................................................................................................... 23 (16) Continuously program mode (CP mode) ......................................................................................................... 23 (17) Deep Power-down (DP) .................................................................................................................................. 24 (18) Release from Deep Power-down (RDP), Read Electronic Signature (RES) ................................................... 24 (19) Read Electronic Manufacturer ID & Device ID (REMS), (REMS2), (REMS4) ................................................. 25 Table 7. ID Definitions ............................................................................................................................................ 25
P/N: PM1468
2
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(20) Enter Secured OTP (ENSO) ........................................................................................................................... 26 (21) Exit Secured OTP (EXSO) .............................................................................................................................. 26 (22) Read Security Register (RDSCUR)................................................................................................................. 26 Table 8. Security Register Definition ....................................................................................................................... 27 (23) Write Security Register (WRSCUR) ................................................................................................................ 27 (24) HOLD# pin function enable (HDE) .................................................................................................................. 27 POWER-ON STATE ................................................................................................................................................... 28 ELECTRICAL SPECIFICATIONS .............................................................................................................................. 29 ABSOLUTE MAXIMUM RATINGS ......................................................................................................................... 29 Figure 2.Maximum Negative Overshoot Waveform ................................................................................................ 29 CAPACITANCE TA = 25°C, f = 1.0 MHz ................................................................................................................. 29 Figure 3. Maximum Positive Overshoot Waveform................................................................................................. 29 Figure 4. INPUT TEST WAVEFORMS AND MEASUREMENT LEVEL .................................................................. 30 Figure 5. OUTPUT LOADING ................................................................................................................................ 30 Table 9. DC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.25V ~ 2.75V) .................................. 31 Table 10. AC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.25V ~ 2.75V) ................................ 32 Timing Analysis ........................................................................................................................................................ 34 Figure 6. Serial Input Timing ................................................................................................................................... 34 Figure 7. Output Timing .......................................................................................................................................... 34 Figure 8. WP# Setup Timing and Hold Timing during WRSR when SRWD=1 ....................................................... 35 Figure 9. Hardware Reset Timing ........................................................................................................................... 35 Figure 10. Write Enable (WREN) Sequence (Command 06) ................................................................................. 36 Figure 11. Write Disable (WRDI) Sequence (Command 04) .................................................................................. 36 Figure 12. Read Identification (RDID) Sequence (Command 9F) .......................................................................... 36 Figure 13. Read Status Register (RDSR) Sequence (Command 05)..................................................................... 37 Figure 14. Write Status Register (WRSR) Sequence (Command 01) ................................................................... 37 Figure 15. Read Data Bytes (READ) Sequence (Command 03) ........................................................................... 37 Figure 16. Read at Higher Speed (FAST_READ) Sequence (Command 0B) ....................................................... 38 Figure 17. 2 x I/O Read Mode Sequence (Command BB) ..................................................................................... 39 Figure 18. 4 x I/O Read Mode Sequence (Command EB) ..................................................................................... 39 Figure 19. 4 x I/O Read enhance performance Mode Sequence (Command EB) ................................................. 40 Figure 20. Page Program (PP) Sequence (Command 02) .................................................................................... 41 Figure 21. 4 x I/O Page Program (4PP) Sequence (Command 38) ...................................................................... 41 Figure 22. Continously Program (CP) Mode Sequence with Hardware Detection (Command AD) ....................... 42 Figure 23. Sector Erase (SE) Sequence (Command 20) ...................................................................................... 42 Figure 24. Block Erase 32KB (BE32K) Sequence (Command 52) ........................................................................ 43 Figure 25. Block Erase (BE) Sequence (Command D8) ....................................................................................... 43 Figure 26. Chip Erase (CE) Sequence (Command 60 or C7) ............................................................................... 43 Figure 27. Deep Power-down (DP) Sequence (Command B9) ............................................................................. 44 Figure 28. Release from Deep Power-down and Read Electronic Signature (RES) Sequence (Command AB) .. 44
P/N: PM1468
3
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Figure 29. Release from Deep Power-down (RDP) Sequence (Command AB) .................................................... 45 Figure 30. Read Electronic Manufacturer & Device ID (REMS) Sequence (Command 90 or EF or DF) .............. 45 Figure 31. Power-up Timing.................................................................................................................................... 46 Table 11. Power-Up Timing and VWI Threshold ..................................................................................................... 46 INITIAL DELIVERY STATE ..................................................................................................................................... 46 RECOMMENDED OPERATING CONDITIONS ......................................................................................................... 47 Figure A. AC Timing at Device Power-Up ............................................................................................................... 47 ERASE AND PROGRAMMING PERFORMANCE .................................................................................................... 48 LATCH-UP CHARACTERISTICS .............................................................................................................................. 48 ORDERING INFORMATION ...................................................................................................................................... 49 PART NAME DESCRIPTION ..................................................................................................................................... 50 PACKAGE INFORMATION ........................................................................................................................................ 51 REVISION HISTORY ................................................................................................................................................. 53
P/N: PM1468
4
REV. 0.01, FEB. 13, 2009
ADVANCED INFORMATION
MX25V4035 MX25V8035
4M-BIT [x 1/x 2/x 4] 2.5V CMOS SERIAL FLASH 8M-BIT [x 1/x 2/x 4] 2.5V CMOS SERIAL FLASH
FEATURES
GENERAL • Serial Peripheral Interface compatible -- Mode 0 and Mode 3 • 4M: 4,194,304 x 1 bit structure or 2,097,152 x 2 bits (two I/O read mode) structure or 1,048,576 x 4 bits (four I/ O read mode) structure 8M: 8,388,608 x 1 bit structure or 4,194,304 x 2 bits (two I/O read mode) structure or 2,097,152 x 4 bits (four I/ O read mode) structure • Equal Sectors with 4K byte each, or Equal Blocks with 32K byte each or Equal Blocks with 64K byte each - Any Block can be erased individually • Single Power Supply Operation - 2.25 to 2.75 volt for read, erase, and program operations • Latch-up protected to 100mA from -1V to Vcc +1V PERFORMANCE • High Performance - Fast read - 1 I/O: 66MHz with 8 dummy cycles (30pF+1TTL Load) - 2 I/O: 50MHz with 4 dummy cycles (30pF+1TTL Load), equivalent to 100MHz - 4 I/O: 50MHz with 6 dummy cycles (30pF+1TTL Load), equivalent to 200MHz - Fast program time: 1.7ms(typ.) and 6ms(max.)/page (256-byte per page) - Byte program time: 15us (typical) - Continuously program mode (automatically increase address under word program mode) - Fast erase time: 80ms (typ.)/sector (4K-byte per sector); 0.6s(typ.) /block (32K-byte per block); 1s(typ.) /block (64K-byte per block); 7.5s(typ.) /chip for 4M; 13s(typ.) /chip for 8M • Low Power Consumption - Low active read current: 12mA(max.) at 66MHz, 6mA(max.) at 50MHz - Low active erase/programming current: 15mA (typ.) - Low standby current: 5uA (max.) • Deep Power Down: 5uA(max.) • Minimum 100,000 erase/program cycles • 10 years data retention SOFTWARE FEATURES • Input Data Format - 1-byte Command code • Advanced Security Features - Block lock protection The BP0-BP3 status bit defines the size of the area to be software protection against program and erase instructions - Additional 512-bit secured OTP for unique identifier • Auto Erase and Auto Program Algorithm - Automatically erases and verifies data at selected sector or block - Automatically programs and verifies data at selected page by an internal algorithm that automatically times the program pulse widths (Any page to be programed should have page in the erased state first) • Status Register Feature • Electronic Identification - JEDEC 1-byte manufacturer ID and 2-byte device ID
P/N: PM1468 REV. 0.01, FEB. 13, 2009
5
MX25V4035 MX25V8035
- RES command for 1-byte Device ID - Both REMS,REMS2 and REMS4 commands for 1-byte manufacturer ID and 1-byte device ID HARDWARE FEATURES • SCLK Input - Serial clock input • SI/SIO0 - Serial Data Input or Serial Data Input/Output for 2 x I/O read mode and 4 x I/O read mode • SO/SIO1 - Serial Data Output or Serial Data Input/Output for 2 x I/O read mode and 4 x I/O read mode • WP#/SIO2 - Hardware write protection or serial data Input/Output for 4 x I/O read mode • RESET#/HOLD#/SIO3 - Hardware Reset/HOLD/Serial input & Output for 4 x I/O read mode, the pin defaults to be RESET# • PACKAGE - 8-land WSON (6x5mm) - 8-pin SOP (150mil) - All Pb-free devices are RoHS Compliant
P/N: PM1468
6
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
GENERAL DESCRIPTION
The MX25V4035 are 4,194,304 bit serial Flash memory, which is configured as 524,288 x 8 internally. When it is in two or four I/O read mode, the structure becomes 2,097,152 bits x 2 or 1,048,576 bits x 4. The MX25V8035 are 8,388,608 bit serial Flash memory, which is configured as 1,048,576 x 8 internally. When it is in two or four I/O read mode, the structure becomes 4,194,304 bits x 2 or 2,097,152 bits x 4. The MX25V4035/MX25V8035 feature a serial peripheral interface and software protocol allowing operation on a simple 3-wire bus while it is in single I/O mode. The three bus signals are a clock input (SCLK), a serial data input (SI), and a serial data output (SO). Serial access to the device is enabled by CS# input. When it is in two I/O read mode, the SI pin and SO pin become SIO0 pin and SIO1 pin for address/dummy bits input and data output. When it is in four I/O read mode, the SI pin, SO pin, WP# pin and RESET#/HOLD# pin become SIO0 pin, SIO1 pin, SIO2 pin and SIO3 pin for address/dummy bits input and data output. The MX25V4035/MX25V8035 provides sequential read operation on whole chip. After program/erase command is issued, auto program/ erase algorithms which program/ erase and verify the specified page or sector/block locations will be executed. Program command is executed on byte basis, or page (256 bytes) basis, or word basis for Continuously program mode, and erase command is executes on sector (4K-byte), block (32K-byte), or block (64K-byte), or whole chip basis. To provide user with ease of interface, a status register is included to indicate the status of the chip. The status read command can be issued to detect completion status of a program or erase operation via WIP bit. Advanced security features enhance the protection and security functions, please see security features section for more details. When the device is not in operation and CS# is high, it is put in standby mode and draws less than 5uA DC current. The MX25V4035/MX25V8035 utilizes MXIC's proprietary memory cell, which reliably stores memory contents even after 100,000 program and erase cycles.
Table 1. Additional Feature Comparison
Additional Features Part Name MX25V4035 MX25V8035 Protection and Security Flexible Block Protection (BP0-BP3) V V 512-bit secured OTP V V Read Performance Identifier
2 I/O 4 I/O RES REMS REMS2 REMS4 RDID Read Read (command: (command: (command: (command: (command: (75 MHz) (75 MHz) AB hex) 90 hex) EF hex) DF hex) 9F hex) V V V V 53 (hex) 54 (hex) C2 53 (hex) C2 53 (hex) C2 53 (hex) (if ADD=0) (if ADD=0) (if ADD=0) C2 54 (hex) C2 54 (hex) C2 54 (hex) (if ADD=0) (if ADD=0) (if ADD=0) C2 25 53 (hex) C2 25 54 (hex)
P/N: PM1468
7
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
PIN CONFIGURATIONS
8-LAND WSON (6x5mm)
CS# SO/SIO1 WP#/SIO2 GND 1 2 3 4 8 7 6 5 VCC RESET#/HOLD#/SIO3 SCLK SI/SIO0
8-PIN SOP (150mil)
CS# SO/SIO1 WP#/SIO2 GND 1 2 3 4 8 7 6 5 VCC RESET#/HOLD#/SIO3 SCLK SI/SIO0
PACKAGE OPTIONS 150mil 8-SOP 6x5mm WSON 4M V V 8M V V
PIN DESCRIPTION
DESCRIPTION Chip Select Serial Data Input (for 1 x I/O)/ Serial SI/SIO0 Data Input & Output (for 2xI/O or 4xI/ O read mode) Serial Data Output (for 1 x I/O)/ Serial SO/SIO1 Data Input & Output (for 2xI/O or 4xI/ O read mode) SCLK Clock Input Write protection: connect to GND or WP#/SIO2 Serial Data Input & Output (for 4xI/O read mode) RESET#/HOLD# or Serial Data Input RESET#/ & Output (for 4xI/O read mode) HOLD#/SIO3 (default RESET#) VCC + 2.5V Power Supply GND Ground SYMBOL CS#
P/N: PM1468
8
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
BLOCK DIAGRAM
Address Generator
X-Decoder
Memory Array
Page Buffer Data Register Y-Decoder SRAM Buffer CS# WP#/SIO2 RESET#/ HOLD#/SIO3 Mode Logic State Machine Sense Amplifier
HV Generator
SI/SIO0
SCLK SO/SIO1
Clock Generator Output Buffer
P/N: PM1468
9
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
DATA PROTECTION
The MX25V4035/MX25V8035 is designed to offer protection against accidental erasure or programming caused by spurious system level signals that may exist during power transition. During power up the device automatically resets the state machine at standby mode. In addition, with its control register architecture, alteration of the memory contents only occurs after successful completion of specific command sequences. • • Valid command length checking: The command length will be checked whether it is at byte base and completed on byte boundary. Write Enable (WREN) command: WREN command is required to set the Write Enable Latch bit (WEL) before other command to change data. The WEL bit will return to reset stage under following situation: - Power-up - Write Disable (WRDI) command completion - Write Status Register (WRSR) command completion - Page Program (PP) command completion - Continuously Program mode (CP) instruction completion - Sector Erase (SE) command completion - Block Erase 32KB (BE32K) command completion - Block Erase (BE) command completion - Chip Erase (CE) command completion Deep Power Down Mode: By entering deep power down mode, the flash device also is under protected from writing all commands except Release from deep power down mode command (RDP) and Read Electronic Signature command (RES). Advanced Security Features: there are some protection and securuity features which protect content from inadvertent write and hostile access. I. Block lock protection - The Software Protected Mode (SPM) use (BP3, BP2, BP1, BP0) bits to allow part of memory to be protected as read only. The protected area definition is shown as table of "Protected Area Sizes", the protected areas are more flexible which may protect various area by setting value of BP0-BP3 bits. Please refer to table of "protected area sizes". - The Hardware Proteced Mode (HPM) use WP#/SIO2 to protect the (BP3, BP2, BP1, BP0) bits and SRWD bit. If the system goes into four I/O read mode, the feature of HPM will be disabled.
•
•
P/N: PM1468
10
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Table 2. Protected Area Sizes
Status bit BP3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 BP2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 BP1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 BP0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 (none) 1 (1block, 1/8 area, block#7) 2 (2blocks, 1/4 area, block#6-7) 3 (4blocks, 1/2 area, block#4-7) 4 (8blocks, ALL) 5 (8blocks, ALL) 6 (8blocks, ALL) 7 (8blocks, ALL) 8 (none) 9 (1block, 1/8 area, block#0) 10 (2blocks, 1/4 area, block#0-1) 11 (4blocks, 1/2 area, block#0-3) 12 (8blocks, ALL) 13 (8blocks, ALL) 14 (8blocks, ALL) 15 (8blocks, ALL) 4Mb 0 (none) 1 (1block, 1/16 area, block#15) 2 (2blocks, 1/8 area, block#14-15) 3 (4blocks, 1/4 area, block#12-15) 4 (8blocks, 1/2 area, block#8-15) 5 (16blocks, ALL) 6 (16blocks, ALL) 7 (16blocks, ALL) 8 (none) 9 (1block, 1/16 area, block#0) 10 (2blocks, 1/8 area, block#0-1) 11 (4blocks, 1/4 area, block#0-3) 12 (8blocks, 1/2 area, block#0-7) 13 (16blocks, ALL) 14 (16blocks, ALL) 15 (16blocks, ALL) Protect Level 8Mb
II. Additional 512-bit secured OTP for unique identifier: to provide 512-bit one-time program area for setting device unique serial number - Which may be set by factory or system customer. Please refer to table 3. 512-bit secured OTP definition. - Security register bit 0 indicates whether the chip is locked by factory or not. - To program the 512-bit secured OTP by entering 512-bit secured OTP mode (with ENSO command), and going through normal program procedure, and then exiting 512-bit secured OTP mode by writing EXSO command. - Customer may lock-down the customer lockable secured OTP by writing WRSCUR(write security register) command to set customer lock-down bit1 as "1". Please refer to table of "security register definition" for security register bit definition and table of "512-bit secured OTP definition" for address range definition. - Note: Once lock-down whatever by factory or customer, it cannot be changed any more. While in 512-bit secured OTP mode, array access is not allowed.
Table 3. 512-bit Secured OTP Definition Address range xxxx00~xxxx0F xxxx10~xxxx3F Size 128-bit 384-bit Standard Factory Lock ESN (electrical serial number) N/A Customer Lock Determined by customer
P/N: PM1468
11
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Memory Organization
Table 4-1. Memory Organization (4Mb)
Block (64KB) 7 Block (32KB) 15 | 14 13 | 12 11 | 10 9 | 8 7 | 6 5 | 4 3 | 2 1 | 0 Sector (4KB) 127 : 112 111 : 96 95 : 80 79 : 64 63 : 48 47 : 32 31 : 16 15 : 2 1 0 Address Range 07F000h : 070000h 06F000h : 060000h 05F000h : 050000h 04F000h : 040000h 03F000h : 030000h 02F000h : 020000h 01F000h : 010000h 00F000h : 002000h 001000h 000000h 07FFFFh : 070FFFh 06FFFFh : 060FFFh 05FFFFh : 050FFFh 04FFFFh : 040FFFh 03FFFFh : 030FFFh 02FFFFh : 020FFFh 01FFFFh : 010FFFh 00FFFFh : 002FFFh 001FFFh 000FFFh
6
5
4
3
2
1
0
P/N: PM1468
12
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Table 4-2. Memory Organization (8Mb)
Block (64KB) 15 Block (32KB) 31 | 30 29 | 28 27 | 26 25 | 24 23 | 22 21 | 20 19 | 18 17 | 16 15 | 14 13 | 12 11 | 10 9 | 8 7 | 6 5 | 4 3 | 2 1 | 0 Sector (4KB) 255 : 240 239 : 224 223 : 208 207 : 192 191 : 176 175 : 160 159 : 144 143 : 128 127 : 112 111 : 96 95 : 80 79 : 64 63 : 48 47 : 32 31 : 16 15 : 2 1 0 Address Range 0FF000h : 0F0000h 0EF000h : 0E0000h 0DF000h : 0D0000h 0CF000h : 0C0000h 0BF000h : 0B0000h 0AF000h : 0A0000h 09F000h : 090000h 08F000h : 080000h 07F000h : 070000h 06F000h : 060000h 05F000h : 050000h 04F000h : 040000h 03F000h : 030000h 02F000h : 020000h 01F000h : 010000h 00F000h : 002000h 001000h 000000h 0FFFFFh : 0F0FFFh 0EFFFFh : 0E0FFFh 0DFFFFh : 0D0FFFh 0CFFFFh : 0C0FFFh 0BFFFFh : 0B0FFFh 0AFFFFh : 0A0FFFh 09FFFFh : 090FFFh 08FFFFh : 080FFFh 07FFFFh : 070FFFh 06FFFFh : 060FFFh 05FFFFh : 050FFFh 04FFFFh : 040FFFh 03FFFFh : 030FFFh 02FFFFh : 020FFFh 01FFFFh : 010FFFh 00FFFFh : 002FFFh 001FFFh 000FFFh
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P/N: PM1468
13
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
DEVICE OPERATION
1. Before a command is issued, status register should be checked to ensure device is ready for the intended operation. 2. When incorrect command is inputted to this LSI, this LSI becomes standby mode and keeps the standby mode until next CS# falling edge. In standby mode, SO pin of this LSI should be High-Z. 3. When correct command is inputted to this LSI, this LSI becomes active mode and keeps the active mode until next CS# rising edge. 4. Input data is latched on the rising edge of Serial Clock(SCLK) and data shifts out on the falling edge of SCLK. The difference of Serial mode 0 and mode 3 is shown as Figure 1. "Serial Modes Supported". 5. For the following instructions: RDID, RDSR, RDSCUR, READ, FAST_READ, 2READ, 4READ,RES, REMS, REMS2 and REMS4 the shifted-in instruction sequence is followed by a data-out sequence. After any bit of data being shifted out, the CS# can be high. For the following instructions: WREN, WRDI, WRSR, SE, BE32K, BE, CE, PP, 4PP, CP, RDP, DP, ENSO, EXSO,and WRSCUR, the CS# must go high exactly at the byte boundary; otherwise, the instruction will be rejected and not executed. 6. During the progress of Write Status Register, Program, Erase operation, to access the memory array is neglected and not affect the current operation of Write Status Register, Program, Erase.
Figure 1. Serial Modes Supported
CPOL (Serial mode 0) 0 CPHA 0 SCLK shift in shift out
(Serial mode 3)
1
1
SCLK
(data input) SIO0:SIO3
MSB
(data input) SIO0:SIO3
MSB
Note: CPOL indicates clock polarity of Serial master, CPOL=1 for SCLK high while idle, CPOL=0 for SCLK low while not transmitting. CPHA indicates clock phase. The combination of CPOL bit and CPHA bit decides which Serial mode is supported.
P/N: PM1468
14
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
COMMAND DESCRIPTION
Table 5. Command Set
Command (byte) 1st byte 2nd byte 3rd byte 4th byte 5th byte sets the resets the (WEL) write (WEL) write enable latch enable latch bit bit WREN (write WRDI (write enable) disable) 06 (hex) 04 (hex) RDID (read identification) 9F (hex) RDSR WRSR FAST READ READ (read (read status (write status (fast read data) register) register) data) 05 (hex) 01 (hex) Values 03 (hex) AD1 (A23-A16) AD2 (A15-A8) AD3 (A7-A0) 0B (hex) AD1 AD2 AD3 2READ (2 x I/O read command) Note1 BB (hex) ADD(2) ADD(2) & Dummy(2)
Action
Dummy outputs to read out to write new n bytes read n bytes read n bytes read JEDEC the values values of out until CS# out until CS# out by 2 x I/ ID: 1-byte of the status the status goes high goes high O until CS# Manufactregister register goes high urer ID & 2-byte Device ID SE (sector BE 32K (block erase) erase 32K) 20 (hex) AD1 52 (hex) AD1 BE (block erase) D8 (hex) AD1 CE (chip erase) 60 or C7 (hex) PP (page program) 02 (hex) AD1 AD2 AD3 to program the selected page CP (continuously program mode) AD (hex) AD1 AD2 AD3 continously program whole chip, the address is automatically increase
Command (byte) 1st byte 2nd byte 3rd byte 4th byte
Action
AD2 AD2 AD2 AD3 AD3 AD3 n bytes read quad input to erase the to erase the to erase the out by 2 x I/ to program selected selected 32K selected O until CS# the selected sector block block goes high page
4READ (4 x I/O read command) Note1 EB (hex) ADD(4) & Dummy(4) ADD(4))
4PP (quad page program) 38 (hex) AD1
to erase whole chip
Command (byte) 1st byte 2nd byte 3rd byte 4th byte
DP (Deep power down)
Action
RDP (Release RES (read from deep electronic ID) power down) B9 (hex) AB (hex) AB (hex) x x x enters deep release from to read out power down deep power 1-byte Device mode down mode ID
REMS (read electronic manufacturer & device ID) 90 (hex) x x ADD (Note 2) output the Manufacturer ID & Device ID
REMS2 (read REMS4 (read ENSO (enter ID for 2x I/O ID for 4x I/O secured mode) mode) OTP)
EXSO (exit secured OTP)
EF (hex) DF (hex) B1 (hex) C1 (hex) x x x x ADD (Note 2) ADD (Note 2) output the output the to enter to exit the Manufacturer Manufacturer the 512-bit 512-bit ID & Device ID & Device secured OTP secured OTP ID ID mode mode
P/N: PM1468
15
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
RDSCUR (read security register) 2B (hex) WRSCUR (write security register) 2F (hex) ESRY (enable SO to output RY/ BY#) 70 (hex) DSRY (disable SO to output RY/ BY#) 80 (hex)
Command (byte) 1st byte 2nd byte 3rd byte 4th byte
HDE (HOLD# Enable) AA (hex)
Action
to read value of security register
to set the lock- to enable SO to disable SO down bit as to output RY/ to output RY/ "1" (once lock- BY# during CP BY# during CP down, cannot mode mode be update)
to enable HOLD# pin function
Note 1: The count base is 4-bit for ADD(2) and Dummy(2) because of 2 x I/O. And the MSB is on SI/SIO1 which is different from 1 x I/O condition. Note 2: ADD=00H will output the manufacturer ID first and ADD=01H will output device ID first. Note 3: It is not recommended to adopt any other code not in the command definition table, which will potentially enter the hidden mode.
P/N: PM1468
16
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(1) Write Enable (WREN) The Write Enable (WREN) instruction is for setting Write Enable Latch (WEL) bit. For those instructions like PP, 4PP, CP, SE, BE32K, BE, CE, and WRSR, which are intended to change the device content, should be set every time after the WREN instruction setting the WEL bit. The sequence of issuing WREN instruction is: CS# goes low-> sending WREN instruction code-> CS# goes high. (see Figure 10) (2) Write Disable (WRDI) The Write Disable (WRDI) instruction is for resetting Write Enable Latch (WEL) bit. The sequence of issuing WRDI instruction is: CS# goes low-> sending WRDI instruction code-> CS# goes high. (see Figure 11) The WEL bit is reset by following situations: - Power-up - Write Disable (WRDI) instruction completion - Write Status Register (WRSR) instruction completion - Page Program (PP) instruction completion - Quad Page Program (4PP) instruction completion - Sector Erase (SE) instruction completion - Block Erase 32KB (BE32K) instruction completion - Block Erase (BE) instruction completion - Chip Erase (CE) instruction completion - Continuously program mode (CP) instruction completion
(3) Read Identification (RDID) The RDID instruction is for reading the manufacturer ID of 1-byte and followed by Device ID of 2-byte. The MXIC Manufacturer ID is C2(hex), the memory type ID is 25(hex) as the first-byte device ID, and the individual device ID of second-byte ID are listed as table of "ID Definitions". (see table 7) The sequence of issuing RDID instruction is: CS# goes low-> sending RDID instruction code -> 24-bits ID data out on SO -> to end RDID operation can use CS# to high at any time during data out. (see Figure 12) While Program/Erase operation is in progress, it will not decode the RDID instruction, so there's no effect on the cycle of program/erase operation which is currently in progress. When CS# goes high, the device is at standby stage.
P/N: PM1468
17
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(4) Read Status Register (RDSR) The RDSR instruction is for reading Status Register Bits. The Read Status Register can be read at any time (even in program/erase/write status register condition) and continuously. It is recommended to check the Write in Progress (WIP) bit before sending a new instruction when a program, erase, or write status register operation is in progress. The sequence of issuing RDSR instruction is: CS# goes low-> sending RDSR instruction code-> Status Register data out on SO (see Figure 13) The definition of the status register bits is as below: WIP bit. The Write in Progress (WIP) bit, a volatile bit, indicates whether the device is busy in program/erase/write status register progress. When WIP bit sets to 1, which means the device is busy in program/erase/write status register progress. When WIP bit sets to 0, which means the device is not in progress of program/erase/write status register cycle. WEL bit. The Write Enable Latch (WEL) bit, a volatile bit, indicates whether the device is set to internal write enable latch. When WEL bit sets to 1, which means the internal write enable latch is set, the device can accept program/ erase/write status register instruction. When WEL bit sets to 0, which means no internal write enable latch; the device will not accept program/erase/write status register instruction. The program/erase command will be ignored and not affect value of WEL bit if it is applied to a protected memory area. BP3, BP2, BP1, BP0 bits. The Block Protect (BP3, BP2, BP1, BP0) bits, volatile bits, indicate the protected area(as defined in table 2) of the device to against the program/erase instruction without hardware protection mode being set. To write the Block Protect (BP3, BP2, BP1, BP0) bits requires the Write Status Register (WRSR) instruction to be executed. Those bits define the protected area of the memory to against Page Program (PP), Sector Erase (SE), Block Erase 32KB (BE32K), Block Erase (BE) and Chip Erase(CE) instructions (only if Block Protect bits (BP2:BP0) set to 0, the CE instruction can be executed). The BP3, BP2, BP1, BP0 bits dfault to be "1". Which is protected. QE bit. The Quad Enable (QE) bit, non-volatile bit, performs Quad when it is reset to "0" (factory default) to enable WP# or is set to "1" to enable Quad SIO2 and SIO3. If the system enter the Quad mode (QE=1), the feature of HPM will be disabled. SRWD bit. The Status Register Write Disable (SRWD) bit, volatile bit, is operated together with Write Protection (WP#/ SIO2) pin for providing hardware protection mode. The hardware protection mode requires SRWD sets to 1 and WP#/SIO2 pin signal is low stage. In the hardware protection mode, the Write Status Register (WRSR) instruction is no longer accepted for execution and the SRWD bit and Block Protect bits (BP3, BP2, BP1, BP0) are read only. The SRWD bit defaults to be "0". Status Register bit7 SRWD (status register write protect) bit6 QE (Quad Enable) bit5 BP3 (level of protected block) (note 1) bit4 BP2 (level of protected block) (note 1) bit3 BP1 (level of protected block) (note 1) bit2 BP0 (level of protected block) (note 1) bit1 bit0 WEL WIP (write enable (write in latch) progress bit) 1=write 1=write enable operation 0=not write 0=not in write enable operation
1=Quad 1=status Enable register write 0=not Quad disable Enable
Note 1: see the table 2 "Protected Area Size".
P/N: PM1468
18
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(5) Write Status Register (WRSR) The WRSR instruction is for changing the values of Status Register Bits. Before sending WRSR instruction, the Write Enable (WREN) instruction must be decoded and executed to set the Write Enable Latch (WEL) bit in advance. The WRSR instruction can change the value of Block Protect (BP3, BP2, BP1, BP0) bits to define the protected area of memory (as shown in table 2). The WRSR also can set or reset the Quad enable (QE) bit and set or reset the Status Register Write Disable (SRWD) bit in accordance with Write Protection (WP#/SIO2) pin signal, but has no effect on bit1(WEL) and bit0 (WIP) of the statur register. The WRSR instruction cannot be executed once the Hardware Protected Mode (HPM) is entered. The sequence of issuing WRSR instruction is: CS# goes low-> sending WRSR instruction code-> Status Register data on SI-> CS# goes high. (see Figure 14) The CS# must go high exactly at the byte boundary; otherwise, the instruction will be rejected and not executed. The self-timed Write Status Register cycle time (tW) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Write Status Register cycle is in progress. The WIP sets 1 during the tW timing, and sets 0 when Write Status Register Cycle is completed, and the Write Enable Latch (WEL) bit is reset.
Table 6. Protection Modes Mode Software protection mode (SPM) Status register condition Status register can be written in (WEL bit is set to "1") and the SRWD, BP0-BP3 bits can be changed The SRWD, BP0-BP3 of status register bits cannot be changed WP# and SRWD bit status WP#=1 and SRWD bit=0, or WP#=0 and SRWD bit=0, or WP#=1 and SRWD=1 WP#=0, SRWD bit=1 Memory The protected area cannot be program or erase. The protected area cannot be program or erase.
Hardware protection mode (HPM)
Note: 1. As defined by the values in the Block Protect (BP3, BP2, BP1, BP0) bits of the Status Register, as shown in Table 2. As the above table showing, the summary of the Software Protected Mode (SPM) and Hardware Protected Mode (HPM). Software Protected Mode (SPM): - When SRWD bit=0, no matter WP#/SIO2 is low or high, the WREN instruction may set the WEL bit and can change the values of SRWD, BP3, BP2, BP1, BP0. The protected area, which is defined by BP3, BP2, BP1, BP0, is at software protected mode (SPM). - When SRWD bit=1 and WP#/SIO2 is high, the WREN instruction may set the WEL bit can change the values of SRWD, BP3, BP2, BP1, BP0. The protected area, which is defined by BP3, BP2, BP1, BP0, is at software protected mode (SPM) Note: If SRWD bit=1 but WP#/SIO2 is low, it is impossible to write the Status Register even if the WEL bit has previously been set. It is rejected to write the Status Register and not be executed.
P/N: PM1468
19
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Hardware Protected Mode (HPM): - When SRWD bit=1, and then WP#/SIO2 is low (or WP#/SIO2 is low before SRWD bit=1), it enters the hardware protected mode (HPM). The data of the protected area is protected by software protected mode by BP3, BP2, BP1, BP0 and hardware protected mode by the WP#/SIO2 to against data modification. Note: To exit the hardware protected mode requires WP#/SIO2 driving high once the hardware protected mode is entered. If the WP#/SIO2 pin is permanently connected to high, the hardware protected mode can never be entered; only can use software protected mode via BP3, BP2, BP1, BP0. If the system goes into four I/O read mode, the feature of HPM will be disabled. (6) Read Data Bytes (READ) The read instruction is for reading data out. The address is latched on rising edge of SCLK, and data shifts out on the falling edge of SCLK at a maximum frequency fR. The first address byte can be at any location. The address is automatically increased to the next higher address after each byte data is shifted out, so the whole memory can be read out at a single READ instruction. The address counter rolls over to 0 when the highest address has been reached. The sequence of issuing READ instruction is: CS# goes low-> sending READ instruction code-> 3-byte address on SI -> data out on SO-> to end READ operation can use CS# to high at any time during data out. (see Figure 15) (7) Read Data Bytes at Higher Speed (FAST_READ) The FAST_READ instruction is for quickly reading data out. The address is latched on rising edge of SCLK, and data of each bit shifts out on the falling edge of SCLK at a maximum frequency fC. The first address byte can be at any location. The address is automatically increased to the next higher address after each byte data is shifted out, so the whole memory can be read out at a single FAST_READ instruction. The address counter rolls over to 0 when the highest address has been reached. The sequence of issuing FAST_READ instruction is: CS# goes low-> sending FAST_READ instruction code-> 3-byte address on SI-> 1-dummy byte (default) address on SI->data out on SO-> to end FAST_READ operation can use CS# to high at any time during data out. (see Figure 16) While Program/Erase/Write Status Register cycle is in progress, FAST_READ instruction is rejected without any impact on the Program/Erase/Write Status Register current cycle. (8) 2 x I/O Read Mode (2READ) The 2READ instruction enable double throughput of Serial Flash in read mode. The address is latched on rising edge of SCLK, and data of every two bits(interleave on 2 I/O pins) shift out on the falling edge of SCLK at a maximum frequency fT. The first address byte can be at any location. The address is automatically increased to the next higher address after each byte data is shifted out, so the whole memory can be read out at a single 2READ instruction. The address counter rolls over to 0 when the highest address has been reached. Once writing 2READ instruction, the following address/dummy/data out will perform as 2-bit instead of previous 1-bit. The sequence of issuing 2READ instruction is: CS# goes low→ sending 2READ instruction→ 24-bit address interleave on SIO1 & SIO0→ 4-bit dummy cycle on SIO1 & SIO0→ data out interleave on SIO1 & SIO0→ to end 2READ operation can use CS# to high at any time during data out (see Figure 17 for 2 x I/O Read Mode Timing Waveform).
P/N: PM1468
20
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
While Program/Erase/Write Status Register cycle is in progress, 2READ instruction is rejected without any impact on the Program/Erase/Write Status Register current cycle. (9) 4 x I/O Read Mode (4READ) The 4READ instruction enable quad throughput of Serial Flash in read mode. A Quad Enable (QE) bit of status Register must be set to "1" before seding the 4READ instruction.The address is latched on rising edge of SCLK, and data of every four bits(interleave on 4 I/O pins) shift out on the falling edge of SCLK at a maximum frequency fQ. The first address byte can be at any location. The address is automatically increased to the next higher address after each byte data is shifted out, so the whole memory can be read out at a single 4READ instruction. The address counter rolls over to 0 when the highest address has been reached. Once writing 4READ instruction, the following address/dummy/data out will perform as 4-bit instead of previous 1-bit. The sequence of issuing 4READ instruction is: CS# goes low→ sending 4READ instruction→ 24-bit address interleave on SIO3, SIO2, SIO1 & SIO0→ 6 dummy cycles → data out interleave on SIO3, SIO2, SIO1 & SIO0→ to end 4READ operation can use CS# to high at any time during data out (see Figure 18 for 4 x I/O Read Mode Timing Waveform). Another sequence of issuing 4 READ instruction especially useful in random access is : CS# goes low→sending 4 READ instruction→3-bytes address interleave on SIO3, SIO2, SIO1 & SIO0 →performance enhance toggling bit P[7:0]→ 4 dummy cycles →data out still CS# goes high → CS# goes low (reduce 4 Read instruction) →24-bit random access address (see figure 19 for 4x I/O read enhance performance mode timing waveform). In the performance-enhancing mode, P[7:4] must be toggling with P[3:0] ; likewise P[7:0]=A5h,5Ah,F0h or 0Fh can make this mode continue and reduce the next 4READ instruction. Once P[7:4] is no longer toggling with P[3:0]; likewise P[7:0]=FFh,00h,AAh or 55h and afterwards CS# is raised and then lowered, the system then will escape from performance enhance mode and return to normal operation. While Program/Erase/Write Status Register cycle is in progress, 4READ instruction is rejected without any impact on the Program/Erase/Write Status Register current cycle. (10) Sector Erase (SE) The Sector Erase (SE) instruction is for erasing the data of the chosen sector to be "1". The instruction is used for any 4K-byte sector. A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Sector Erase (SE). Any address of the sector (see table of memory organization) is a valid address for Sector Erase (SE) instruction. The CS# must go high exactly at the byte boundary (the latest eighth of address byte been latched-in); otherwise, the instruction will be rejected and not executed. Address bits [Am-A12] (Am is the most significant address) select the sector address. The sequence of issuing SE instruction is: CS# goes low -> sending SE instruction code-> 3-byte address on SI -> CS# goes high. (see Figure 23) The self-timed Sector Erase Cycle time (tSE) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Sector Erase cycle is in progress. The WIP sets 1 during the tSE timing, and sets 0 when Sector Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the sector is protected by BP3, BP2, BP1, BP0 bits, the Sector Erase (SE) instruction will not be executed on the sector.
P/N: PM1468
21
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(11) Block Erase (BE32K) The Block Erase (BE32K) instruction is for erasing the data of the chosen block to be "1". The instruction is used for 32K-byte block erase operation. A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Block Erase (BE32K). Any address of the block (see table of memory organization) is a valid address for Block Erase (BE32K) instruction. The CS# must go high exactly at the byte boundary (the latest eighth of address byte been latched-in); otherwise, the instruction will be rejected and not executed. The sequence of issuing BE32K instruction is: CS# goes low -> sending BE32K instruction code-> 3-byte address on SI -> CS# goes high. (see Figure 24) The self-timed Block Erase Cycle time (tBE32K) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Block Erase cycle is in progress. The WIP sets 1 during the tBE32K timing, and sets 0 when Block Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the block is protected by BP3, BP2, BP1, BP0 bits, the Block Erase (tBE32K) instruction will not be executed on the block. (12) Block Erase (BE) The Block Erase (BE) instruction is for erasing the data of the chosen block to be "1". The instruction is used for 64K-byte block erase operation. A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Block Erase (BE). Any address of the block (see table of memory organization) is a valid address for Block Erase (BE) instruction. The CS# must go high exactly at the byte boundary (the latest eighth of address byte been latched-in); otherwise, the instruction will be rejected and not executed. The sequence of issuing BE instruction is: CS# goes low -> sending BE instruction code-> 3-byte address on SI -> CS# goes high. (see Figure 25) The self-timed Block Erase Cycle time (tBE) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Block Erase cycle is in progress. The WIP sets 1 during the tBE timing, and sets 0 when Block Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the block is protected by BP3, BP2, BP1, BP0 bits, the Block Erase (BE) instruction will not be executed on the block. (13) Chip Erase (CE) The Chip Erase (CE) instruction is for erasing the data of the whole chip to be "1". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Chip Erase (CE). The CS# must go high exactly at the byte boundary, otherwise the instruction will be rejected and not executed. The sequence of issuing CE instruction is: CS# goes low-> sending CE instruction code-> CS# goes high. (see Figure 26) The self-timed Chip Erase Cycle time (tCE) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Chip Erase cycle is in progress. The WIP sets 1 during the tCE timing, and sets 0 when Chip Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the chip is protected by BP2, BP1, BP0 bits, the Chip Erase (CE) instruction will not be executed. It will be only executed when BP2, BP1, BP0 all set to "0".
P/N: PM1468
22
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(14) Page Program (PP) The Page Program (PP) instruction is for programming the memory to be "0". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Page Program (PP). The device programs only the last 256 data bytes sent to the device. If the entire 256 data bytes are going to be programmed, A7A0 (The eight least significant address bits) should be set to 0. If the eight least significant address bits (A7-A0) are not all 0, all transmitted data going beyond the end of the current page are programmed from the start address of the same page (from the address A7-A0 are all 0). If more than 256 bytes are sent to the device, the data of the last 256-byte is programmed at the request page and previous data will be disregarded. If less than 256 bytes are sent to the device, the data is programmed at the requested address of the page without effect on other address of the same page. The sequence of issuing PP instruction is: CS# goes low-> sending PP instruction code-> 3-byte address on SI-> at least 1-byte on data on SI-> CS# goes high. (see Figure 20) The CS# must be kept to low during the whole Page Program cycle; The CS# must go high exactly at the byte boundary( the latest eighth bit of data being latched in), otherwise the instruction will be rejected and will not be executed. The self-timed Page Program Cycle time (tPP) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Page Program cycle is in progress. The WIP sets 1 during the tPP timing, and sets 0 when Page Program Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the page is protected by BP3, BP2, BP1, BP0 bits, the Page Program (PP) instruction will not be executed. (15) 4 x I/O Page Program (4PP) The Quad Page Program (4PP) instruction is for programming the memory to be "0". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit and Quad Enable (QE) bit must be set to "1" before sending the Quad Page Program (4PP). The Quad Page Programming takes four pins: SIO0, SIO1, SIO2, and SIO3 as address and data input, which can improve programer performance and the effectiveness of application of lower clock less than 20MHz. For system with faster clock, the Quad page program cannot provide more actual favors, because the required internal page program time is far more than the time data flows in. Therefore, we suggest that while executing this command (especially during sending data), user can slow the clock speed down to 20MHz below. The other function descriptions are as same as standard page program. The sequence of issuing 4PP instruction is: CS# goes low-> sending 4PP instruction code-> 3-byte address on SIO[3:0]-> at least 1-byte on data on SIO[3:0]-> CS# goes high. (see Figure 21) (16) Continuously program mode (CP mode) The CP mode may enhance program performance by automatically increasing address to the next higher address after each byte data has been programmed. The Continuously program (CP) instruction is for multiple byte program to Flash. A write Enable (WREN) instruction must execute to set the Write Enable Latch(WEL) bit before sending the Continuously program (CP) instruction. CS# requires to go high before CP instruction is executing. After CP instruction and address input, two bytes of data is input sequentially from MSB(bit7) to LSB(bit0). The first byte data will be programmed to the initial address range with A0=0 and second byte data with A0=1. If only one byte data is input, the CP mode will not process. If more than two bytes data are input, the additional data will be ignored and only two byte data are valid. The CP program instruction will be ignored and not affect the WEL bit if it is applied to a protected memory area. Any byte to be programmed should be in the erase state (FF) first. It will not roll over during the CP mode, once the last unpro-
P/N: PM1468
23
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
tected address has been reached, the chip will exit CP mode and reset write Enable Latch bit (WEL) as "0" and CP mode bit as "0". Please check the WIP bit status if it is not in write progress before entering next valid instruction. During CP mode, the valid commands are CP command (AD hex), WRDI command (04 hex), RDSR command (05 hex), and RDSCUR command (2B hex). And the WRDI command is valid after completion of a CP programming cycle, which means the WIP bit=0. The sequence of issuing CP instruction is : CS# high to low-> sending CP instruction code-> 3-byte address on SI-> Data Byte on SI->CS# goes high to low-> sending CP instruction......-> last desired byte programmed or sending Write Disable (WRDI) instruction to end CP mode-> sending RDSR instruction to verify if CP mode is ended. (see Figure 22 of CP mode timing waveform) Three methods to detect the completion of a program cycle during CP mode: 1) Software method-I: by checking WIP bit of Status Register to detect the completion of CP mode. 2) Software method-II: by waiting for a tBP time out to determine if it may load next valid command or not. 3) Hardware method: by writing ESRY (enable SO to output RY/BY#) instruction to detect the completion of a program cycle during CP mode. The ESRY instruction must be executed before CP mode execution. Once it is enable in CP mode, the CS# goes low will drive out the RY/BY# status on SO, "0" indicates busy stage, "1" indicates ready stage, SO pin outputs tri-state if CS# goes high. DSRY (disable SO to output RY/BY#) instruction to disable the SO to output RY/BY# and return to status register data output during CP mode. Please note that the ESRY/DSRY command are not accepted unless the completion of CP mode. (17) Deep Power-down (DP) The Deep Power-down (DP) instruction is for setting the device on the minimizing the power consumption (to entering the Deep Power-down mode), the standby current is reduced from ISB1 to ISB2). The Deep Power-down mode requires the Deep Power-down (DP) instruction to enter, during the Deep Power-down mode, the device is not active and all Write/Program/Erase instruction are ignored. When CS# goes high, it's only in standby mode not deep power-down mode. It's different from Standby mode. The sequence of issuing DP instruction is: CS# goes low-> sending DP instruction code-> CS# goes high. (see Figure 27) Once the DP instruction is set, all instruction will be ignored except the Release from Deep Power-down mode (RDP) and Read Electronic Signature (RES) instruction. (those instructions allow the ID being reading out). When Powerdown, the deep power-down mode automatically stops, and when power-up, the device automatically is in standby mode. For RDP instruction the CS# must go high exactly at the byte boundary (the latest eighth bit of instruction code been latched-in); otherwise, the instruction will not executed. As soon as Chip Select (CS#) goes high, a delay of tDP is required before entering the Deep Power-down mode. (18) Release from Deep Power-down (RDP), Read Electronic Signature (RES) The Release from Deep Power-down (RDP) instruction is terminated by driving Chip Select (CS#) High. When Chip Select (CS#) is driven High, the device is put in the Stand-by Power mode. If the device was not previously in the Deep Power-down mode, the transition to the Stand-by Power mode is immediate. If the device was previously in the Deep Power-down mode, though, the transition to the Stand-by Power mode is delayed by tRES2, and Chip Select (CS#) must remain High for at least tRES2(max), as specified in Table 10.AC Characteristics. Once in the Stand-by Power mode, the device waits to be selected, so that it can receive, decode and execute instructions. The RDP instruction is only for releasing from Deep Power Down Mode.
P/N: PM1468
24
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
RES instruction is for reading out the old style of 8-bit Electronic Signature, whose values are shown as table of ID Definitions on next page. This is not the same as RDID instruction. It is not recommended to use for new design. For new design, please use RDID instruction. The sequence is shown as Figure 28,29. Even in Deep power-down mode, the RDP and RES are also allowed to be executed, only except the device is in progress of program/erase/write cycle; there's no effect on the current program/erase/write cycle in progress. The RES instruction is ended by CS# goes high after the ID been read out at least once. The ID outputs repeatedly if continuously send the additional clock cycles on SCLK while CS# is at low. If the device was not previously in Deep Power-down mode, the device transition to standby mode is immediate. If the device was previously in Deep Power-down mode, there's a delay of tRES2 to transit to standby mode, and CS# must remain to high at least tRES2(max). Once in the standby mode, the device waits to be selected, so it can be receive, decode, and execute instruction. (19) Read Electronic Manufacturer ID & Device ID (REMS), (REMS2), (REMS4) The REMS, REMS2 & REMS4 instruction is an alternative to the Release from Power-down/Device ID instruction that provides both the JEDEC assigned manufacturer ID and the specific device ID. The REMS4 instruction is recommended to use for 4 I/O identification and REMS2 instruction is recommended to use for 2 I/O identification. The REMS, REMS2 & REMS4 instruction is very similar to the Release from Power-down/Device ID instruction. The instruction is initiated by driving the CS# pin low and shift the instruction code "90h" or "EFh" or "DFh"followed by two dummy bytes and one bytes address (A7~A0). After which, the Manufacturer ID for MXIC (C2h) and the Device ID are shifted out on the falling edge of SCLK with most significant bit (MSB) first as shown in figure 30. The Device ID values are listed in Table 7 of ID Definitions. If the one-byte address is initially set to 01h, then the device ID will be read first and then followed by the Manufacturer ID. The Manufacturer and Device IDs can be read continuously, alternating from one to the other. The instruction is completed by driving CS# high.
Table 7. ID Definitions
Command Type RDID (JEDEC ID) RES REMS/REMS2/REMS4 manufactuer ID C2 MX25V4035 memory type 25 electronic ID 53 manufacturer ID device ID C2 53 memory density 53 MX25V8035 manufacturer ID memory type 25 electronic ID 54 manufacturer ID device ID C2 54 C2 memory density 54
P/N: PM1468
25
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
(20) Enter Secured OTP (ENSO) The ENSO instruction is for entering the additional 512-bit secured OTP mode. The additional 512-bit secured OTP is independent from main array, which may use to store unique serial number for system identifier. After entering the Secured OTP mode, and then follow standard read or program, procedure to read out the data or update data. The Secured OTP data cannot be updated again once it is lock-down. The sequence of issuing ENSO instruction is: CS# goes low-> sending ENSO instruction to enter Secured OTP mode -> CS# goes high. Please note that WRSR/WRSCUR commands are not acceptable during the access of secure OTP region, once security OTP is lock down, only read related commands are valid. (21) Exit Secured OTP (EXSO) The EXSO instruction is for exiting the additional 512-bit secured OTP mode. The sequence of issuing EXSO instruction is: CS# goes low-> sending EXSO instruction to exit Secured OTP mode-> CS# goes high. (22) Read Security Register (RDSCUR) The RDSCUR instruction is for reading the value of Security Register bits. The Read Security Register can be read at any time (even in program/erase/write status register/write security register condition) and continuously. The sequence of issuing RDSCUR instruction is : CS# goes low-> send ing RDSCUR instruction -> Security Register data out on SO-> CS# goes high. The definition of the Security Register bits is as below: Secured OTP Indicator bit. The Secured OTP indicator bit shows the chip is locked by factory before ex- factory or not. When it is "0", it indicates non- factory lock; "1" indicates factory- lock. Lock-down Secured OTP (LDSO) bit. By writing WRSCUR instruction, the LDSO bit may be set to "1" for customer lock-down purpose. However, once the bit is set to "1" (lock-down), the LDSO bit and the 512-bit Secured OTP area cannot be update any more. While it is in 512-bit secured OTP mode, main array access is not allowed. Continuously Program Mode( CP mode) bit. The Continuously Program Mode bit indicates the status of CP mode, "0" indicates not in CP mode; "1" indicates in CP mode.
P/N: PM1468
26
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Table 8. Security Register Definition bit7 x bit6 x bit5 x bit4 Continuously Program mode (CP mode) 0=normal Program mode 1=CP mode (default=0) volatile bit bit3 x bit2 x bit1 LDSO (indicate if lock-down bit0 Secrured OTP indicator bit
reserved
reserved
reserved
reserved
reserved
0 = not lockdown 0 = non-factory 1 = lock-down lock (cannot 1 = factory program/erase lock OTP) non-volatile bit non-volatile bit
volatile bit
volatile bit
volatile bit
volatile bit
volatile bit
(23) Write Security Register (WRSCUR) The WRSCUR instruction is for changing the values of Security Register Bits. Unlike write status register, the WREN instruction is not required before sending WRSCUR instruction. The WRSCUR instruction may change the values of bit1 (LDSO bit) for customer to lock-down the 512-bit Secured OTP area. Once the LDSO bit is set to "1", the Secured OTP area cannot be updated any more. The sequence of issuing WRSCUR instruction is :CS# goes low-> sending WRSCUR instruction -> CS# goes high. The CS# must go high exactly at the boundary; otherwise, the instruction will be rejected and not executed. (24) HOLD# pin function enable (HDE) The HDE instruction is for enabling the HOLD# pin function. The RESET#/HOLD#/SIO# pin defaults to be as RESET# pin function. When HDE instruction is writing to the Flash, and then pin is set to be HOLD# pin. The HOLD mode will continue until power off. The pin is RESET# pin while power on stage. The HDE instruction is invalid during deep power down mode.
P/N: PM1468
27
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
POWER-ON STATE
The device is at below states when power-up: - Standby mode ( please note it is not deep power-down mode) - Write Enable Latch (WEL) bit is reset The device must not be selected during power-up and power-down stage unless the VCC achieves below correct level: - VCC minimum at power-up stage and then after a delay of tVSL - GND at power-down Please note that a pull-up resistor on CS# may ensure a safe and proper power-up/down level. An internal power-on reset (POR) circuit may protect the device from data corruption and inadvertent data change during power up state. For further protection on the device, if the VCC does not reach the VCC minimum level, the correct operation is not guaranteed. The read, write, erase, and program command should be sent after the below time delay: - tVSL after VCC reached VCC minimum level The device can accept read command after VCC reached VCC minimum and a time delay of tVSL. Please refer to the figure of "power-up timing". Note: - To stabilize the VCC level, the VCC rail decoupled by a suitable capacitor close to package pins is recommended. (generally around 0.1uF)
P/N: PM1468
28
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
ELECTRICAL SPECIFICATIONS
ABSOLUTE MAXIMUM RATINGS RATING Ambient Operating Temperature Storage Temperature Applied Input Voltage Applied Output Voltage VCC to Ground Potential VALUE -40°C to 85°C -65°C to 150°C -0.5V to VCC+0.5V -0.5V to VCC+0.5V -0.5V to VCC+0.5V
NOTICE: 1. Stresses greater than those listed under ABSOLUTE MAXIMUM RATINGS may cause permanent damage to the device. This is stress rating only and functional operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended period may affect reliability. 2. Specifications contained within the following tables are subject to change. 3. During voltage transitions, all pins may overshoot to VCC+1.0V to VCC or -0.5V to GND for period up to 20ns.
Figure 2.Maximum Negative Overshoot Waveform
20ns
Figure 3. Maximum Positive Overshoot Waveform
0V -0.5V
VCC+1.0V VCC
20ns
CAPACITANCE TA = 25°C, f = 1.0 MHz SYMBOL PARAMETER CIN COUT Input Capacitance Output Capacitance MIN. TYP MAX. 6 8 UNIT pF pF CONDITIONS VIN = 0V VOUT = 0V
P/N: PM1468
29
REV. 0.01, FEB. 13, 2009
MX25V4035 MX25V8035
Figure 4. INPUT TEST WAVEFORMS AND MEASUREMENT LEVEL
Input timing referance level 0.8VCC 0.7VCC 0.3VCC AC Measurement Level Output timing referance level
0.5VCC
0.2VCC
Note: Input pulse rise and fall time are