Professional Documents
Culture Documents
3V 1G-BIT
SERIAL FLASH MEMORY WITH
DUAL/QUAD SPI & SECURE AUTHENTICATION
Table of Contents
-1-
W74M01GV
GENERAL DESCRIPTIONS
The W74M01GV (1G-bit) Serial Flash memory provides a storage solution for systems with limited space,
pins and power. The W74 series offers flexibility and performance well beyond ordinary Serial Flash
devices. They are ideal for code shadowing to RAM, executing code directly from Dual/Quad SPI (XIP) and
storing voice, text and data. The device operates on a single 2.7V to 3.6V power supply with current
consumption as low as 1µA for power-down. All devices are offered in space-saving packages.
The W74M01GV supports the standard Serial Peripheral Interface (SPI), Dual/Quad I/O SPI: Serial Clock,
Chip Select, Serial Data I/O0 (DI), I/O1 (DO), I/O2 (/WP), and I/O3 (/HOLD). The device also provides a
new Continuous Read Mode that allows for efficient access to the entire memory array with a single Read
command. This feature is ideal for code shadowing applications.
The device supports JEDEC standard manufacturer and device ID, one 2,048-Byte Unique ID page, one
2,048-Byte parameter page and ten 2,048-Byte OTP pages. To provide better NAND flash memory
manageability, user configurable internal ECC, bad block management are also available in W74M01GV.
The W74M product line includes a standard Hash-based Message Authentication Code (HMAC) SHA-256
crypto accelerator that is used for key establishment between devices or systems for secure authentication.
Secure authentication is accomplished by using Root Keys and session based, HMAC Keys secretly shared
between the host and the flash memory.
Each W74M device is equipped with four sets of non-volatile 256-bit for storing Root Keys; four sets of
volatile 256-bit for storing HMAC Keys and four sets of non-volatile 32-bit for storing Monotonic Counter
values. The four sets allows one device pairing up to four different Hosts. A Host can be another device,
like a microprocessor, or a system.
Each Monotonic Counter, paired with a host, share a unique counter value (N) that can increment, N+1.
The Host dictates the random number and incremental rate at the start of its first pairing. The constant
changing counter value is a method to combat device counterfeiting and Replay attacks.
FEATURES
New Family of SpiFlash Memories Flexible Architecture with 128KB blocks
– W74M01GV: 1G-bit / 128M-byte – Uniform 128K-Byte Block Erase
– Page size 2,112 bytes (2048 + 64 bytes) – Flexible page data load methods
– Block size 64 pages (128K + 4K bytes) Advanced Security Features
– Standard SPI: CLK, /CS, DI, DO, /WP, /Hold – Integrated HMAC-SHA-256 Engine
– Dual SPI: CLK, /CS, IO0, IO1, /WP, /Hold – 4 sets of 256-bit OTP Root Key
– Quad SPI: CLK, /CS, IO0, IO1, IO2, IO3 – 4 sets of 256-bit volatile HMAC Key
– Compatible SPI serial flash commands – 4 sets of 32-bit Monotonic Flash Counter
Organization – On chip 1-Bit ECC for memory array
– Density: 1G-bit/128M-byteHighest – ECC status bits indicate ECC results
Performance of Serial NAND Flash – bad block management and LUT(2) access
– 104MHz Standard/Dual/Quad SPI clocks – 2KB Unique ID and 2KB parameter pages
– 208/416MHz equivalent Dual/Quad SPI – Ten 2KB OTP pages
– 50MB/S continuous data transfer rate – Software and Hardware Write-Protect
– Fast Program/Erase performance – Power Supply Lock-Down and OTP protection
– More than 100,000 erase/program cycles
– More than 10-year data retention Space Efficient Packaging
– 8-pad WSON 8x6 mm
Low Power Serial Flash – Contact Winbond for other options
– Single 2.7 to 3.6V supply
– 25mA active, 10µA standby current
– -40°C to +85°C operating range
-3-
W74M01GV
Top View
/CS 1 8 VCC
GND 4 5 DI (IO0)
Figure 1a. W74M01GV Pad Assignments, 8-pad WSON 8x6-mm (Package Code E)
PIN DESCRIPTIONS
Serial Data Input, Output and IOs (DI, DO and IO0, IO1, IO2, IO3)
The W74M01GV supports standard SPI, Dual SPI, Quad SPI operation. Standard SPI instructions use the
unidirectional DI (input) pin to serially write instructions, addresses or data to the device on the rising edge
of the Serial Clock (CLK) input pin. Standard SPI also uses the unidirectional DO (output) to read data or
status from the device on the falling edge of CLK.
Dual/Quad SPI instructions use the bidirectional IO pins to serially write instructions, addresses or data to
the device on the rising edge of CLK and read data or status from the device on the falling edge of CLK.
HOLD (/HOLD)
During Standard and Dual SPI operations, the /HOLD pin allows the device to be paused while it is actively
selected. When /HOLD is brought low, while /CS is low, the DO pin will be at high impedance and signals
on the DI and CLK pins will be ignored (don’t care). When /HOLD is brought high, device operation can
resume. The /HOLD function can be useful when multiple devices are sharing the same SPI signals. The
/HOLD pin is active low.
When a Quad SPI Read/Buffer Load command is issued, /HOLD pin will become a data I/O pin for the
Quad operations and no HOLD function is available until the current Quad operation finishes.
-5-
W74M01GV
BLOCK DIAGRAMS
Operation Diagram
Status
SHA-256 HMAC Key SHA-256 Compare
Register
Non-volatile Volatile
Memory
256-bit Root Key 32-bit Monotonic
256-bit HMAC Key
OTP Flash Counter
HMAC-SHA-256
SPI Interface
Cryptographic Engine
FUNCTIONAL DESCRIPTIONS
Un-initialized State
. Root Key Un-initialized (Blank)
. Monotonic Counter Un-initialized
Initialized State
. Root Key Established
. Monotonic Counter Initialized
-7-
W74M01GV
Initialized State
. Root Key Established
. Monotonic Counter Initialized HMAC Key Register
Initialized State
Authentication Flash The input command OP1 will be ignored while an operation to
OP1 command Authentication Flash is on-going.
Authentication Flash The software reset sequence can be issued any time during the internal
Device Reset operations of the Authentication Flash. All volatile settings will be reset.
-9-
W74M01GV
Authentication
Applicable
Flash Status Description
CmdType(s)
Register[7:0]
Power On State (Read Authentication Flash Status is issued
00000000 --
directly after power-up).
This status must be set on successful completion (no errors) of
10000000 00, 01, 02, 03
OP1 command (9Bh).
This bit must be set to 1, when device is busy executing OP1
00, 01, 02, 03,
0xxxxxx1 command (9Bh). It is reset to 0 when the command execution is
04-FF
done.
This bit is set only when the correct payload size is received.
For CmdType = 00, this bit must be set on Root Key Register
Overwrite or Counter Address out of range or Truncated Signature
0xxxxx1x 00, 01
mis-match error.
For CmdType = 01, this bit is set when the corresponding
Monotonic Counter is uninitialized.
This bit must be set on Signature Mismatch, Counter Address out
0xxxx1xx 00, 01, 02, 03 of range when correct payload size is received; or CmdType is out
of range; or incorrect payload size is received.
This bit must be set on HMAC Key Register (or Monotonic
0xxx1xxx 02, 03 Counter) uninitialized on previous OP1 command when correct
payload size is received.
This bit must be set on Monotonic_Counter_Data Mismatch on
0xx1xxxx 02
previous increment when correct payload size is received.
Fatal Error, e.g. program fail, no valid counter found after
0x1xxxxx --
initialization.
Status register will naturally not be updated until first 8 bits of OP1
(9Bh) is received. However it is expected that the correct error
Current value --
type is reflected for any OP1 operation that exceeds a minimum of
16 clocks with active chip-select.
6.2.1 Instruction Set Table 2-1 (Authentication Flash Input Instruction, OP1)(1)
INSTRUCTION BYTE 1
BYTE 0 BYTE 2 BYTE 3(2)
NAME (CmdType)
Write Byte 4 - 35 Byte 36 - 63
9Bh 00h CounterAddr[7:0] Reserved[7:0]
Root Key Register RootKey[255:0] TruncatedSign[223:0]
6.2.2 Instruction Set Table 2-2 (Authentication Flash Output Instruction, OP2)(1)
INSTRUCTION
BYTE 0 BYTE 1 BYTE 2 BYTE 3 - 14 BYTE 15 - 18 BYTE 19 - 50
NAME
Read Authentication
96h Dummy (Status[7:0]) (Tag[95:0]) (CounterData[31:0]) (Signature[255:0])
Flash Status / Data(3)(4)
Reset 99h
Notes:
1. All Authentication Flash instructions are in Standard SPI format. Each Input/Output Byte requires 8 clocks.
2. The Reserved[7:0] field for Authentication Flash OP1 must be all 0s (00000000’b).
3. The controller may terminate the Read Authentication Flash Status/Data instruction at any time without
going through the entire data output sequence.
4. When BUSY=1, from Byte-3 and beyond, the device will output the Authentication Flash Status[7:0] value
continuously until /CS terminates the instruction. The device will not output Tag, CounterData & Signature
fields when BUSY=1. Once BUSY becomes 0, another OP2 command must be issued to read out the
correct Tag, CounterData & Signature fields.
- 11 -
W74M01GV
Instruction Descriptions
6.3.1 Write Root Key Register (9Bh + 00h)
This command is used by the SPI Flash HOST Controller to initialize the Root Key Register corresponding
to the received Counter Address with the received Root Key. It is expected to be used in an OEM
manufacturing environment when the SPI Flash HOST Controller and SPI Flash are powered together for
the first time.
After the command is issued on the interface the Authentication Flash must ensure that the received
transaction is error free. This includes checking following conditions:
Payload size is correct. (including OP1 is 64 bytes)
Counter Address falls within the range of supported counters.
The Root Key Register corresponding to the requested Counter Address was previously
uninitialized. [Root_Key_Reg_Init_State[Monotonic_Counter_Address] = 0xFFh]
Truncated signature field is the same as least significant 224 bits of HMAC-SHA-256 based
signature computed based on received input parameters.
If the received transaction is error free, the Authentication Flash successfully executes the command and
posts “successful completion” in the Authentication Flash Status Register. This command must be executed
to ensure that power cycling in the middle of command execution is properly handled. This requires that
the internal state tracking the root key register initialization is written as the last operation of the command
execution. (Root_Key_Reg_Init_State[Monotonic_Counter_Address] = 0]
Root Key Register Write with root key is = 256’hFF…FF is used as a temporary key. When this request is
received error-free Root_Key_Reg_Init_State[Monotonic_Counter_Address] is not affected. Instead only
the corresponding Monotonic Counter is initialized to 0 if previously uninitialized. This state is tracked as
separate state using MC_Init_State[Monotonic_Counter_Address]. This state is used to leave the
Monotonic Counter at the current value when an error free Root Key Register Write operation is received.
(Both 256’hFF..FF and non 256’hFF..FF)
Once this command is successfully executed with a non 256’hFF..FF Root Key, the device will not accept
the “Write Root Key Register” command any more, and the Root Key value cannot be read out by any
instructions.
/CS
2 2 2 2 2 2 2 2 5 5 5 5
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 8 8 8 8 8 8 9 9 0 0 1 1
Mode 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 4 5 6 7 8 9 0 1 8 9 0 1 Mode 3
CLK
Mode 0 Mode 0
Counter Addr
DIO [7:0]
Reserved[7:0] Root Key[255:0] Truncated Sign[223:0]
DO
/CS
3 3 3 3
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 6 6 6 6 6 6 6 6 1 1 1 1
Mode 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 0 1 2 3 4 5 6 7 6 7 8 9 Mode 3
CLK
Mode 0 Mode 0
Counter Addr
DIO [7:0]
Reserved[7:0] Key Data[31:0] Signature[255:0]
DO
- 13 -
W74M01GV
/CS
3 3 3 3
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 6 6 6 6 6 6 6 6 1 1 1 1
Mode 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 0 1 2 3 4 5 6 7 6 7 8 9 Mode 3
CLK
Mode 0 Mode 0
Counter Addr
DIO [7:0]
Reserved[7:0] Counter Data[31:0] Signature[255:0]
DO
/CS
1 1 1 1 1 1 1 1 3 3 3 3
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 2 2 2 2 2 2 3 3 8 8 8 8
Mode 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 4 5 6 7 8 9 0 1 0 1 2 3 Mode 3
CLK
Mode 0 Mode 0
Counter Addr
DIO [7:0]
Reserved[7:0] Tag[95:0] Signature[255:0]
DO
- 15 -
W74M01GV
/CS
1 1 1 1 1 1 1 1 1 1 1 1 4 4 4 4
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 1 1 1 1 2 2 5 5 5 5 5 5 0 0 0 0
Mode 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 6 7 8 9 0 1 0 1 2 3 4 5 4 5 6 7 Mode 3
CLK
Mode 0 Mode 0
Don’t Care
DIO Dummy Bits[7:0]
Instruction (96h)
High Impedance
DO Status[7:0] Tag[95:0] Counter Data[31:0] Signature[255:0]
When BUSY=1, from Byte-3 and beyond, the device will output the Authentication Flash Status[7:0] value
continuously until /CS terminates the instruction. The device will not output Tag, CounterData & Signature
fields when BUSY=1. Once BUSY becomes 0, another OP2 command must be issued to read out the
correct Tag, CounterData & Signature fields.
/CS
1 1 1 1 1 1 1 1 1 1 1 1 4 4 4 4
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 1 1 1 1 2 2 5 5 5 5 5 5 0 0 0 0
Mode 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 6 7 8 9 0 1 0 1 2 3 4 5 4 5 6 7 Mode 3
CLK
Mode 0 Mode 0
Don’t Care
DIO Dummy Bits[7:0]
Instruction (96h)
High Impedance
DO Status[7:0] Status[7:0] Status[7:0] Status[7:0]
/CS
DO High Impedance
(IO1)
- 17 -
W74M01GV
ELECTRICAL CHARACTERISTICS(1)
Absolute Maximum Ratings (2)
PARAMETERS SYMBOL CONDITIONS RANGE UNIT
Supply Voltage VCC –0.6 to VCC+0.4 V
Voltage Applied to Any Pin VIO Relative to Ground –0.6 to VCC+0.4 V
<20nS Transient
Transient Voltage on any Pin VIOT –2.0V to VCC+2.0V V
Relative to Ground
Storage Temperature TSTG –65 to +150 °C
Lead Temperature TLEAD See Note (3) °C
Electrostatic Discharge Voltage VESD Human Body Model(4) –2000 to +2000 V
Notes:
1. Specification for W74M01GV is preliminary. See preliminary designation at the end of this document.
2. This device has been designed and tested for the specified operation ranges. Proper operation outside
of these levels is not guaranteed. Exposure to absolute maximum ratings may affect device reliability.
Exposure beyond absolute maximum ratings may cause permanent damage.
3. Compliant with JEDEC Standard J-STD-20C for small body Sn-Pb or Pb-free (Green) assembly and the
European directive on restrictions on hazardous substances (RoHS) 2002/95/EU.
4. JEDEC Std JESD22-A114A (C1=100pF, R1=1500 ohms, R2=500 ohms).
Operating Ranges
SPEC
PARAMETER SYMBOL CONDITIONS UNIT
MIN MAX
Supply Voltage VCC FR = 80MHz 2.7 3.6 V
Ambient Temperature, Operating TA Industrial –40 +85 °C
Note:
1. These parameters are characterized only.
VCC
VCC (max)
Program, Erase and Write Instructions are ignored
/CS must track VCC
VCC (min)
tVSL Read Instructions Device is fully
Reset Allowed Accessible
State
VWI
tPUW
Time
VCC
/CS
Time
- 19 -
W74M01GV
DC Electrical Characteristics(1)
SPEC
PARAMETER SYMBOL CONDITIONS UNIT
MIN TYP MAX
Input Capacitance CIN(2) VIN = 0V 12 pF
Output Capacitance Cout(2) VOUT = 0V 16 pF
Input Leakage ILI(2) ±4 µA
I/O Leakage ILO(2) ±4 µA
/CS = VCC,
Standby Current ICC1(2) VIN = GND or VCC
35 100 µA
AC Measurement Conditions
SPEC
PARAMETER SYMBOL UNIT
MIN MAX
Load Capacitance CL 30 pF
Input Rise and Fall Times TR, TF 5 ns
Input Pulse Voltages VIN 0.1 VCC to 0.9 VCC V
Input Timing Reference Voltages IN 0.3 VCC to 0.7 VCC V
Output Timing Reference Voltages OUT 0.5 VCC to 0.5 VCC V
Note:
1. Output Hi-Z is defined as the point where data out is no longer driven.
0.9 VCC
0.5 VCC
0.1 VCC
- 21 -
W74M01GV
AC Electrical Characteristics(3,4)
SPEC
DESCRIPTION SYMBOL ALT UNIT
MIN TYP MAX
- 23 -
W74M01GV
/CS
tCLH
CLK
tCLQV tCLQV tCLL tSHQZ
tCLQX tCLQX
IO
MSB OUT LSB OUT
output
/CS
tSHSL
tCHSL tSLCH tCHSH tSHCH
CLK
tDVCH tCHDX tCLCH tCHCL
IO
MSB IN LSB IN
input
PACKAGE SPECIFICATIONS
8-Pad WSON 8x6-mm (Package Code ZE)
Millimeters Inches
Symbol
Min Nom Max Min Nom Max
A 0.70 0.75 0.80 0.028 0.030 0.031
A1 0.00 0.02 0.05 0.000 0.001 0.002
b 0.35 0.40 0.48 0.014 0.016 0.019
C --- 0.20 REF --- --- 0.008 REF ---
D 7.90 8.00 8.10 0.311 0.315 0.319
D2 3.35 3.40 3.45 0.132 0.134 0.136
E 5.90 6.00 6.10 0.232 0.236 0.240
E2 4.25 4.30 4.35 0.167 0.169 0.171
e --- 1.27 --- --- 0.050 ---
L 0.45 0.50 0.55 0.018 0.020 0.022
y 0.00 --- 0.050 0.000 --- 0.002
Note:
The metal pad area on the bottom center of the package is not connected to any internal electrical signals. It can be
left floating or connected to the device ground (GND pin). Avoid placement of exposed PCB vias under the pad.
- 25 -
W74M01GV
Ordering Information
74M = SpiFlash Serial Flash Memory with Dual/Quad I/O and Secure Authentication
01G = 1G-bit
V = 2.7V to 3.6V
(2)
Notes:
1. The “W” prefix is not included on the part marking.
2. Standard bulk shipments are in Tube (shape E). Please specify alternate packing method, such as Tape and
Reel (shape T) or Tray (shape S), when placing orders.
Note:
Contact Winbond for other package options.
GENERAL INSTRUCTIONS
Digit number for all Spi-Flash features, DC and AC parameters, and functions of this product, please refer
to the datasheet of W25N01GV which can be found on Winbond web site http:// www.winbond.com or
www.spiflash.com.
- 27 -
W74M01GV
REVISION HISTORY
VERSION DATE PAGE DESCRIPTION
A 02/17/2017 New Create Preliminary
Preliminary Designation
The “Preliminary” designation on a Winbond datasheet indicates that the product is not fully characterized.
The specifications are subject to change and are not guaranteed. Winbond or an authorized sales
representative should be consulted for current information before using this product.
Trademarks
Winbond is a trademark of Winbond Electronics Corporation.
All other marks are the property of their respective owner.
Important Notice
Winbond products are not designed, intended, authorized or warranted for use as components in systems
or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship
instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for
other applications intended to support or sustain life. Furthermore, Winbond products are not intended for
applications wherein failure of Winbond products could result or lead to a situation wherein personal injury,
death or severe property or environmental damage could occur. Winbond customers using or selling these
products for use in such applications do so at their own risk and agree to fully indemnify Winbond for any
damages resulting from such improper use or sales.
Information in this document is provided solely in connection with Winbond products. Winbond
reserves the right to make changes, corrections, modifications or improvements to this document
and the products and services described herein at any time, without notice.