NOR FLASH MEMORY K8D3x16UTC / K8D3x16UBC

788 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
788
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

NOR FLASH MEMORY K8D3x16UTC / K8D3x16UBC

  1. 1. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Document Title 32M Bit (4M x8/2M x16) Dual Bank NOR Flash Memory Revision History Revision No. History Draft Date Remark 0.0 Initial Draft June 18, 2002 Preliminary 1.0 Final Specification November 13, 2002 1.1 Not support 48TSOP1 Package November 18, 2003 Final Not support 16M/16M BANK partition 1.2 Support 48TSOP1 Package July 16, 2004 1.3 Support 48TSOP1 Lead Free Package September 16, 2004 1.4 Support 48FBGA Leaded/Lead Free Package March 16, 2005 1.5 Complement status flag check algorithm June 2, 2005 1.6 tCS timing is modified August 25,2006 1.7 "Asynchronous mode may not support read following four sequential September 7, 2006 invalid read condition within 200ns." is added 1 Revision 1.7 September, 2006
  2. 2. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY 32M Bit (4M x8/2M x16) Dual Bank NOR Flash Memory FEATURES GENERAL DESCRIPTION • Single Voltage, 2.7V to 3.6V for Read and Write operations The K8D3216U featuring single 3.0V power supply, is a 32Mbit • Organization NOR-type Flash Memory organized as 4Mx8 or 2M x16. The 4,194,304 x 8 bit (Byte mode) / 2,097,152 x 16 bit (Word mode) memory architecture of the device is designed to divide its • Fast Read Access Time : 70ns memory arrays into 71 blocks to be protected by the block • Read While Program/Erase Operation group. This block architecture provides highly flexible erase and • Dual Bank architectures program capability. The K8D3216U NOR Flash consists of two Bank 1 / Bank 2 : 8Mb / 24Mb banks. This device is capable of reading data from one bank • Secode(Security Code) Block : Extra 64K Byte block • Power Consumption (typical value @5MHz) while programming or erasing in the other bank. Access times - Read Current : 14mA of 70ns, 80ns and 90ns are available for the device. The - Program/Erase Current : 15mA device′s fast access times allow high speed microprocessors to - Read While Program or Read While Erase Current : 25mA operate without wait states. The device performs a program - Standby Mode/Auto Sleep Mode : 5µA operation in units of 8 bits (Byte) or 16 bits (Word) and erases in • WP/ACC input pin units of a block. Single or multiple blocks can be erased. The - Allows special protection of two outermost boot blocks at VIL, block erase operation is completed within typically 0.7 sec. The regardless of block protect status device requires 15mA as program/erase current in the standard - Removes special protection of two outermost boot block at VIH, and industrial temperature ranges. the two blocks return to normal block protect status The K8D3216U NOR Flash Memory is created by using Sam- - Program time at VHH : 9µs/word • Erase Suspend/Resume sung's advanced CMOS process technology. This device is • Unlock Bypass Program available in 48 pin TSOP1 and 48 ball TBGA, FBGA packages. • Hardware RESET Pin The device is compatible with EPROM applications to require • Command Register Operation high-density and cost-effective nonvolatile read/write storage • Block Group Protection / Unprotection solutions. • Supports Common Flash Memory Interface • Industrial Temperature : -40°C to 85°C • Endurance : 100,000 Program/Erase Cycles Minimum • Data Retention : 10 years • Package : 48 Pin TSOP1 : 12 x 20 mm / 0.5 mm Pin pitch 48 Ball TBGA : 6 x 8.5 mm / 0.8 mm Ball pitch 48 Ball FBGA : 6 x 8.5 mm / 0.8 mm Ball pitch PIN DESCRIPTION Pin Name Pin Function A0 - A20 Address Inputs PIN CONFIGURATION DQ0 - DQ14 Data Inputs / Outputs A15 1 48 A16 DQ15/A-1 DQ15 Data Input / Output A14 2 47 BYTE A13 3 46 Vss A-1 LSB Address A12 4 45 DQ15/A-1 A11 5 44 DQ7 A10 6 43 DQ14 BYTE Word / Byte Selection A9 7 42 DQ6 A8 8 41 DQ13 A19 A20 9 10 48-pin TSOP1 40 39 DQ5 DQ12 CE Chip Enable WE 11 38 DQ4 Standard Type RESET N.C 12 13 37 36 Vcc DQ11 OE Output Enable WP/ACC 14 12mm x 20mm 35 DQ3 RY/BY 15 34 DQ10 A18 16 33 DQ2 RESET Hardware Reset Pin A17 17 32 DQ9 A7 18 31 DQ1 A6 A5 19 20 30 29 DQ8 DQ0 RY/BY Ready/Busy Output A4 21 28 OE A3 22 27 Vss A2 23 26 CE WE Write Enable A1 24 25 A0 Hardware Write Protection/Program WP/ACC Note : Acceleration Please refer to the package dimension. Vcc Power Supply VSS Ground N.C No Connection SAMSUNG ELECTRONICS CO., LTD. reserves the right to change products and specifications without notice. 2 Revision 1.7 September, 2006
  3. 3. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY 48 Ball TBGA/FBGA TOP VIEW (BALL DOWN) 1 2 3 4 5 6 A A3 A7 RY/BY WE A9 A13 WP/ B A4 A17 RESET A8 A12 ACC C A2 A6 A18 N.C A10 A14 D A1 A5 A20 A19 A11 A15 E A0 DQ0 DQ2 DQ5 DQ7 A16 F CE DQ8 DQ10 DQ12 DQ14 BYTE DQ15/ G OE DQ9 DQ11 VCC DQ13 A-1 H VSS DQ1 DQ3 DQ4 DQ6 VSS FUNCTIONAL BLOCK DIAGRAM Bank1 X Bank1 Vcc Address Dec Cell Array Vss Y Dec Latch & Control CE Bank1 Data-In/Out OE I/O WE Interface Bank2 Data-In/Out BYTE & Latch & Y Dec Control RESET Bank Control RY/BY Bank2 Bank2 X WP/ACC Address Dec Cell Array A0~A20 DQ15/A-1 Erase Control DQ0~DQ14 High Voltage Gen. Program Control 3 Revision 1.7 September, 2006
  4. 4. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY ORDERING INFORMATION K 8 D 3x 1 6 U T C - T I 0 7 Access Time Samsung 07 = 70 ns NOR Flash Memory 08 = 80 ns 09 = 90 ns Device Type Operating Temperature Range Dual Bank Boot Block C = Commercial Temp. (0 °C to 70 °C) I = Industrial Temp. (-40 °C to 85 °C) Package Bank Division P = 48TSOP1(Lead-Free) Y = 48 TSOP1 32 = 8Mbits + 24Mbits D : FBGA(Lead Free) F : FBGA L : TBGA(Lead Free) T : TBGA Organization Version x8/x16 Selectable C = 4th Generation Block Architecture Operating Voltage Range T = Top Boot Block 2.7V to 3.6V B = Bottom Boot Block Table 1. PRODUCT LINE-UP Part No. -7 -8 -9 Vcc 2.7V~3.6V Max. Address Access Time (ns) 70ns 80ns 90ns Max. CE Access Time (ns) 70ns 80ns 90ns Max. OE Access Time (ns) 25ns 25ns 35ns Table 2. K8D3216U DEVICE BANK DIVISIONS Device Bank 1 Bank 2 Part Number Mbit Block Sizes Mbit Block Sizes Eight 8 Kbyte/4 Kword, Forty-eight K8D3216U 8 Mbit 24 Mbit fifteen 64 Kbyte/32 Kword 64 Kbyte/32 Kword 4 Revision 1.7 September, 2006
  5. 5. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Table 3. Top Boot Block Address (K8D3216UT) Block Address Block Size Address Range K8D3216UT Block A20 A19 A18 A17 A16 A15 A14 A13 A12 (KB/KW) Byte Mode Word Mode BA70 1 1 1 1 1 1 1 1 1 8/4 3FE000H-3FFFFFH 1FF000H-1FFFFFH BA69 1 1 1 1 1 1 1 1 0 8/4 3FC000H-3FDFFFH 1FE000H-1FEFFFH BA68 1 1 1 1 1 1 1 0 1 8/4 3FA000H-3FBFFFH 1FD000H-1FDFFFH BA67 1 1 1 1 1 1 1 0 0 8/4 3F8000H-3F9FFFH 1FC000H-1FCFFFH BA66 1 1 1 1 1 1 0 1 1 8/4 3F6000H-3F7FFFH 1FB000H-1FBFFFH BA65 1 1 1 1 1 1 0 1 0 8/4 3F4000H-3F5FFFH 1FA000H-1FAFFFH BA64 1 1 1 1 1 1 0 0 1 8/4 3F2000H-3F3FFFH 1F9000H-1F9FFFH BA63 1 1 1 1 1 1 0 0 0 8/4 3F0000H-3F1FFFH 1F8000H-1F8FFFH BA62 1 1 1 1 1 0 X X X 64/32 3E0000H-3EFFFFH 1F0000H-1F7FFFH BA61 1 1 1 1 0 1 X X X 64/32 3D0000H-3DFFFFH 1E8000H-1EFFFFH BA60 1 1 1 1 0 0 X X X 64/32 3C0000H-3CFFFFH 1E0000H-1E7FFFH Bank1 BA59 1 1 1 0 1 1 X X X 64/32 3B0000H-3BFFFFH 1D8000H-1DFFFFH BA58 1 1 1 0 1 0 X X X 64/32 3A0000H-3AFFFFH 1D0000H-1D7FFFH BA57 1 1 1 0 0 1 X X X 64/32 390000H-39FFFFH 1C8000H-1CFFFFH BA56 1 1 1 0 0 0 X X X 64/32 380000H-38FFFFH 1C0000H-1C7FFFH BA55 1 1 0 1 1 1 X X X 64/32 370000H-37FFFFH 1B8000H-1BFFFFH BA54 1 1 0 1 1 0 X X X 64/32 360000H-36FFFFH 1B0000H-1B7FFFH BA53 1 1 0 1 0 1 X X X 64/32 350000H-35FFFFH 1A8000H-1AFFFFH BA52 1 1 0 1 0 0 X X X 64/32 340000H-34FFFFH 1A0000H-1A7FFFH BA51 1 1 0 0 1 1 X X X 64/32 330000H-33FFFFH 198000H-19FFFFH BA50 1 1 0 0 1 0 X X X 64/32 320000H-32FFFFH 190000H-197FFFH BA49 1 1 0 0 0 1 X X X 64/32 310000H-31FFFFH 188000H-18FFFFH BA48 1 1 0 0 0 0 X X X 64/32 300000H-30FFFFH 180000H-187FFFH BA47 1 0 1 1 1 1 X X X 64/32 2F0000H-2FFFFFH 178000H-17FFFFH BA46 1 0 1 1 1 0 X X X 64/32 2E0000H-2EFFFFH 170000H-177FFFH BA45 1 0 1 1 0 1 X X X 64/32 2D0000H-2DFFFFH 168000H-16FFFFH BA44 1 0 1 1 0 0 X X X 64/32 2C0000H-2CFFFFH 160000H-167FFFH BA43 1 0 1 0 1 1 X X X 64/32 2B0000H-2BFFFFH 158000H-15FFFFH BA42 1 0 1 0 1 0 X X X 64/32 2A0000H-2AFFFFH 150000H-157FFFH Bank2 BA41 1 0 1 0 0 1 X X X 64/32 290000H-29FFFFH 148000H-14FFFFH BA40 1 0 1 0 0 0 X X X 64/32 280000H-28FFFFH 140000H-147FFFH BA39 1 0 0 1 1 1 X X X 64/32 270000H-27FFFFH 138000H-13FFFFH BA38 1 0 0 1 1 0 X X X 64/32 260000H-26FFFFH 130000H-137FFFH BA37 1 0 0 1 0 1 X X X 64/32 250000H-25FFFFH 128000H-12FFFFH BA36 1 0 0 1 0 0 X X X 64/32 240000H-24FFFFH 120000H-127FFFH BA35 1 0 0 0 1 1 X X X 64/32 230000H-23FFFFH 118000H-11FFFFH 5 Revision 1.7 September, 2006
  6. 6. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Table 3. Top Boot Block Address (K8D3216UT) Block Address Block Size Address Range K8D3216UT Block A20 A19 A18 A17 A16 A15 A14 A13 A12 (KB/KW) Byte Mode Word Mode BA34 1 0 0 0 1 0 X X X 64/32 220000H-22FFFFH 110000H-117FFFH BA33 1 0 0 0 0 1 X X X 64/32 210000H-21FFFFH 108000H-10FFFFH BA32 1 0 0 0 0 0 X X X 64/32 200000H-20FFFFH 100000H-107FFFH BA31 0 1 1 1 1 1 X X X 64/32 1F0000H-1FFFFFH 0F8000H-0FFFFFH BA30 0 1 1 1 1 0 X X X 64/32 1E0000H-1EFFFFH 0F0000H-0F7FFFH BA29 0 1 1 1 0 1 X X X 64/32 1D0000H-1DFFFFH 0E8000H-0EFFFFH BA28 0 1 1 1 0 0 X X X 64/32 1C0000H-1CFFFFH 0E0000H-0E7FFFH BA27 0 1 1 0 1 1 X X X 64/32 1B0000H-1BFFFFH 0D8000H-0DFFFFH BA26 0 1 1 0 1 0 X X X 64/32 1A0000H-1AFFFFH 0D0000H-0D7FFFH BA25 0 1 1 0 0 1 X X X 64/32 190000H-19FFFFH 0C8000H-0CFFFFH BA24 0 1 1 0 0 0 X X X 64/32 180000H-18FFFFH 0C0000H-0C7FFFH BA23 0 1 0 1 1 1 X X X 64/32 170000H-17FFFFH 0B8000H-0BFFFFH BA22 0 1 0 1 1 0 X X X 64/32 160000H-16FFFFH 0B0000H-0B7FFFH BA21 0 1 0 1 0 1 X X X 64/32 150000H-15FFFFH 0A8000H-0AFFFFH BA20 0 1 0 1 0 0 X X X 64/32 140000H-14FFFFH 0A0000H-0A7FFFH BA19 0 1 0 0 1 1 X X X 64/32 130000H-13FFFFH 098000H-09FFFFH BA18 0 1 0 0 1 0 X X X 64/32 120000H-12FFFFH 090000H-097FFFH Bank2 BA17 0 1 0 0 0 1 X X X 64/32 110000H-11FFFFH 088000H-08FFFFH BA16 0 1 0 0 0 0 X X X 64/32 100000H-10FFFFH 080000H-087FFFH BA15 0 0 1 1 1 1 X X X 64/32 0F0000H-0FFFFFH 078000H-07FFFFH BA14 0 0 1 1 1 0 X X X 64/32 0E0000H-0EFFFFH 070000H-077FFFH BA13 0 0 1 1 0 1 X X X 64/32 0D0000H-0DFFFFH 068000H-06FFFFH BA12 0 0 1 1 0 0 X X X 64/32 0C0000H-0CFFFFH 060000H-067FFFH BA11 0 0 1 0 1 1 X X X 64/32 0B0000H-0BFFFFH 058000H-05FFFFH BA10 0 0 1 0 1 0 X X X 64/32 0A0000H-0AFFFFH 050000H-057FFFH BA9 0 0 1 0 0 1 X X X 64/32 090000H-09FFFFH 048000H-04FFFFH BA8 0 0 1 0 0 0 X X X 64/32 080000H-08FFFFH 040000H-047FFFH BA7 0 0 0 1 1 1 X X X 64/32 070000H-07FFFFH 038000H-03FFFFH BA6 0 0 0 1 1 0 X X X 64/32 060000H-06FFFFH 030000H-037FFFH BA5 0 0 0 1 0 1 X X X 64/32 050000H-05FFFFH 028000H-02FFFFH BA4 0 0 0 1 0 0 X X X 64/32 040000H-04FFFFH 020000H-027FFFH BA3 0 0 0 0 1 1 X X X 64/32 030000H-03FFFFH 018000H-01FFFFH BA2 0 0 0 0 1 0 X X X 64/32 020000H-02FFFFH 010000H-017FFFH BA1 0 0 0 0 0 1 X X X 64/32 010000H-01FFFFH 008000H-00FFFFH BA0 0 0 0 0 0 0 X X X 64/32 000000H-00FFFFH 000000H-007FFFH Note : The address range is A20 ∼ A-1 in the byte mode ( BYTE = VIL ) or A20 ∼ A0 in the word mode ( BYTE = VIH ). The bank address bits is A20 ∼ A19 for K8D3216UT. Table 4. Secode Block Addresses for Top Boot Devices Block Address Block (X8) (X16) Device A20-A12 Size Address Range Address Range K8D3216UT 111111xxx 64/32 3F0000H-3FFFFFH 1F8000H-1FFFFFH 6 Revision 1.7 September, 2006
  7. 7. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Table 5. Bottom Boot Block Address (K8D3216UB) Block Address Block Size Address Range K8D3216UB Block A20 A19 A18 A17 A16 A15 A14 A13 A12 (KB/KW) Byte Mode Word Mode BA70 1 1 1 1 1 1 X X X 64/32 3F0000H-3FFFFFH 1F8000H-1FFFFFH BA69 1 1 1 1 1 0 X X X 64/32 3E0000H-3EFFFFH 1F0000H-1F7FFFH BA68 1 1 1 1 0 1 X X X 64/32 3D0000H-3DFFFFH 1E8000H-1EFFFFH BA67 1 1 1 1 0 0 X X X 64/32 3C0000H-3CFFFFH 1E0000H-1E7FFFH BA66 1 1 1 0 1 1 X X X 64/32 3B0000H-3BFFFFH 1D8000H-1DFFFFH BA65 1 1 1 0 1 0 X X X 64/32 3A0000H-3AFFFFH 1D0000H-1D7FFFH BA64 1 1 1 0 0 1 X X X 64/32 390000H-39FFFFH 1C8000H-1CFFFFH BA63 1 1 1 0 0 0 X X X 64/32 380000H-38FFFFH 1C0000H-1C7FFFH BA62 1 1 0 1 1 1 X X X 64/32 370000H-37FFFFH 1B8000H-1BFFFFH BA61 1 1 0 1 1 0 X X X 64/32 360000H-36FFFFH 1B0000H-1B7FFFH BA60 1 1 0 1 0 1 X X X 64/32 350000H-35FFFFH 1A8000H-1AFFFFH BA59 1 1 0 1 0 0 X X X 64/32 340000H-34FFFFH 1A0000H-1A7FFFH BA58 1 1 0 0 1 1 X X X 64/32 330000H-33FFFFH 198000H-19FFFFH BA57 1 1 0 0 1 0 X X X 64/32 320000H-32FFFFH 190000H-197FFFH BA56 1 1 0 0 0 1 X X X 64/32 310000H-31FFFFH 188000H-18FFFFH BA55 1 1 0 0 0 0 X X X 64/32 300000H-30FFFFH 180000H-187FFFH BA54 1 0 1 1 1 1 X X X 64/32 2F0000H-2F1FFFH 178000H-17FFFFH BA53 1 0 1 1 1 0 X X X 64/32 2E0000H-2EFFFFH 170000H-177FFFH Bank2 BA52 1 0 1 1 0 1 X X X 64/32 2D0000H-2DFFFFH 168000H-16FFFFH BA51 1 0 1 1 0 0 X X X 64/32 2C0000H-2CFFFFH 160000H-167FFFH BA50 1 0 1 0 1 1 X X X 64/32 2B0000H-2BFFFFH 158000H-15FFFFH BA49 1 0 1 0 1 0 X X X 64/32 2A0000H-2AFFFFH 150000H-157FFFH BA48 1 0 1 0 0 1 X X X 64/32 290000H-29FFFFH 148000H-14FFFFH BA47 1 0 1 0 0 0 X X X 64/32 280000H-28FFFFH 140000H-147FFFH BA46 1 0 0 1 1 1 X X X 64/32 270000H-27FFFFH 138000H-13FFFFH BA45 1 0 0 1 1 0 X X X 64/32 260000H-26FFFFH 130000H-137FFFH BA44 1 0 0 1 0 1 X X X 64/32 250000H-25FFFFH 128000H-12FFFFH BA43 1 0 0 1 0 0 X X X 64/32 240000H-24FFFFH 120000H-127FFFH BA42 1 0 0 0 1 1 X X X 64/32 230000H-23FFFFH 118000H-11FFFFH BA41 1 0 0 0 1 0 X X X 64/32 220000H-22FFFFH 110000H-117FFFH BA40 1 0 0 0 0 1 X X X 64/32 210000H-21FFFFH 108000H-10FFFFH BA39 1 0 0 0 0 0 X X X 64/32 200000H-20FFFFH 100000H-107FFFH BA38 0 1 1 1 1 1 X X X 64/32 1F0000H-1FFFFFH 0F8000H-0FFFFFH BA37 0 1 1 1 1 0 X X X 64/32 1E0000H-1EFFFFH 0F0000H-0F7FFFH BA36 0 1 1 1 0 1 X X X 64/32 1D0000H-1DFFFFH 0E8000H-0EFFFFH BA35 0 1 1 1 0 0 X X X 64/32 1C0000H-1CFFFFH 0E0000H-0E7FFFH 7 Revision 1.7 September, 2006
  8. 8. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Table 5. Bottom Block Address (K8D3216UB) Block Address Block Size Address Range K8D3216UB Block A20 A19 A18 A17 A16 A15 A14 A13 A12 (KB/KW) Byte Mode Word Mode BA34 0 1 1 0 1 1 X X X 64/32 1B0000H-1BFFFFH 0D8000H-0DFFFFH BA33 0 1 1 0 1 0 X X X 64/32 1A0000H-1AFFFFH 0D0000H-0D7FFFH BA32 0 1 1 0 0 1 X X X 64/32 190000H-19FFFFH 0C8000H-0CFFFFH BA31 0 1 1 0 0 0 X X X 64/32 180000H-18FFFFH 0C0000H-0C7FFFH BA30 0 1 0 1 1 1 X X X 64/32 170000H-17FFFFH 0B8000H-0BFFFFH BA29 0 1 0 1 1 0 X X X 64/32 160000H-16FFFFH 0B0000H-0B7FFFH Bank2 BA28 0 1 0 1 0 1 X X X 64/32 150000H-15FFFFH 0A8000H-0AFFFFH BA27 0 1 0 1 0 0 X X X 64/32 140000H-14FFFFH 0A0000H-0A7FFFH BA26 0 1 0 0 1 1 X X X 64/32 130000H-13FFFFH 098000H-09FFFFH BA25 0 1 0 0 1 0 X X X 64/32 120000H-12FFFFH 090000H-097FFFH BA24 0 1 0 0 0 1 X X X 64/32 110000H-11FFFFH 088000H-08FFFFH BA23 0 1 0 0 0 0 X X X 64/32 100000H-10FFFFH 080000H-087FFFH BA22 0 0 1 1 1 1 X X X 64/32 0F0000H-0FFFFFH 078000H-07FFFFH BA21 0 0 1 1 1 0 X X X 64/32 0E0000H-0EFFFFH 070000H-077FFFH BA20 0 0 1 1 0 1 X X X 64/32 0D0000H-0DFFFFH 068000H-06FFFFH BA19 0 0 1 1 0 0 X X X 64/32 0C0000H-0CFFFFH 060000H-067FFFH BA18 0 0 1 0 1 1 X X X 64/32 0B0000H-0BFFFFH 058000H-05FFFFH BA17 0 0 1 0 1 0 X X X 64/32 0A0000H-0AFFFFH 050000H-057FFFH BA16 0 0 1 0 0 1 X X X 64/32 090000H-09FFFFH 048000H-04FFFFH BA15 0 0 1 0 0 0 X X X 64/32 080000H-08FFFFH 040000H-047FFFH BA14 0 0 0 1 1 1 X X X 64/32 070000H-07FFFFH 038000H-03FFFFH BA13 0 0 0 1 1 0 X X X 64/32 060000H-06FFFFH 030000H-037FFFH BA12 0 0 0 1 0 1 X X X 64/32 050000H-05FFFFH 028000H-02FFFFH Bank1 BA11 0 0 0 1 0 0 X X X 64/32 040000H-04FFFFH 020000H-027FFFH BA10 0 0 0 0 1 1 X X X 64/32 030000H-03FFFFH 018000H-01FFFFH BA9 0 0 0 0 1 0 X X X 64/32 020000H-02FFFFH 010000H-017FFFH BA8 0 0 0 0 0 1 X X X 64/32 010000H-01FFFFH 008000H-00FFFFH BA7 0 0 0 0 0 0 1 1 1 8/4 00E000H-00FFFFH 007000H-007FFFH BA6 0 0 0 0 0 0 1 1 0 8/4 00C000H-00DFFFH 006000H-006FFFH BA5 0 0 0 0 0 0 1 0 1 8/4 00A000H-00BFFFH 005000H-005FFFH BA4 0 0 0 0 0 0 1 0 0 8/4 008000H-009FFFH 004000H-004FFFH BA3 0 0 0 0 0 0 0 1 1 8/4 006000H-007FFFH 003000H-003FFFH BA2 0 0 0 0 0 0 0 1 0 8/4 004000H-005FFFH 002000H-002FFFH BA1 0 0 0 0 0 0 0 0 1 8/4 002000H-003FFFH 001000H-001FFFH BA0 0 0 0 0 0 0 0 0 0 8/4 000000H-001FFFH 000000H-000FFFH Note : The address range is A20 ∼ A-1 in the byte mode ( BYTE = VIL ) or A20 ∼ A0 in the word mode ( BYTE = VIH ). The bank address bits is A20 ∼ A19 for K8D3216UB. Table 6. Secode Block Addresses for Bottom Boot Devices Block Address Block (X8) (X16) Device A20-A12 Size Address Range Address Range K8D3216UB 000000xxx 64/32 000000H-00FFFFH 000000H-007FFFH 8 Revision 1.7 September, 2006
  9. 9. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY PRODUCT INTRODUCTION The K8D3216U is a 32Mbit (33,554,432 bits) NOR-type Flash memory. The device features single voltage power supply operating within the range of 2.7V to 3.6V. The device is programmed by using the Channel Hot Electron (CHE) injection mechanism which is used to program EPROMs. The device is erased electrically by using Fowler-Nordheim tunneling mechanism. To provide highly flex- ible erase and program capability, the device adapts a block memory architecture that divides its memory array into 71 blocks (64- Kbyte x 63 , 8-Kbyte x 8). Programming is done in units of 8 bits (Byte) or 16 bits (Word). All bits of data in one or multiple blocks can be erased simultaneously when the device executes the erase operation. To prevent the device from accidental erasing or over-writ- ing the programmed data, 71 memory blocks can be hardware protected by the block group. Byte/Word modes are available for read operation. These modes can be selected via BYTE pin. The device provides read access times of 70ns, 80ns and 90ns supporting high speed microprocessors to operate without any wait states. The command set of K8D3216U is fully compatible with standard Flash devices. The device is controlled by chip enable (CE), output enable (OE) and write enable (WE). Device operations are executed by selective command codes. The command codes to be com- bined wih addresses and data are sequentially written to the command registers using microprocessor write timing. The command codes serve as inputs to an internal state machine which controls the program/erase circuitry. Register contents also internally latch addresses and data necessary to execute the program and erase operations. The K8D3216U is implemented with Internal Program/ Erase Algorithms to execute the program/erase operations. The Internal Program/Erase Algorithms are invoked by program/erase command sequences. The Internal Program Algorithm automatically programs and verifies data at specified addresses. The Internal Erase Algorithm automatically pre-programs the memory cell which is not programmed and then executes the erase operation. The K8D3216U has means to indicate the status of completion of program/erase operations. The status can be indicated via the RY/BY pin, Data polling of DQ7, or the Toggle bit (DQ6). Once the operations have been completed, the device automatically resets itself to the read mode. The device requires only 14 mA as active read current and 15 mA for program/erase operations. Table 7. Operations Table WP/ DQ15/ DQ8/ DQ0/ Operation CE OE WE BYTE A9 A6 A1 A0 RESET ACC A-1 DQ14 DQ7 word L L H H A9 A6 A1 A0 DQ15 DOUT DOUT H Read L/H byte L L H L A9 A6 A1 A0 A-1 High-Z DOUT H Vcc ± Stand-by X X X (2) X X X X High-Z High-Z High-Z (2) 0.3V Output Disable L H H X L/H X X X X High-Z High-Z High-Z H Reset X X X X L/H X X X X High-Z High-Z High-Z L word L H L H A9 A6 A1 A0 DIN DIN DIN H Write (4) byte L H L L A9 A6 A1 A0 A-1 High-Z DIN H Enable Block Group L H L X L/H X L H L X X DIN VID Protect (3) Enable Block Group L H L X (4) X H H L X X DIN VID Unprotect (3) Temporary Block Group X X X X (4) X X X X X X X VID Auto Select Code(See Manufacturer ID (5) L L H X L/H VID L L L X X H Table 9) Auto Select Code(See Device Code (5) L L H X L/H VID L L H X X H Table 9) Notes : 1. L = VIL (Low), H = VIH (High), VID = 8.5V~12.5V, DIN = Data in, DOUT = Data out, X = Don't care. 2. WP/ACC and RESET pin are asserted at Vcc±0.3 V or Vss±0.3 V in the Stand-by mode. 3. Addresses must be composed of the Block address (A12 - A20). The Block Protect and Unprotect operations may be implemented via programming equipment too. Refer to the "Block Group Protection and Unprotection". 4. If WP/ACC=VIL, the two outermost boot blocks is protected. If WP/ACC=VIH, the two outermost boot block protection depends on whether those blocks were last protected or unprotected using the method described in "Block Group Protection and Unprotection". If WP/ACC=VHH, all blocks will be temporarily unprotected. 5. Manufacturer and device codes may also be accessed via a command register write sequence. Refer to Table 9. 9 Revision 1.7 September, 2006
  10. 10. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY COMMAND DEFINITIONS The K8D3216U operates by selecting and executing its operational modes. Each operational mode has its own command set. In order to select a certain mode, a proper command with specific address and data sequences must be written into the command reg- ister. Writing incorrect information which include address and data or writing an improper command will reset the device to the read mode. The defined valid register command sequences are stated in Table 8. Note that Erase Suspend (B0H) and Erase Resume (30H) commands are valid only while the Block Erase Operation is in progress. Table 8. Command Sequences 1st Cycle 2nd Cycle 3rd Cycle 4th Cycle 5th Cycle 6th Cycle Command Sequence Cycle Word Byte Word Byte Word Byte Word Byte Word Byte Word Byte Addr RA Read 1 Data RD Addr XXXH Reset 1 Data F0H Autoselect DA/ DA/ DA/ DA/ Addr 555H AAAH 2AAH 555H Manufacturer 4 555H AAAH X00H X00H ID (2,3) Data AAH 55H 90H ECH Autoselect DA/ DA/ DA/ DA/ Addr 555H AAAH 2AAH 555H Device Code 4 555H AAAH X01H X02H (2,3) Data AAH 55H 90H (See Table 9) Autoselect DA/ DA/ BA / BA/ Addr 555H AAAH 2AAH 555H Block Group 4 555H AAAH X02H X04H Protect Verify (2,3) Data AAH 55H 90H (See Table 9) Auto Select DA/ DA/ DA / DA/ Addr 555H AAAH 2AAH 555H Secode Block 4 555H AAAH X03H X06H Factory Protect Verify (2,3) Data AAH 55H 90H (See Table 9) Enter Secode Addr 555H AAAH 2AAH 555H 555H AAAH 3 Block Region Data AAH 55H 88H Exit Secode Addr 555H AAAH 2AAH 555H 555H AAAH XXXH 4 Block Region Data AAH 55H 90H 00H Addr 555H AAAH 2AAH 555H 555H AAAH PA Program 4 Data AAH 55H A0H PD Addr 555H AAAH 2AAH 555H 555H AAAH Unlock Bypass 3 Data AAH 55H 20H Unlock Bypass Addr XXXH PA 2 Program Data A0H PD Unlock Bypass Addr XXXH XXXH 2 Reset Data 90H 00H Addr 555H AAAH 2AAH 555H 555H AAAH 555H AAAH 2AAH 555H 555H AAAH Chip Erase 6 Data AAH 55H 80H AAH 55H 10H Addr 555H AAAH 2AAH 555H 555H AAAH 555H AAAH 2AAH 555H BA Block Erase 6 Data AAH 55H 80H AAH 55H 30H Block Erase Addr XXXH 1 Suspend (4, 5) Data B0H Block Erase Addr XXXH 1 Resume Data 30H Addr 55H AAH CFI Query (6) 1 Data 98H 10 Revision 1.7 September, 2006
  11. 11. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Notes : 1. RA : Read Address, PA : Program Address, RD : Read Data, PD : Program Data DA : Dual Bank Address (A19 - A20), BA : Block Address (A12 - A20), X = Don’t care . 2. To terminate the Autoselect Mode, it is necessary to write Reset command to the register. 3. The 4th cycle data of Autoselect mode is output data. The 3rd and 4th cycle bank addresses of Autoselect mode must be same. 4. The Read / Program operations at non-erasing blocks and the autoselect mode are allowed in the Erase Suspend mode. 5. The Erase Suspend command is applicable only to the Block Erase operation. 6. Command is valid when the device is in read mode or Autoselect mode. 7. DQ8 - DQ15 are don’t care in command sequence, but RD and PD is excluded. 8. A11 - A20 are also don’t care, except for the case of special notice. Table 9. K8D3216U Autoselect Codes, (High Voltage Method) DQ8 to DQ15 A20 A11 A8 A5 DQ7 Description CE OE WE to to A9 to A6 to A1 A0 to BYTE BYTE A12 A10 A7 A2 DQ0 =VIH =VIL Manufacturer ID L L H DA X VID X L X L L X X ECH Device Code K8D3216UT L L H DA X VID X L X L H 22H X A0H (Top Boot Block) Device Code K8D3216UB L L H DA X VID X L X L H 22H X A2H (Bottom Boot Block) Block Protection 01H (Protected), L L H BA X VID X L X H L X X Verification 00H (Unprotected) Secode Block (2) L L H DA X VID X L X H H X X 80H (Factory locked), Indicator Bit (DQ7) 00H (Not factory locked) Notes : 1. L=Logic Low=VIL, H=Logic High=VIH, DA=Dual Bank Address, BA=Block Address, X=Don’t care. 2. Secode Block : Security Code Block. 11 Revision 1.7 September, 2006
  12. 12. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY DEVICE OPERATION Byte/Word Mode If the BYTE pin is set at logical "1" , the device is in word mode, DQ0-DQ15 are active. Otherwise the BYTE pin is set at logical "0" , the device is in byte mode, DQ0-DQ7 are active. DQ8-DQ14 are in the High-Z state and DQ15 pin is used as an input for the LSB (A-1) address pin. Read Mode The K8D3216U is controlled by Chip Enable (CE), Output Enable (OE) and Write Enable (WE). When CE and OE are low and WE is high, the data stored at the specified address location,will be the output of the device. The outputs are in high impedance state whenever CE or OE is high. Standby Mode The K8D3216U features Stand-by Mode to reduce power consumption. This mode puts the device on hold when the device is dese- lected by making CE high (CE = VIH). Refer to the DC characteristics for more details on stand-by modes. Output Disable The device outputs are disabled when OE is High (OE = VIH). The output pins are in high impedance state. Automatic Sleep Mode K8D3216U features Automatic Sleep Mode to minimize the device power consumption. Since the device typically draws 5µA of the current in Automatic Sleep Mode, this feature plays an extremely important role in battery-powered applications. When addresses remain steady for tAA+50ns, the device automatically activates the Automatic Sleep Mode. In the sleep mode, output data is latched and always available to the system. When addresses are changed, the device provides new data without wait time. tAA + 50ns Address Outputs Data Data Data Data Data Data Auto Sleep Mode Figure 1. Auto Sleep Mode Operation Autoselect Mode The K8D3216U offers the Autoselect Mode to identify manufacturer and device type by reading a binary code. The Autoselect Mode allows programming equipment to automatically match the device to be programmed with its corresponding programming algorithm. In addition, this mode allows the verification of the status of write protected blocks. This mode is used by two method. The one is high voltage method to be required VID (8.5V~12.5V) on address pin A9. When A9 is held at VID and the bank address or block address is asserted, the device outputs the valid data via DQ pins(see Table 9 and Figure 2). The rest of addresses except A0, A1 and A6 are Don′t Care. The other is autoselect command method that the autoselect code is accessible by the commamd sequence without VID. The manufacturer and device code may also be read via the command register. The Command Sequence is shown in Table 8 and Figure 3. The autoselect operation of block protect verification is initiated by first writing two unlock cycle. The third cycle must con- tain the bank address and autoselect command (90H). If Block address while (A6, A1, A0) = (0,1,0) is finally asserted on the address pin, it will produce a logical "1" at the device output DQ0 to indicate a write protected block or a logical "0" at the device output DQ0 to indicate a write unprotected block. To terminate the autoselect operation, write Reset command (F0H) into the command register. 12 Revision 1.7 September, 2006
  13. 13. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY VID V = VIH or VIL A9 A6,A1,A0* 00H 01H 22A0H DQ15-DQ0 ECH or 22A2H Manufacturer Device Code Return to Code (K8D3216U) Read Mode Note : The addresses other than A0 , A1 and A6 are Don′t care. Please refer to Table 9 for device code. Figure 2. Autoselect Operation ( by high voltage method ) WE A20∼A0(x16)/* 555H/ 2AAH/ 555H/ 00H/ 01H/ A20∼A-1(x8) AAAH 555H AAAH 00H 02H 22A0H DQ15∼DQ0 AAH 55H 90H ECH or F0H 22A2H Manufacturer Device Code Return to Code (K8D3216U) Read Mode Note : The 3rd Cycle and 4th Cycle address must include the same bank address. Please refer to Table 9 for device code. Figure 3. Autoselect Operation ( by command sequence method ) Write (Program/Erase) Mode The K8D3216U executes its program/erase operations by writing commands into the command register. In order to write the com- mands to the register, CE and WE must be low and OE must be high. Addresses are latched on the falling edge of CE or WE (which- ever occurs last) and the data are latched on the rising edge of CE or WE (whichever occurs first). The device uses standard microprocessor write timing. Program The K8D3216U can be programmed in units of a word or a byte. Programming is writing 0's into the memory array by executing the Internal Program Routine. In order to perform the Internal Program Routine, a four-cycle command sequence is necessary. The first two cycles are unlock cycles. The third cycle is assigned for the program setup command. In the last cycle, the address of the mem- ory location and the data to be programmed at that location are written. The device automatically generates adequate program pulses and verifies the programmed cell margin by the Internal Program Routine. During the execution of the Routine, the system is not required to provide further controls or timings. During the Internal Program Routine, commands written to the device will be ignored. Note that a hardware reset during a program operation will cause data corruption at the corresponding location. WE A20∼A0(x16)/ 555H/ 2AAH/ 555H/ Program A20∼A-1(x8) AAAH 555H AAAH Address Program DQ15-DQ0 AAH 55H A0H Data Program RY/BY Start Figure 4. Program Command Sequence 13 Revision 1.7 September, 2006
  14. 14. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Unlock Bypass The K8D3216U provides the unlock bypass mode to save its program time for program operation. The mode is invoked by the unlock bypass command sequence. Then, the unlock bypass program command sequence is required to program the device. Unlike the standard program command sequence that contains four bus cycles, the unlock bypass program command sequence comprises only two bus cycles. The unlock bypass mode is engaged by issuing the unlock bypass command sequence which is comprised of three bus cycles. Writ- ing first two unlock cycles is followed by a third cycle containing the unlock bypass command (20H). Once the device is in the unlock bypass mode, the unlock bypass program command sequence is necessary to program in this mode. The unlock bypass program command sequence is comprised of only two bus cycles; writing the unlock bypass program command (A0H) is followed by the pro- gram address and data. This command sequence is the only valid one for programming the device in the unlock bypass mode. The unlock bypass reset command sequence is the only valid command sequence to exit the unlock bypass mode. The unlock bypass reset command sequence consists of two bus cycles. The first cycle must contain the data (90H). The second cycle contains only the data (00H). Then, the device returns to the read mode. Chip Erase To erase a chip is to write 1′s into the entire memory array by executing the Internal Erase Routine. The Chip Erase requires six bus cycles to write the command sequence. The erase set-up command is written after first two "unlock" cycles. Then, there are two more write cycles prior to writing the chip erase command. The Internal Erase Routine automatically pre-programs and verifies the entire memory for an all zero data pattern prior to erasing. The automatic erase begins on the rising edge of the last WE or CE pulse in the command sequence and terminates when DQ7 is "1". After that the device returns to the read mode. WE A20∼A0(x16)/ 555H/ 2AAH/ 555H/ 555H 2AAH/ 555H/ A20∼A-1(x8) AAAH 555H AAAH AAAH 555H AAAH DQ15-DQ0 AAH 55H 80H AAH 55H 10H Chip Erase Start RY/BY Figure 5. Chip Erase Command Sequence Block Erase To erase a block is to write 1′s into the desired memory block by executing the Internal Erase Routine. The Block Erase requires six bus cycles to write the command sequence shown in Table 8. After the first two "unlock" cycles, the erase setup command (80H) is written at the third cycle. Then there are two more "unlock" cycles followed by the Block Erase command. The Internal Erase Routine automatically pre-programs and verifies the entire memory prior to erasing it. The block address is latched on the falling edge of WE or CE, while the Block Erase command is latched on the rising edge of WE or CE. Multiple blocks can be erased sequentially by writing the six bus-cycle operation in Figure 6. Upon completion of the last cycle for the Block Erase, additional block address and the Block Erase command (30H) can be written to perform the Multi-Block Erase. An 50µs (typical) "time window" is required between the Block Erase command writes. The Block Erase command must be written within the 50µs "time window", otherwise the Block Erase command will be ignored. The 50µs "time window" is reset when the falling edge of the WE occurs within the 50µs of "time window" to latch the Block Erase command. During the 50µs of "time window", any command other than the Block Erase or the Erase Suspend command written to the device will reset the device to read mode. After the 50µs of "time window", the Block Erase command will initiate the Internal Erase Routine to erase the selected blocks. Any Block Erase address and command following the exceeded "time window" may or may not be accepted. No other commands will be recognized except the Erase Suspend command during Block Erase operation. 14 Revision 1.7 September, 2006
  15. 15. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY WE A20∼A0(x16)/ 555H/ 2AAH/ 555H/ 555H/ 2AAH/ Block A20∼A-1(x8) AAAH 555H AAAH AAAH 555H Address DQ15-DQ0 AAH 55H 80H AAH 55H 30H Block Erase Start RY/BY Figure 6. Block Erase Command Sequence Erase Suspend / Resume The Erase Suspend command interrupts the Block Erase to read or program data in a block that is not being erased. The Erase Sus- pend command is only valid during the Block Erase operation including the time window of 50µs. The Erase Suspend command is not valid while the Chip Erase or the Internal Program Routine sequence is running. When the Erase Suspend command is written during a Block Erase operation, the device requires a maximum of 20µs to suspend the erase operation. But, when the Erase Suspend command is written during the block erase time window (50µs) , the device imme- diately terminates the block erase time window and suspends the erase operation. After the erase operation has been suspended, the device is availble for reading or programming data in a block that is not being erased. The system may also write the autoselect command sequence when the device is in the Erase Suspend mode. When the Erase Resume command is executed, the Block Erase operation will resume. When the Erase Suspend or Erase Resume command is executed, the addresses are in Don't Care state. WE A20∼A0(x16)/ 555H/ Block AAAH XXXH XXXH A20∼A-1(x8) Address DQ15-DQ0 AAH 30H B0H 30H Block Erase Command Sequence Block Erase Erase Erase Start Suspend Resume Figure 7. Erase Suspend/Resume Command Sequence 15 Revision 1.7 September, 2006
  16. 16. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Read While Write The K8D3216U provides dual bank memory architecture that divides the memory array into two banks. The device is capable of reading data from one bank and writing data to the other bank simultaneously. This is so called the Read While Write operation with dual bank architecture; this feature provides the capability of executing the read operation during Program/Erase or Erase-Suspend- Program operation. The Read While Write operation is prohibited during the chip erase operation. It is also allowed during erase operation when either single block or multiple blocks from same bank are loaded to be erased. It means that the Read While Write operation is prohibited when blocks from Bank1 and another blocks from Bank2 are loaded all together for the multi-block erase operation. Block Group Protection & Unprotection The K8D3216U feature hardware block group protection. This feature will disable both program and erase operations in any combi- nation of twenty five block groups of memory. Please refer to Tables 10 and 11. The block group protection feature is enabled using programming equipment at the user’s site. The device is shipped with all block groups unprotected. This feature can be hardware protected or unprotected. If a block is protected, program or erase command in the protected block will be ignored by the device. The protected block can only be read. This is useful method to preserve an important program data. The block group unprotection allows the protected blocks to be erased or programed. All blocks must be protected before unprotect oper- ation is executing. The block group protection and unprotection can be implemented by two methods. The first method needs the following conditions. DQ15/ DQ8/ DQ0/ Operation CE OE WE BYTE A9 A6 A1 A0 RESET A-1 DQ14 DQ7 Block Group Protect L H L X X L H L X X DIN VID Block Group Unprotect L H L X X H H L X X DIN VID Address must be inputted to the block group address (A12~A20) during block group protection operation. Please refer to Figure 9 (Algorithm) and Switching Waveforms of Block Group Protect & Unprotect Operations. The second method needs the following conditions in order to keep backward compatibility. Please refer to Figure 8. DQ15/ DQ8/ DQ0/ Operation CE OE WE BYTE A9 A6 A1 A0 RESET A-1 DQ14 DQ7 Block Group Protect L VID X VID L H L X X X H Block Group Unprotect L VID X VID H H L X X X H The K8D3216U needs the recovery time (20µs) from the rising edge of WE in order to execute its program, erase and read opera- tions. Block Group Protect:150µs 500ns Block Group Unprotect:500ms 500ns VID A9 VID Don't Care Don't Care OE WE Low Address Block Group Address* Notes : * Block Group Address is Don't Care during Block Group Unprotection. Figure 8. Block Group Protect Sequence (The second method) 16 Revision 1.7 September, 2006
  17. 17. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY START COUNT = 1 RESET=VID Wait 1µs First Write No Temporary Block Group Cycle=60h? Unprotect Mode Yes Yes Block Group Protection ? No Block Unprotect Block Protect Algorithm Algorithm No Yes Set up Block Group All Block Groups Block Group <i>, i= 0 address Protected ? Block Group Unprotect Block Group Protect: Write 60H Write 60H to Block with Group address with A6=1,A1=1 A6=0,A1=1 A0=0 A0=0 Wait 15ms Wait 150µs Reset COUNT=1 Verify Block Group Verify Block Group Unprotect:Write 40H to Protect:Write 40H to Block Group address Block Group address Increment with A6=1, Increment with A6=0, COUNT A1=1,A0=0 COUNT A1=1,A0=0 Read from Read from Block Group address Block Group address with A6=1, with A6=0, A1=1,A0=0 Set up next Block A1=1,A0=0 No Group address No COUNT No COUNT No =1000? Data=00h? Data=01h? =25? Yes Yes Yes Yes No Device failed Last Block Group Device failed Protect another verified ? Block Group? Yes Yes No Remove VID Remove VID from RESET from RESET Write RESET Write RESET command command END END Note : All blocks must be protected before unprotect operation is executing. Figure 9. Block Group Protection & Unprotection Algorithms 17 Revision 1.7 September, 2006
  18. 18. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Table 10. Flash Memory Block Group Address (Top Boot Block) Block Address Block Group Block A20 A19 A18 A17 A16 A15 A14 A13 A12 BGA0 0 0 0 0 0 0 X X X BA0 0 1 BGA1 0 0 0 0 1 0 X X X BA1 to BA3 1 1 BGA2 0 0 0 1 X X X X X BA4 to BA7 BGA3 0 0 1 0 X X X X X BA8 to BA11 BGA4 0 0 1 1 X X X X X BA12 to BA15 BGA5 0 1 0 0 X X X X X BA16 to BA19 BGA6 0 1 0 1 X X X X X BA20 to BA23 BGA7 0 1 1 0 X X X X X BA24 to BA27 BGA8 0 1 1 1 X X X X X BA28 to BA31 BGA9 1 0 0 0 X X X X X BA32 to BA35 BGA10 1 0 0 1 X X X X X BA36 to BA39 BGA11 1 0 1 0 X X X X X BA40 to BA43 BGA12 1 0 1 1 X X X X X BA44 to BA47 BGA13 1 1 0 0 X X X X X BA48 to BA51 BGA14 1 1 0 1 X X X X X BA52 to BA55 BGA15 1 1 1 0 X X X X X BA56 to BA59 0 0 BGA16 1 1 1 1 0 1 X X X BA60 to BA62 1 0 BGA17 1 1 1 1 1 1 0 0 0 BA63 BGA18 1 1 1 1 1 1 0 0 1 BA64 BGA19 1 1 1 1 1 1 0 1 0 BA65 BGA20 1 1 1 1 1 1 0 1 1 BA66 BGA21 1 1 1 1 1 1 1 0 0 BA67 BGA22 1 1 1 1 1 1 1 0 1 BA68 BGA23 1 1 1 1 1 1 1 1 0 BA69 BGA24 1 1 1 1 1 1 1 1 1 BA70 18 Revision 1.7 September, 2006
  19. 19. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Table 11. Flash Memory Block Group Address (Bottom Boot Block) Block Address Block Group Block A20 A19 A18 A17 A16 A15 A14 A13 A12 BGA0 0 0 0 0 0 0 0 0 0 BA0 BGA1 0 0 0 0 0 0 0 0 1 BA1 BGA2 0 0 0 0 0 0 0 1 0 BA2 BGA3 0 0 0 0 0 0 0 1 1 BA3 BGA4 0 0 0 0 0 0 1 0 0 BA4 BGA5 0 0 0 0 0 0 1 0 1 BA5 BGA6 0 0 0 0 0 0 1 1 0 BA6 BGA7 0 0 0 0 0 0 1 1 1 BA7 0 1 BGA8 0 0 0 0 1 0 X X X BA8 to BA10 1 1 BGA9 0 0 0 1 X X X X X BA11 to BA14 BGA10 0 0 1 0 X X X X X BA15 to BA18 BGA11 0 0 1 1 X X X X X BA19 to BA22 BGA12 0 1 0 0 X X X X X BA23 to BA26 BGA13 0 1 0 1 X X X X X BA27 to BA30 BGA14 0 1 1 0 X X X X X BA31 to BA34 BGA15 0 1 1 1 X X X X X BA35 to BA38 BGA16 1 0 0 0 X X X X X BA39 to BA42 BGA17 1 0 0 1 X X X X X BA43 to BA46 BGA18 1 0 1 0 X X X X X BA47 to BA50 BGA19 1 0 1 1 X X X X X BA51 to BA54 BGA20 1 1 0 0 X X X X X BA55 to BA58 BGA21 1 1 0 1 X X X X X BA59 to BA62 BGA22 1 1 1 0 X X X X X BA63 to BA66 0 0 BGA23 1 1 1 1 0 1 X X X BA67 to BA69 1 0 BGA24 1 1 1 1 1 1 X X X BA70 19 Revision 1.7 September, 2006
  20. 20. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Temporary Block Group Unprotect The protected blocks of the K8D3216U can be temporarily unprotected by applying high voltage (VID = 8.5V~12.5V) to the RESET pin. In this mode, previously protected blocks can be programmed or erased with the program or erase command routines. When the RESET pin goes high (RESET = VIH), all the previously protected blocks will be protected again. If the WP/ACC pin is asserted at VIL , the two outermost boot blocks remain protected. VID V = VIH or VIL RESET CE Program & Erase Operation WE at Protected Block Figure 10. Temporary Block Group Unprotect Sequence Write Protect (WP) The WP/ACC pin has two useful functions. The one is that certain boot block is protected by the hardware method not to use VID. The other is that program operation is accelerated to reduce the program time (Refer to Accelerated program Operation Paragraph). When the WP/ACC pin is asserted at VIL, the device can not perform program and erase operation in the two "outermost" 8K byte boot blocks independently of whether those blocks were protected or unprotected using the method described in "Block Group pro- tection/Unprotection". The write protected blocks can only be read. This is useful method to preserve an important program data. The two outermost 8K byte boot blocks are the two blocks containing the lowest addresses in a bottom-boot-configured device, or the two blocks containing the highest addresses in a top-boot-congfigured device. (K8D3216UT : BA69 and BA70, K8D3216UB : BA0 and BA1) When the WP/ACC pin is asserted at VIH, the device reverts to whether the two outermost 8K byte boot blocks were last set to be protected or unprotected. That is, block protection or unprotection for these two blocks depends on whether they were last protected or unprotected using the method described in "Block Group protection/unprotection". Recommend that the WP/ACC pin must not be in the state of floating or unconnected, or the device may be led to malfunction. Secode(Security Code) Block Region The Secode Block feature provides a Flash memory region to be stored unique and permanent identification code, that is, Electronic Serial Number (ESN), customer code and so on. This is primarily intended for customers who wish to use an Electronic Serial Num- ber (ESN) in the device with the ESN protected against modification. Once the Secode Block region is protected, any further modifi- cation of that region is impossible. This ensures the security of the ESN once the product is shipped to the field. The Secode Block is factory locked or customer lockable. Before the device is shipped, the factory locked Secode Block is written on the special code and it is protected. The Secode Indicator bit (DQ7) is permanently fixed at "1" and it is not changed. The customer lockable Secode Block is unprotected, therefore it is programmed and erased. The Secode Indicator bit (DQ7) of it is permanently fixed at "0" and it is not changed. But once it is protected, there is no procedure to unprotect and modify the Secode Block. The Secode Block region is 64K bytes in length and is accessed through a new command sequence (see Table 8). After the system has written the Enter Secode Block command sequence, the system may read the Secode Block region by using the same addresses of the boot blocks (8KBx8). The K8D3216UT occupies the address of the byte mode 3F0000H to 3FFFFFH (word mode 1F8000H to 1FFFFFH) and the K8D3216UB type occupies the address of the byte mode 000000H to 00FFFFH (word mode 000000H to 007FFFH). This mode of operation continues until the system issues the Exit Secode Block command sequence, or until power is removed from the device. On power-up, or following a hardware reset, the device reverts to read mode. 20 Revision 1.7 September, 2006
  21. 21. K8D3x16UTC / K8D3x16UBC NOR FLASH MEMORY Accelerated Program Operation Accelerated program operation reduces the program time. This is one of two functions provided by the WP/ACC pin. When the WP/ ACC pin is asserted as VHH, the device automatically enters the aforementioned Unlock Bypass mode, temporarily unprotecting any protected blocks, and reduces the program operation time. The system would use a two-cycle program command sequence as required by the Unlock Bypass mode. Removing VHH from the WP/ACC pin returns the device to normal operation. Recommend that the WP/ACC pin must not be asserted at VHH except accelerated program operation, or the device may be damaged. In addition, the WP/ACC pin must not be in the state of floating or unconnected, otherwise the device may be led to malfunc- tion. Software Reset The reset command provides that the bank is reseted to read mode or erase-suspend-read mode. The addresses are in Don't Care state. The reset command is vaild between the sequence cycles in an erase command sequence before erasing begins, or in a pro- gram command sequence before programming begins. This resets the bank in which was operating to read mode. if the device is be erasing or programming, the reset command is invalid until the operation is completed. Also, the reset command is valid between the sequence cycles in an autoselect command sequence. In the autoselect mode, the reset command returns the bank to read mode. If a bank entered the autoselect mode in the Erase Suspend mode, the reset command returns the bank to erase-suspend-read mode. If DQ5 is high on erase or program operation, the reset command return the bank to read mode or erase-suspend-read mode if the bank was in the Erase Suspend state. Hardware Reset The K8D3216U offers a reset feature by driving the RESET pin to VIL. The RESET pin must be kept low (VIL) for at least 500ns. When the RESET pin is driven low, any operation in progress will be terminated and the internal state machine will be reset to the standby mode after 20µs. If a hardware reset occurs during a program operation, the data at that particular location will be lost. Once the RESET pin is taken high, the device requires 200ns of wake-up time until outputs are valid for read access. Also, note that all the data output pins are tri-stated for the duration of the RESET pulse. The RESET pin may be tied to the system reset pin. If a system reset occurs during the Internal Program and Erase Routine, the device will be automatically reset to the read mode ; this will enable the systems microprocessor to read the boot-up firmware from the Flash memory. Power-up Protection To avoid initiation of a write cycle during Vcc Power-up, RESET low must be asserted during power-up. After RESET goes high, the device is reset to the read mode. Low Vcc Write Inhibit To avoid initiation of a write cycle during Vcc power-up and power-down, a write cycle is locked out for Vcc less than 1.8V. If Vcc < VLKO (Lock-Out Voltage), the command register and all internal program/erase circuits are disabled. Under this condition the device will reset itself to the read mode. Subsequent writes will be ignored until the Vcc level is greater than VLKO. It is the user′s responsi- bility to ensure that the control pins are logically correct to prevent unintentional writes when Vcc is above 1.8V. Write Pulse Glitch Protection Noise pulses of less than 5ns(typical) on CE, OE, or WE will not initiate a write cycle. Logical Inhibit Writing is inhibited under any one of the following conditions : OE = VIL, CE = VIH or WE = VIH. To initiate a write, CE and WE must be "0", while OE is "1". Commom Flash Memory Interface Common Flash Momory Interface is contrived to increase the compatibility of host system software. It provides the specific informa- tion of the device, such as memory size, byte/word configuration, and electrical features. Once this information has been obtained, the system software will know which command sets to use to enable flash writes, block erases, and control the flash component. When the system writes the CFI command(98H) to address 55H in word mode(or address AAH in byte mode), the device enters the CFI mode. And then if the system writes the address shown in Table 12, the system can read the CFI data. Query data are always presented on the lowest-order data outputs(DQ0-7) only. In word(x16) mode, the upper data outputs(DQ8-15) is 00h. To terminate this operation, the system must write the reset command. 21 Revision 1.7 September, 2006

×