0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
S29PL129N80GAI002

S29PL129N80GAI002

  • 厂商:

    SPANSION(飞索)

  • 封装:

  • 描述:

    S29PL129N80GAI002 - 256/128/128 Mb (16/8/8 M x 16-Bit) CMOS, 3.0 Volt-only Simultaneous Read/Write, ...

  • 数据手册
  • 价格&库存
S29PL129N80GAI002 数据手册
S29PL-N MirrorBit™ Flash Family 29PL256N, S29PL127N, S29PL129N, 256/128/128 Mb (16/8/8 M x 16-Bit) CMOS, 3.0 Volt-only Simultaneous Read/Write, Page-Mode Flash Memory Data Sheet PRELIMINARY Notice to Readers: This document indicates states the current technical specifications regarding the Spansion product(s) described herein. The Preliminary status of this document indicates that a product qualification has been completed, and that initial production has begun. Due to the phases of the manufacturing process that require maintaining efficiency and quality, this document may be revised by subsequent versions or modifications due to changes in technical specifications. Publication Number S29PL-N_00 Revision A Amendment 4 Issue Date November 23, 2005 Preliminary Notice On Data Sheet Designations Spansion LLC issues data sheets with Advance Information or Preliminary designations to advise readers of product information or intended specifications throughout the product life cycle, including development, qualification, initial production, and full production. In all cases, however, readers are encouraged to verify that they have the latest information before finalizing their design. The following descriptions of Spansion data sheet designations are presented here to highlight their presence and definitions. Advance Information The Advance Information designation indicates that Spansion LLC is developing one or more specific products, but has not committed any design to production. Information presented in a document with this designation is likely to change, and in some cases, development on the product may discontinue. Spansion LLC therefore places the following conditions upon Advance Information content: “This document contains information on one or more products under development at Spansion LLC. The information is intended to help you evaluate this product. Do not design in this product without contacting the factory. Spansion LLC reserves the right to change or discontinue work on this proposed product without notice.” Preliminary The Preliminary designation indicates that the product development has progressed such that a commitment to production has taken place. This designation covers several aspects of the product life cycle, including product qualification, initial production, and the subsequent phases in the manufacturing process that occur before full production is achieved. Changes to the technical specifications presented in a Preliminary document should be expected while keeping these aspects of production under consideration. Spansion places the following conditions upon Preliminary content: “This document states the current technical specifications regarding the Spansion product(s) described herein. The Preliminary status of this document indicates that product qualification has been completed, and that initial production has begun. Due to the phases of the manufacturing process that require maintaining efficiency and quality, this document may be revised by subsequent versions or modifications due to changes in technical specifications.” Combination Some data sheets will contain a combination of products with different designations (Advance Information, Preliminary, or Full Production). This type of document will distinguish these products and their designations wherever necessary, typically on the first page, the ordering information page, and pages with DC Characteristics table and AC Erase and Program table (in the table notes). The disclaimer on the first page refers the reader to the notice on this page. Full Production (No Designation on Document) When a product has been in production for a period of time such that no changes or only nominal changes are expected, the Preliminary designation is removed from the data sheet. Nominal changes may include those affecting the number of ordering part numbers available, such as the addition or deletion of a speed option, temperature range, package type, or VIO range. Changes may also include those needed to clarify a description or to correct a typographical error or incorrect specification. Spansion LLC applies the following conditions to documents in this category: “This document states the current technical specifications regarding the Spansion product(s) described herein. Spansion LLC deems the products to have been in sufficient production volume such that subsequent versions of this document are not expected to change. However, typographical or specification corrections, or modifications to the valid combinations offered may occur.” Questions regarding these document designations may be directed to your local AMD or Fujitsu sales office. ii S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 S29PL-N MirrorBit™ Flash Family S29PL256N, S29PL127N, S29PL129N, 256/128/128 Mb (16/8/8 M x 16-Bit) CMOS, 3.0 Volt-only Simultaneous Read/Write, Page-Mode Flash Memory Data Sheet PRELIMINARY General Description The Spansion S29PL-N is the latest generation 3.0-Volt page mode read family fabricated using the 110 nm MirrorbitTM Flash process technology. These 8-word page-mode Flash devices are capable of performing simultaneous read and write operations with zero latency on two separate banks. These devices offer fast page access times of 25 to 30 ns, with corresponding random access times of 65 ns, 70 ns, and 80 ns respectively, allowing high speed microprocessors to operate without wait states. The S29PL129N device offers the additional feature of dual chip enable inputs (CE1# and CE2#) that allow each half of the memory space to be controlled separately. Distinctive Characteristics Architectural Advantages 32-Word Write Buffer Dual Chip Enable Inputs (only for S29PL129N) — Two CE# inputs control selection of each half of the memory space Single Power Supply Operation — Full Voltage range of 2.7 – 3.6 V read, erase, and program operations for battery-powered applications — Voltage range of 2.7 – 3.1 V valid for PL-N MCP products Simultaneous Read/Write Operation — Data can be continuously read from one bank while executing erase/program functions in another bank — Zero latency switching from write to read operations 4-Bank Sector Architecture with Top and Bottom Boot Blocks 256-Word Secured Silicon Sector Region — Up to 128 factory-locked words — Up to 128 customer-lockable words Manufactured on 0.11 µm Process Technology Data Retention of 20 years Typical Cycling Endurance of 100,000 Cycles per Sector Typical Hardware Features WP#/ACC (Write Protect/Acceleration) Input — At VIL, hardware level protection for the first and last two 32 Kword sectors. — At VIH, allows the use of DYB/PPB sector protection — At VHH, provides accelerated programming in a factory setting Dual Boot and No Boot Options Low VCC Write Inhibit Security Features Persistent Sector Protection — A command sector protection method to lock combinations of individual sectors to prevent program or erase operations within that sector — Sectors can be locked and unlocked in-system at VCC level Password Sector Protection — A sophisticated sector protection method locks combinations of individual sectors to prevent program or erase operations within that sector using a user defined 64-bit password Performance Characteristics Read Access Times (@ 30 pF, Industrial Temp.) Random Access Time, ns (tACC) Page Access Time, ns (tPACC) Max CE# Access Time, ns (tCE) Max OE# Access Time, ns (tOE) 65 25 65 25 70 30 70 30 80 30 80 30 Typical Program & Erase Times (typical values) (See Note) Typical Word Typical Effective Word (32 words in buffer) Accelerated Write Buffer Program Typical Sector Erase Time (32-Kword Sector) Typical Sector Erase Time (128-Kword Sector) 40 µs 9.4 µs 6 µs 300 ms 1.6 s Note: : Typical program and erase times assume the following Current Consumption (typical values) 8-Word Page Read Simultaneous Read/Write Program/Erase Standby 6 mA 65 mA 25 mA 20 µA S29PL-N 256 129 127 Package Options VBH084 8.0 x 11.6 mm, 84-ball conditions: 25°C, 3.0 V VCC, 10,000 cycles; checkerboard data pattern. VBH064 8.0 x 11.6 mm, 64-ball LAA064 11 x 13 mm, 64-ball Fortified BGA Publication Number S29PL-N_00 Revision A Amendment 4 Issue Date November 23, 2005 Preliminary Contents 1 2 3 4 Ordering Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Input/Output Descriptions and Logic Symbols . . . . . . . . . . . . . . . . . . . . . . 7 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Connection Diagrams/Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . 9 4.1 Special Handling Instructions for FBGA Package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 4.2 VBH084, 8.0 x 11.6 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 4.2.1 Connection Diagram – S29PL256N MCP Compatible Package. . . . . . . . . . . . . . . . . .9 4.2.2 Physical Dimensions – VBH084, 8.0 x 11.6 mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4.3 VBH064, 8 x 11.6 mm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.3.1 Connection Diagram – S29PL127N MCP Compatible Package . . . . . . . . . . . . . . . . . 11 4.3.2 Connection Diagram – S29PL129N MCP Compatible Package . . . . . . . . . . . . . . . . . 12 4.3.3 Physical Dimensions – VBH064, 8 x 11.6 mm – S29PL-N . . . . . . . . . . . . . . . . . . . . . . 13 4.3.4 Connection Diagram – S29PL-N Fortified Ball Grid Array Package . . . . . . . . . . . . . 14 4.3.5 Physical Dimensions – LAA064, 11 x 13 mm – S29PL-N . . . . . . . . . . . . . . . . . . . . . . . 15 4.4 MCP Look-Ahead Connection Diagram/Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . 16 4.4.1 For All Page Mode MCPs Comprised of Code Flash + (p)SRAM + Data Flash . . . . . . 16 Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Product Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6.1 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Device Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.1 Device Operation Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.1.1 Dual Chip Enable Device Description and Operation (PL129N Only) . . . . . . . . . . . 21 7.2 Asynchronous Read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 7.2.1 Non-Page Random Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 7.2.2 Page Mode Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 7.3 Autoselect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 7.4 Program/Erase Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 7.4.1 Single Word Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 7.4.2 Write Buffer Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 7.4.3 Sector Erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 7.4.4 Chip Erase Command Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 7.4.5 Erase Suspend/Erase Resume Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.4.6 Program Suspend/Program Resume Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 7.4.7 Accelerated Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.4.8 Unlock Bypass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 7.4.9 Write Operation Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 7.5 Simultaneous Read/Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 7.6 Writing Commands/Command Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 7.7 Hardware Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 7.8 Software Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 Advanced Sector Protection/Unprotection . . . . . . . . . . . . . . . . . . . . . . . . 48 8.1 Lock Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 8.2 Persistent Protection Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 8.3 Dynamic Protection Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 8.4 Persistent Protection Bit Lock Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 8.5 Password Protection Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 8.6 Advanced Sector Protection Software Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 8.7 Hardware Data Protection Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 8.7.1 WP# Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 8.7.2 Low VCC Write Inhibit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 8.7.3 Write Pulse Glitch Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 8.7.4 Power-Up Write Inhibit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 Power Conservation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 5 6 7 8 9 2 Preliminary 10 11 12 13 14 9.1 Standby Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 9.2 Automatic Sleep Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 9.3 Hardware RESET# Input Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 9.4 Output Disable (OE#). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 Secured Silicon Sector Flash Memory Region . . . . . . . . . . . . . . . . . . . . . . 56 10.1 Factory Secured Silicon Sector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 10.2 Customer Secured Silicon Sector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 10.3 Secured Silicon Sector Entry and Exit Command Sequences . . . . . . . . . . . . . . . . . . . . . . . .57 Electrical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 11.1 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 11.2 Operating Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 11.3 Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 11.4 Key to Switching Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 11.5 Switching Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 11.6 VCC Power Up. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 11.7 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 11.7.1 DC Characteristics (VCC = 2.7 V to 3.6 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 11.7.2 DC Characteristics (VCC = 2.7 V to 3.1 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 11.8 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 11.8.1 Read Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 11.8.2 Read Operation Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 11.8.3 Hardware Reset (RESET#) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 11.8.4 Erase/Program Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 11.8.5 Erase and Programming Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 11.8.6 BGA Ball Capacitance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73 12.1 Common Flash Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 Commonly Used Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Revisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 3 Preliminary Tables Table 2.1 Table 6.1 Table 6.2 Table 6.3 Table 7.1 Table 7.2 Table 7.3 Table 7.4 Table 7.5 Table 7.6 Table 7.7 Table 7.8 Table 7.9 Input/Output Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 PL256N Sector and Memory Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 PL127N Sector and Memory Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 PL129N Sector and Memory Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Device Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Dual Chip Enable Device Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Word Selection within a Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Autoselect Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Autoselect Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Autoselect Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Single Word Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Write Buffer Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Sector Erase. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 7.10 Chip Erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 7.11 Erase Suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 7.12 Erase Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 7.13 Program Suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 7.14 Program Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 7.15 Unlock Bypass Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 7.16 Unlock Bypass Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 7.17 Unlock Bypass Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 7.18 Write Operation Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Table 7.19 Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Table 8.1 Table 8.2 Table 10.1 Lock Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Sector Protection Schemes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Secured Silicon Sector Addresses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Table 10.2 Secured Silicon Sector Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Table 10.3 Secured Silicon Sector Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Table 10.4 Secured Silicon Sector Exit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Table 11.1 Test Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Table 12.1 Memory Array Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Table 12.2 Sector Protection Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Table 12.3 CFI Query Identification String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Table 12.4 System Interface String. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Table 12.5 Device Geometry Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Table 12.6 Primary Vendor-Specific Extended Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 4 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary Figures Figure 2.1 Figure 4.1 Figure 4.2 Figure 4.3 Figure 4.4 Figure 4.5 Figure 4.6 Figure 4.7 Figure 4.8 Figure 7.1 Figure 7.2 Figure 7.3 Figure 7.4 Figure 7.5 Figure 7.6 Figure 8.1 Figure 8.2 Figure 11.1 Figure 11.2 Figure 11.3 Figure 11.4 Figure 11.5 Figure 11.6 Figure 11.7 Figure 11.8 Figure 11.9 Logic Symbols – PL256N, PL129N, and PL127N .........................................................7 Connection Diagram – 84-ball Fine-Pitch Ball Grid Array (S29PL256N)..........................9 Physical Dimensions – 84-ball Fine-Pitch Ball Grid Array (S29PL256N)........................ 10 Connection Diagram – 64-Ball Fine-Pitch Ball Grid Array (S29PL127N) ....................... 11 Connection Diagram – 64-Ball Fine-Pitch Ball Grid Array (S29PL129N) ....................... 12 Physical Dimensions – 64-Ball Fine-Pitch Ball Grid Array (S29PL-N)...........................................13 Connection Diagram – 64-Ball Fine-Pitch Ball Grid Array (S29PL127N, S29PL256N) ............14 Physical Dimensions – 64-Ball Fortified Ball Grid Array (S29PL-N)..............................................15 MCP Look-Ahead Diagram .................................................................................... 16 Single Word Program Operation ............................................................................ 27 Write Buffer Programming Operation ..................................................................... 30 Sector Erase Operation ........................................................................................ 32 Write Operation Status Flowchart .......................................................................... 39 Simultaneous Operation Block Diagram for S29PL256N and S29PL127N ..................... 43 Simultaneous Operation Block Diagram for S29PL129N ............................................ 44 Advanced Sector Protection/Unprotection ............................................................... 48 Lock Register Program Algorithm........................................................................... 52 Maximum Negative Overshoot Waveform ............................................................... 59 Maximum Positive Overshoot Waveform ................................................................. 59 Test Setup ......................................................................................................... 60 Input Waveforms and Measurement Levels............................................................. 61 VCC Power-Up Diagram ........................................................................................ 61 Read Operation Timings ....................................................................................... 64 Page Read Operation Timings ............................................................................... 65 Reset Timings..................................................................................................... 65 Program Operation Timings .................................................................................. 67 Figure 11.10 Accelerated Program Timing Diagram .................................................................... 67 Figure 11.11 Chip/Sector Erase Operation Timings ..................................................................... 68 Figure 11.12 Back-to-back Read/Write Cycle Timings ................................................................. 68 Figure 11.13 Data# Polling Timings (During Embedded Algorithms).............................................. 69 Figure 11.14 Toggle Bit Timings (During Embedded Algorithms)................................................... 69 Figure 11.15 DQ2 vs. DQ6 ...................................................................................................... 70 November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 5 Preliminary 1 Ordering Information The ordering part number is formed by a valid combination of the following: S29PL 256 N 65 GA W W0 0 PACKING TYPE 0 = Tray 2 = 7-inch Tape and Reel 3 = 13-inch Tape and Reel MODEL NUMBER (VCC Range) W0 = 2.7 – 3.1 V 00 = 2.7 – 3.6 V TEMPERATURE RANGE W = Wireless (–25°C to +85°C) I = Industrial (–40°C to +85°C) PACKAGE TYPE AND MATERIAL FA = Fortified BGA, Lead (Pb)-free Compliant package FF = Fortified BGA, Lead (Pb)-free package GA = Very Thin Fine-Pitch MCP-compatible BGA, Lead (Pb)-free Compliant Package GF = Very Thin Fine-Pitch MCP-compatible BGA, Lead (Pb)-free Package SPEED OPTION 65 = 65 ns 70 = 70 ns 80 = 80 ns PROCESS TECHNOLOGY N = 110 nm MirrorBit™ Technology FLASH DENSITY 256 = 256 Mb 129 = 128 Mb (Dual CE#) 127 = 128 Mb (Single CE#) DEVICE FAMILY S29PL = 3.0 Volt-only Simultaneous Read/Write, Page Mode Flash Memory Valid Combinations Base Ordering Part Number S29PL256N S29PL127N S29PL129N S29PL256N, S29PL127N 65, 70 GAW, GFW W0 Speed Option Package Type, Material, & Temperature Range Model Number Packing Type 0, 2, 3 (Note 1) 0, 2, 3 (Note 1) VIO Range Package Type (Note 2) VBH084 8.0 x 11.6 mm 84-ball MCP-Compatible (FBGA) VBH064 8.0 x 11.6 mm 64-ball MCP-Compatible (FBGA) LAA064 11x13 mm 64-Ball (Fortified BGA) 2.7 – 3.1 V 80 FAW, FFW 00 2.7 – 3.6 V Notes: 1. 2. Type 0 is standard. Specify other options as required. BGA package marking omits leading S29 and packing type designator from ordering part number. Valid Combinations Valid Combinations list configurations planned to be supported in volume for this device. Consult your local sales office to confirm availability of specific valid combinations and to check on newly released combinations. 6 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 2 Input/Output Descriptions and Logic Symbols Table 2.1 identifies the input and output package connections provided on the device. Table 2.1 Symbol Amax – A0 DQ15 – DQ0 CE# OE# WE# VSS NC I/O Input Input Input Supply Not connected Input/Output Descriptions Description Type Input Address bus 16-bit data inputs/outputs/float Chip Enable input Output Enable input Write Enable Device ground Pin Not Connected Internally RY/BY# Output Ready/Busy output and open drain. When RY/BY#= VIH, the device is ready to accept read operations and commands. When RY/BY#= VOL, the device is either executing an embedded algorithm or the device is executing a hardware reset operation. Device Power Supply Hardware reset pin Chip Enable inputs for S29PL129 device VCC RESET# CE1#, CE2# Supply Input Input max +1 Amax–A0 CE# OE# WE# WP#/ACC RESET# VCC RY/BY# DQ15 – DQ0 16 22 A21 – A0 CE1# CE2# OE# WE# WP#/ACC RESET# VCC RY/BY# DQ15 – DQ0 16 Notes: 1. Amax = 23 for the PL256N and 22 for the PL127N. Logic Symbol – PL256N and PL127N Logic Symbol – PL129N Figure 2.1 Logic Symbols – PL256N, PL129N, and PL127N November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 7 Preliminary 3 Block Diagram DQ15–DQ0 RY/BY# (See Note) VCC VSS Sector Switches Input/Output Buffers Erase Voltage Generator WE# State Control Command Register PGM Voltage Generator RESET# CE# OE# Chip Enable Output Enable Logic Data Latch Amax – A3 Address Latch VCC Detector Timer Y-Decoder Y-Gating X-Decoder Cell Matrix A2–A0 Notes: 1. 2. 3. RY/BY# is an open drain output. Amax = A23 (PL256N), A22 (PL127N), A21 (PL129N). PL129N has two CE# pins CE1# and CE2#. 8 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 4 4.1 Connection Diagrams/Physical Dimensions This section contains the I/O designations and package specifications for the S29PL256N. Special Handling Instructions for FBGA Package Special handling is required for Flash Memory products in FBGA packages. Flash memory devices in FBGA packages may be damaged if exposed to ultrasonic cleaning methods. The package and/or data integrity may be compromised if the package body is exposed to temperatures above 150°C for prolonged periods of time. 4.2 VBH084, 8.0 x 11.6 mm 4.2.1 Connection Diagram – S29PL256N MCP Compatible Package A1 NC B2 RFU C2 RFU D2 A3 E2 A2 F2 A1 G2 A0 H2 CE# J2 RFU K2 RFU L2 RFU M1 NC B3 RFU C3 A7 D3 A6 E3 A5 F3 A4 G3 VSS H3 OE# J3 DQ0 K3 DQ8 L3 RFU B4 RFU C4 RFU D4 RFU E4 A18 F4 A17 G4 DQ1 H4 DQ9 J4 DQ10 K4 DQ2 L4 RFU B5 RFU C5 WP#/ACC D5 RST# E5 RY/BY# F5 RFU G5 RFU H5 DQ3 J5 VCC K5 DQ11 L5 VCC B6 RFU C6 WE# D6 RFU E6 A20 F6 A23 G6 RFU H6 DQ4 J6 RFU K6 RFU L6 RFU B7 RFU C7 A8 D7 A19 E7 A9 F7 A10 G7 DQ6 H7 DQ13 J7 DQ12 K7 DQ5 L7 RFU B8 RFU C8 A11 D8 A12 E8 A13 F8 A14 G8 RFU H8 DQ15 J8 DQ7 K8 DQ14 L8 RFU B9 RFU C9 RFU D9 A15 E9 A21 F9 A22 G9 A16 H9 RFU J9 VSS K9 RFU L9 RFU A10 NC Legend Reserved for Future Use M10 NC Notes: 1. 2. Top view—balls facing down. Recommended for wireless applications Figure 4.1 Connection Diagram – 84-ball Fine-Pitch Ball Grid Array (S29PL256N) November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 9 Preliminary 4.2.2 Physical Dimensions – VBH084, 8.0 x 11.6 mm 0.05 C (2X) D A D1 e 10 9 e 8 7 6 7 SE E1 E 5 4 3 2 1 M L K J H G F E D C B A A1 CORNER A1 CORNER INDEX MARK B 10 0.05 C (2X) 6 SD φ 0.08 M C φ 0.15 M C A B 7 NXφb TOP VIEW BOTTOM VIEW A A1 SEATING PLANE A2 0.10 C C 0.08 C SIDE VIEW NOTES: PACKAGE JEDEC VBH 084 N/A 11.60 mm x 8.00 mm NOM PACKAGE SYMBOL A A1 A2 D E D1 E1 MD ME N φb e SD / SE 0.33 MIN --0.18 0.62 NOM ------11.60 BSC. 8.00 BSC. 8.80 BSC. 7.20 BSC. 12 10 84 --0.80 BSC. 0.40 BSC. (A2-A9, B10-L10, M2-M9, B1-L1) 0.43 MAX 1.00 --0.76 NOTE OVERALL THICKNESS BALL HEIGHT BODY THICKNESS BODY SIZE BODY SIZE BALL FOOTPRINT BALL FOOTPRINT ROW MATRIX SIZE D DIRECTION ROW MATRIX SIZE E DIRECTION TOTAL BALL COUNT BALL DIAMETER BALL PITCH SOLDER BALL PLACEMENT DEPOPULATED SOLDER BALLS 6 7 1. DIMENSIONING AND TOLERANCING PER ASME Y14.5M-1994. 2. ALL DIMENSIONS ARE IN MILLIMETERS. 3. BALL POSITION DESIGNATION PER JESD 95-1, SPP-010 (EXCEPT AS NOTED). 4. e REPRESENTS THE SOLDER BALL GRID PITCH. 5. SYMBOL "MD" IS THE BALL ROW MATRIX SIZE IN THE "D" DIRECTION. SYMBOL "ME" IS THE BALL COLUMN MATRIX SIZE IN THE "E" DIRECTION. N IS THE TOTAL NUMBER OF SOLDER BALLS. DIMENSION "b" IS MEASURED AT THE MAXIMUM BALL DIAMETER IN A PLANE PARALLEL TO DATUM C. SD AND SE ARE MEASURED WITH RESPECT TO DATUMS A AND B AND DEFINE THE POSITION OF THE CENTER SOLDER BALL IN THE OUTER ROW. WHEN THERE IS AN ODD NUMBER OF SOLDER BALLS IN THE OUTER ROW PARALLEL TO THE D OR E DIMENSION, RESPECTIVELY, SD OR SE = 0.000. WHEN THERE IS AN EVEN NUMBER OF SOLDER BALLS IN THE OUTER ROW, SD OR SE = e/2 8. NOT USED. 9. "+" INDICATES THE THEORETICAL CENTER OF DEPOPULATED BALLS. 10 A1 CORNER TO BE IDENTIFIED BY CHAMFER, LASER OR INK MARK, METALLIZED MARK INDENTATION OR OTHER MEANS. 3339 \ 16-038.25b Note: Recommended for wireless applications Figure 4.2 Physical Dimensions – 84-ball Fine-Pitch Ball Grid Array (S29PL256N) 10 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 4.3 VBH064, 8 x 11.6 mm 4.3.1 Connection Diagram – S29PL127N MCP Compatible Package A1 NC B5 RFU C3 A7 D2 A3 E2 A2 F2 A1 G2 A0 H2 CE1# J2 RFU D3 A6 E3 A5 F3 A4 G3 VSS H3 OE# J3 DQ0 K3 DQ8 C4 RFU D4 RFU E4 A18 F4 A17 G4 DQ1 H4 DQ9 J4 DQ10 K4 DQ2 H5 DQ3 J5 VCC K5 DQ11 L5 RFU M1 NC H6 DQ4 J6 RFU K6 RFU L6 RFU C5 WP/ACC D5 RST# E5 RY/BY# B7 RFU C6 WE# D6 RFU E6 A20 C7 A8 D7 A19 E7 A9 F7 A10 G7 DQ6 H7 DQ13 J7 DQ12 K7 DQ5 C8 A11 D8 A12 E8 A13 F8 A14 G8 RFU H8 DQ15 J8 DQ7 K8 DQ14 D9 A15 E9 A21 F9 A22 G9 A16 H2 RFU J9 VSS A10 NC Legend Reserved for Future Use No Connection M10 NC Notes: 1. 2. Top view—balls facing down. Recommended for wireless applications Figure 4.3 Connection Diagram – 64-Ball Fine-Pitch Ball Grid Array (S29PL127N) November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 11 Preliminary 4.3.2 Connection Diagram – S29PL129N MCP Compatible Package A1 NC B5 RFU C3 A7 D2 A3 E2 A2 F2 A1 G2 A0 H2 CE1# J2 RFU D3 A6 E3 A5 F3 A4 G3 VSS H3 OE# J3 DQ0 K3 DQ8 C4 RFU D4 RFU E4 A18 F4 A17 G4 DQ1 H4 DQ9 J4 DQ10 K4 DQ2 H5 DQ3 J5 VCC K5 DQ11 L5 RFU M1 NC H6 DQ4 J6 RFU K6 RFU L6 RFU C5 WP/ACC D5 RST# E5 RY/BY# B7 RFU C6 WE# D6 RFU E6 A20 C7 A8 D7 A19 E7 A9 F7 A10 G7 DQ6 H7 DQ13 J7 DQ12 K7 DQ5 C8 A11 D8 A12 E8 A13 F8 A14 G8 RFU H8 DQ15 J8 DQ7 K8 DQ14 D9 A15 E9 A21 F9 CE2# G9 A16 H2 RFU J9 VSS A10 NC Legend Reserved for Future Use No Connection M10 NC Notes: 1. 2. Top view—balls facing down. Recommended for wireless applications Figure 4.4 Connection Diagram – 64-Ball Fine-Pitch Ball Grid Array (S29PL129N) 12 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 4.3.3 Physical Dimensions – VBH064, 8 x 11.6 mm – S29PL-N 0.05 C (2X) D A D1 e 10 9 e 8 7 6 7 SE E1 E 5 4 3 2 1 M L K J H G F E D C B A A1 CORNER A1 CORNER INDEX MARK B 10 0.05 C (2X) 6 SD φ 0.08 M C φ 0.15 M C A B 7 NXφb TOP VIEW BOTTOM VIEW A A1 SEATING PLANE A2 0.10 C C 0.08 C SIDE VIEW NOTES: PACKAGE JEDEC VBH 064 N/A 11.60 mm x 8.00 mm NOM PACKAGE SYMBOL A A1 A2 D E D1 E1 MD ME N φb e SD / SE 0.33 MIN --0.18 0.62 NOM ------11.60 BSC. 8.00 BSC. 8.80 BSC. 7.20 BSC. 12 10 64 --0.80 BSC. 0.40 BSC. (A2-9,B1-4,B7-10,C1-K1, M2-9,C10-K10,L1-4,L7-10, G5-6,F5-6) 0.43 MAX 1.00 --0.76 NOTE OVERALL THICKNESS BALL HEIGHT BODY THICKNESS BODY SIZE BODY SIZE BALL FOOTPRINT BALL FOOTPRINT ROW MATRIX SIZE D DIRECTION ROW MATRIX SIZE E DIRECTION TOTAL BALL COUNT BALL DIAMETER BALL PITCH SOLDER BALL PLACEMENT DEPOPULATED SOLDER BALLS 6 7 1. DIMENSIONING AND TOLERANCING PER ASME Y14.5M-1994. 2. ALL DIMENSIONS ARE IN MILLIMETERS. 3. BALL POSITION DESIGNATION PER JESD 95-1, SPP-010 (EXCEPT AS NOTED). 4. e REPRESENTS THE SOLDER BALL GRID PITCH. 5. SYMBOL "MD" IS THE BALL ROW MATRIX SIZE IN THE "D" DIRECTION. SYMBOL "ME" IS THE BALL COLUMN MATRIX SIZE IN THE "E" DIRECTION. N IS THE TOTAL NUMBER OF SOLDER BALLS. DIMENSION "b" IS MEASURED AT THE MAXIMUM BALL DIAMETER IN A PLANE PARALLEL TO DATUM C. SD AND SE ARE MEASURED WITH RESPECT TO DATUMS A AND B AND DEFINE THE POSITION OF THE CENTER SOLDER BALL IN THE OUTER ROW. WHEN THERE IS AN ODD NUMBER OF SOLDER BALLS IN THE OUTER ROW PARALLEL TO THE D OR E DIMENSION, RESPECTIVELY, SD OR SE = 0.000. WHEN THERE IS AN EVEN NUMBER OF SOLDER BALLS IN THE OUTER ROW, SD OR SE = e/2 8. NOT USED. 9. "+" INDICATES THE THEORETICAL CENTER OF DEPOPULATED BALLS. 10 A1 CORNER TO BE IDENTIFIED BY CHAMFER, LASER OR INK MARK, METALLIZED MARK INDENTATION OR OTHER MEANS. 3330 \ 16-038.25b Note: Recommended for wireless applications Figure 4.5 Physical Dimensions – 64-Ball Fine-Pitch Ball Grid Array (S29PL-N) November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 13 Preliminary 4.3.4 Connection Diagram – S29PL-N Fortified Ball Grid Array Package A8 NC A7 A13 A6 A9 A5 WE# A4 B8 A22 B7 A12 B6 A8 B5 RESET# B4 C8 A23 C7 A14 C6 A10 C5 A21 C4 A18 C3 A6 C2 A2 C1 NC D8 VCC D7 A15 D6 A11 D5 A19 D4 A20 D3 A5 D2 A1 D1 NC E8 VSS E7 A16 E6 DQ7 E5 DQ5 E4 DQ2 E3 DQ0 E2 A0 E1 NC F8 NC F7 RFU F6 DQ14 F5 DQ12 F4 DQ10 F3 DQ8 F2 CE# F1 RFU G8 NC G7 DQ15 G6 DQ13 G5 VCC G4 DQ11 G3 DQ9 G2 OE# G1 NC H8 NC H7 VSS H6 DQ6 H5 DQ4 H4 DQ3 H3 DQ1 H2 VSS H1 NC RY/BY# WP#/ACC A3 A7 A2 A3 A1 NC B3 A17 B2 A4 B1 NC Notes: 1. 2. Top view—balls facing down. A23 is NC on PL127N. Figure 4.6 Connection Diagram – 64-Ball Fine-Pitch Ball Grid Array (S29PL127N, S29PL256N) 14 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 4.3.5 Physical Dimensions – LAA064, 11 x 13 mm – S29PL-N Note: Recommended for automotive applications Figure 4.7 Physical Dimensions – 64-Ball Fortified Ball Grid Array (S29PL-N) November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 15 Preliminary 4.4 MCP Look-Ahead Connection Diagram/Physical Dimensions 4.4.1 For All Page Mode MCPs Comprised of Code Flash + (p)SRAM + Data Flash A1 NC B1 A2 A9 A10 NC B2 NC B9 NC B10 Legend: X RFU (Reserved for Future Use) NC NC NC NC C2 RFU C3 VSS D3 A7 E3 A6 F3 A5 G3 A4 H3 VSS J3 OE# K3 DQ0 L3 DQ8 M3 A26 C4 RFU D4 C5 C6 F2-CE# F-VCC or (N-VCC) C7 N-PRE D7 A8 E7 A19 F7 A9 G7 A10 H7 DQ6 J7 DQ13 K7 DQ12 L7 DQ5 M7 C8 N-ALE# D8 A11 E8 A12 F8 A13 G8 A14 H8 A24 J8 DQ15 K8 DQ7 L8 DQ14 M8 F-VIO C9 N-CLE D9 N1-CE# E9 A15 X F9 A21 G9 A22 H9 A16 J9 RFU K9 VSS L9 X N-WP# NAND Flash/Data Shared X Code Flash Only D2 RFU E2 A3 F2 A2 G2 A1 H2 A0 J2 F1-CE# K2 R1-CE1# L2 L2 D5 D6 WE# E6 R-LB# WP#/ACC E4 R-UB# F4 A18 G4 E5 X MirrorBit Data Only F-RST# R1-CE2 F5 F-RY/BY# G5 F6 A20 G6 A23 H6 X Flash/xRAM Shared A17 R2-CE1# or (N-WE#) H4 DQ1 J4 DQ9 K4 DQ10 L4 DQ2 M4 VSS H5 R2-VCC R2-CE2 or (or N-VCC) (N-RE#) X pSRAM Only J5 DQ3 K5 F-VCC L5 DQ11 M5 F-VCC J6 DQ4 K6 R1-VCC L6 A25 M6 X xRAM Shared X NAND or pSRAM R1-VCC M2 A27 N1 NC P1 NC N2 NC P2 NC M9 RFU N9 NC P9 NC N10 NC P10 NC N2-CE# R-VCCQ Notes: 1. 2. 3. F1 and F2 denote XIP/Code Flash, while F3 and F4 denote Data/Companion Flash. In addition to being defined as F2-CE#, Ball C5 can also be assigned as F1-CE2# for code flash that has two chip enable signals. F-VIO is RFU on the PL-N product family. Figure 4.8 MCP Look-Ahead Diagram 16 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary To provide customers with a migration path to higher densities, as well as the option to stack more die in a package, Spansion has prepared a standard pinout that supports: NOR Flash and SRAM densities up to 4 Gb NOR Flash and PSRAM densities up to 4 Gb NOR Flash and PSRAM and Data Storage densities up to 4 Gb The signal locations of the resultant MCP device are shown above. Note that for different densities, the actual package outline can vary. However, any pinout in any MCP is a subset of the pinout shown above. In some cases, there may be outrigger balls in locations outside the grid shown above. In such cases, the user is advised to treat these as RFUs, and not connect them to any other signal. In case of any further inquiries about the above look-ahead pinout, please see the application note, Design-in Scalable Wireless Solutions with Spansion Products, or contact a Spansion sales office. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 17 Preliminary 5 Additional Resources Visit www.amd.com and www.fujitsu.com to obtain the following related documents: Application Notes Using the Operation Status Bits in AMD Devices Simultaneous Read/Write vs. Erase Suspend/Resume MirrorBit™ Flash Memory Write Buffer Programming and Page Buffer Read Design-In Scalable Wireless Solutions with Spansion Products Common Flash Interface Version 1.4 Vendor Specific Extensions Specification Bulletins Contact your local sales office for details. Drivers and Software Support Spansion Low-Level Drivers Enhanced Flash Drivers Flash File System CAD Modeling Support VHDL and Verilog IBIS ORCAD Technical Support Contact your local sales office or contact Spansion LLC directly for additional technical support: Email US and Canada: HW.support@amd.com Asia Pacific: asia.support@amd.com Europe, Middle East, and Africa Japan: http://edevice.fujitsu.com/jp/support/tech/#b7 Frequently Asked Questions (FAQ) http://ask.amd.com/ http://edevice.fujitsu.com/jp/support/tech/#b7 Phone US: (408) 749-5703 Japan (03) 5322-3324 Spansion LLC Locations 915 DeGuigne Drive, P.O. Box 3453 Sunnyvale, CA 94088-3453, USA Telephone: 408-962-2500 or 1-866-SPANSION Spansion Japan Limited 4-33-4 Nishi Shinjuku, Shinjuku-ku Tokyo, 160-0023 Telephone: +81-3-5302-2200 Facsimile: +81-3-5302-2674 http://www.spansion.com 18 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 6 Product Overview The S29PLxxxN family consists of 256 and 128 Mb, 3.0 volts-only, simultaneous read/write page-mode read Flash devices that are optimized for wireless designs of today that demand large storage array and rich functionality, while requiring low power consumption. These products also offer 32-word buffer for programming with program and erase suspend/resume functionality. Additional features include: Advanced Sector Protection methods for protecting an individual or group of sectors as required, 256-word of secured silicon area for storing customer and factory secured information Simultaneous Read/Write operation 6.1 Memory Map The S29PL-N devices consist of 4 banks organized as shown in Tables 6.1, 6.2, and 6.3. Table 6.1 Bank Bank Size Sector Count Sector Size (KB) 64 4 A 4 MB 64 64 64 256 15 … 256 256 B 12 MB 48 … 256 256 C 12 MB 48 … 256 256 15 … 256 D 4 MB 4 64 64 64 64 PL256N Sector and Memory Address Map Sector/ Sector Range SA00 SA01 SA02 SA03 SA04 … SA018 SA19 … SA66 SA67 … SA114 SA115 … SA129 SA130 SA131 SA132 SA133 Address Range 000000h-007FFFh 008000h-00FFFFh 010000h-017FFFh 018000h-01FFFFh 020000h-03FFFFh 1E0000h-1FFFFFh 200000h-21FFFFh 7E0000h-7FFFFFh 800000h-81FFFFh DE0000h-DFFFFFh E00000h-E1FFFFh FC0000h-FDFFFFh FE0000h-FE7FFFh FE8000h-FEFFFFh FF0000h-FF7FFFh FF8000h-FFFFFFh Sector Starting Address Sector Ending Address … … … … Sector Starting Address Sector Ending Address (see note) First Sector, Sector Starting Address Last Sector, Sector Ending Address (see note) First Sector, Sector Starting Address Last Sector, Sector Ending Address (see note) Sector Starting Address Sector Ending Address (see note) Sector Starting Address – Sector Ending Address Notes Note: Ellipses indicate that other addresses in sector range follow the same pattern. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 19 Preliminary Table 6.2 Bank Bank Size Sector Count Sector Size (KB) 64 4 A 2 MB 64 64 64 256 7 … 256 256 B 6 MB 24 … 256 256 C 6 MB 24 … 256 256 7 … 256 D 2 MB 4 64 64 64 64 PL127N Sector and Memory Address Map Sector/ Sector Range SA00 SA01 SA02 SA03 SA04 … SA10 SA11 … SA34 SA35 … SA58 SA59 … SA65 SA66 SA67 SA68 SA69 Address Range 000000h-007FFFh 008000h-00FFFFh 010000h-017FFFh 018000h-01FFFFh 020000h-03FFFFh 0E0000h-0FFFFFh 100000h-11FFFFh 3E0000h-3FFFFFh 400000h-41FFFFh 6E0000h-6FFFFFh 700000h-71FFFFh 7C0000h-7DFFFFh 7E0000h-7E7FFFh 7E80000h-7EFFFFh 7F0000h-7F7FFFh 7F8000h-7FFFFFh Sector Starting Address Sector Ending Address … … … … Sector Starting Address – Sector Ending Address (see note) First Sector, Sector Starting Address Last Sector, Sector Ending Address (see note) First Sector, Sector Starting Address Last Sector, Sector Ending Address (see note) Sector Starting Address Sector Ending Address (see note) Sector Starting Address Sector Ending Address Notes Note: Ellipses indicate that other addresses in sector range follow the same pattern. Table 6.3 Bank Bank Size Sector Count Sector Size (KB) 64 4 1A 2 MB 64 64 64 256 7 … 256 256 1B 6 MB 24 … 256 256 2A 6 MB 24 … 256 256 7 … 256 2B 2 MB 4 64 64 64 64 VIH VIL PL129N Sector and Memory Address Map CE2# Sector/ Sector Range SA00 SA01 SA02 SA03 VIH SA04 … SA10 SA11 … SA34 SA35 … SA58 SA59 … VIL SA65 SA66 SA67 SA68 SA69 Address Range 000000h-007FFFh 008000h-00FFFFh 010000h-017FFFh 018000h-01FFFFh 020000h-03FFFFh 0E0000h-0FFFFFh 100000h-11FFFFh 3E0000h-3FFFFFh 000000h-01FFFFh 2E0000h - 2FFFFFh 300000h-31FFFFh 3C0000h-3DFFFFh 3E0000h-3E7FFFH 3E8000h-3EFFFFh 3F0000h-3F7FFFh 3F8000h-3FFFFFh Sector Starting Address Sector Ending Address … … … … Sector Starting Address – Sector Ending Address (see note) First Sector, Sector Starting Address Last Sector, Sector Ending Address (see note) First Sector, Sector Starting Address Last Sector, Sector Ending Address (see note) Sector Starting Address Sector Ending Address (see note) Sector Starting Address Sector Ending Address Notes CE1# 20 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 7 Device Operations This section describes the read, program, erase, simultaneous read/write operations, and reset features of the Flash devices. Operations are initiated by writing specific commands or a sequence with specific address and data patterns into the command registers (see Table 12.1 and Table 12.2). The command register itself does not occupy any addressable memory location. Instead, the command register is composed of latches that store the commands, along with the address and data information needed to execute the command. The contents of the register serve as input to the internal state machine and the state machine outputs dictate the function of the device. Writing incorrect address and data values or writing them in an improper sequence can place the device in an unknown state, in which case the system must write the reset command to return the device to the reading array data mode. 7.1 Device Operation Table The device must be setup appropriately for each operation. Table 7.1 describes the required state of each control pin for any particular operation. Table 7.1 Operation Read Write Standby Output Disable Reset CE# L L H L X OE# L H X H X WE# H L X H X Device Operation WP#/ACC X X (See Note) X X X Addresses (Amax – A0) AIN AIN AIN AIN AIN DQ15 – DQ0 DOUT DIN High-Z High-Z High-Z RESET# H H H H L Legend: L = Logic Low = VIL, H = Logic High = VIH, VHH = 8.5 – 9.5 V, X = Don’t Care, SA = Sector Address, AIN = Address In, DIN = Data In, DOUT = Data Out Note: WP#/ACC must be high when writing to upper two and lower two sectors (PL256N: 0, 1,132, and 133; PL127/129N: 0, 1, 68, and 69) 7.1.1 Dual Chip Enable Device Description and Operation (PL129N Only) The dual CE# product (PL129N) offers a reduced number of address pins to accommodate processors with a limited addressable range. This product operates as two separate devices in a single package and requires the processor to address half of the memory space with one chip enable and the remaining memory space with a second chip enable. For more details on the addressing features of the Dual CE# device refer to Table 6.3 on page 20 for the PL129N Sector and Memory Address Map. Dual chip enable products must be setup appropriately for each operation. To place the device into the active state either CE1# or CE2# must be set to VIL. To place the device in standby mode, both CE1# and CE2# must be set to VIH. Table 7.2 describes the required state of each control pin for any particular operation. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 21 Preliminary Table 7.2 Operation Read Dual Chip Enable Device Operation RESET# H WP#/ACC X X (Note 2) X X X X Addresses (A21 – A0) AIN CE1# CE2# OE# WE# L H L H H L X X H L H L H L X X L H DQ15 – DQ0 DOUT Write Standby Output Disable Reset Temporary Sector Unprotect (High Voltage) H X H X X L X H X X H H H L VID AIN DIN X X X AIN High-Z High-Z High-Z DIN Legend: L = Logic Low = VIL, H = Logic High = VIH,VID = 11.5–12.5 V, VHH = 8.5 – 9.5 V, X = Don’t Care, SA = Sector Address, AIN = Address In, DIN = Data In, DOUT = Data Out Notes: 1. 2. The sector and sector unprotect functions may also be implemented by programming equipment. WP#/ACC must be high when writing to the upper two and lower two sectors. 7.2 Asynchronous Read The internal state machine is set for reading array data upon device power-up, or after a hardware reset. This ensures that no spurious alteration of the memory content occurs during the power transition. No command is necessary in this mode to obtain array data. Standard microprocessor read cycles that assert valid addresses on the device address inputs produce valid data on the device data outputs. Each bank remains enabled for read access until the command register contents are altered. 7.2.1 Non-Page Random Read Address access time (tACC) is equal to the delay from stable addresses to valid output data. The chip enable access time (tCE) is the delay from the stable addresses and stable CE# to valid data at the output inputs. The output enable access time is the delay from the falling edge of the OE# to valid data at the output (assuming the addresses have been stable for at least tACC – tOE time). 7.2.2 Page Mode Read The device is capable of fast page mode read and is compatible with the page mode Mask ROM read operation. This mode provides faster read access speed for random locations within a page. The random or initial page access is tACC or tCE and subsequent page read accesses (as long as the locations specified by the microprocessor falls within that page) is equivalent to tPACC. When CE# is deasserted (= VIH), the reassertion of CE# for subsequent access has access time of tACC or tCE. Here again, CE# selects the device and OE# is the output control and should be used to gate data to the output inputs if the device is selected. Fast page mode accesses are obtained by keeping Amax – A3 constant and changing A2 – A0 to select the specific word within that page. Address bits Amax – A3 select an 8-word page, and address bits A2 – A0 select a specific word within that page. This is an asynchronous operation with the microprocessor supplying the specific word location. See Table 7.3 for details on selecting specific words. 22 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary The device is automatically set to reading array data after device power-up. No commands are required to retrieve data. Each bank is ready to read array data after completing an Embedded Program or Embedded Erase algorithm. All addresses are latched on the falling edge of WE# or CE#, whichever happens later. All data is latched on the rising edge of WE# or CE#, whichever happens first. Reads from the memory array may be performed in conjunction with the Erase Suspend and Program Suspend features. After the device accepts an Erase Suspend command, the corresponding bank enters the erase-suspend-read mode, after which the system can read data from any nonerase-suspended sector within the same bank. The system can read array data using the standard read timing, except that if it reads at an address within erase-suspended sectors, the device outputs status data. After completing a programming operation in the Erase Suspend mode, the system may once again read array data with the same exception. After the device accepts a Program Suspend command, the corresponding bank enters the program-suspend-read mode, after which the system can read data from any non-program-suspended sector within the same bank. Table 7.3 Word Word 0 Word 1 Word 2 Word 3 Word 4 Word 5 Word 6 Word 7 Word Selection within a Page A2 0 0 0 0 1 1 1 1 A1 0 0 1 1 0 0 1 1 A0 0 1 0 1 0 1 0 1 7.3 Autoselect The Autoselect mode allows the host system to access manufacturer and device identification, and verify sector protection, through identifier codes output from the internal register (separate from the memory array) on DQ15-DQ0. This mode is primarily intended to allow equipment to automatically match a device to be programmed with its corresponding programming algorithm. When verifying sector protection, the sector address must appear on the appropriate highest order address bits (see Table 7.5). The remaining address bits are don't care. When all necessary bits have been set as required, the programming equipment can then read the corresponding identifier code on DQ15-DQ0. The Autoselect codes can also be accessed in-system through the command register. Note that if a Bank Address (BA) on the four uppermost address bits is asserted during the third write cycle of the Autoselect command, the host system can read Autoselect data from that bank and then immediately read array data from the other bank, without exiting the Autoselect mode. To access the Autoselect codes, the host system must issue the Autoselect command. The Autoselect command sequence can be written to an address within a bank that is either in the read or erase-suspend-read mode. The Autoselect command cannot be written while the device is actively programming or erasing in the other bank. Autoselect does not support simultaneous operations or page modes. The system must write the reset command to return to the read mode (or erase-suspendread mode if the bank was previously in Erase Suspend). November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 23 Preliminary See Table 12.1 for command sequence details. Table 7.4 Description Manufacturer ID Read Cycle 1 Device ID: Read Cycle 2 Read Cycle 3 Autoselect Codes DQ15 to DQ0 CE# A – A5 – OE# WE# max A10 A9 A8 A7 A6 A3 A2 A1 A0 See Note A12 A4 L L L H BA X X X L L X L L L L L L L 0001h H 227Eh L L H BA X X X L L L H H H 223Ch (PL256N) L 2220h (PL127N) 2221h (PL129N) 2200h (PL256N) H 2200h (PL127N) 2200h (PL129N) 0000h Unprotected (Neither DYB nor PPB Locked), L 0001h Protected (Either DYB or PPB Locked) - DQ15 - DQ8 = 0 - DQ7 - Factory Lock Bit 1 = Locked, 0 = Not Locked - DQ6 -Customer Lock Bit 1 = Locked, 0 = Not Locked - DQ5 - Handshake Bit 1 = Reserved, H 0 = Standard Handshake - DQ4 & DQ3 WP# Protection Boot Code 00 = WP# Protects both Top Boot and Bottom Boot Sectors, 11 = No WP# Protection - DQ2 - DQ0 = 0 L H H H Sector Protection Verification L L H SA X X X L L L L L H Indicator Bit L L H BA X X X L L L L L H Legend: L = Logic Low = VIL, H = Logic High = VIH, BA = Bank Address, SA = Sector Address, X = Don’t care. Note: For the PL129N Either CE1# or CE2# must be low to access Autoselect Codes Software Functions and Sample Code Table 7.5 Cycle Unlock Cycle 1 Unlock Cycle 2 Autoselect Command Operation Write Write Write Autoselect Entry Word Address BAx555h BAx2AAh BAx555h Data 0x00AAh 0x0055h 0x0090h (LLD Function = lld_AutoselectEntryCmd) Table 7.6 Cycle Unlock Cycle 1 Notes: 1. 2. 3. Any offset within the device works. BA = Bank Address. The bank address is required. base = base address. Autoselect Exit Word Address base + xxxh Data 0x00F0h (LLD Function = lld_AutoselectExitCmd) Operation Write The following is a C source code example of using the autoselect function to read the manufacturer ID. See the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. 24 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary /* Here is an example of Autoselect mode (getting manufacturer ID) */ /* Define UINT16 example: typedef unsigned short UINT16; */ UINT16 manuf_id; /* Auto Select Entry */ *((UINT16 *)bank_addr + 0x555) = 0x00AA; /* write unlock cycle 1 */ *((UINT16 *)bank_addr + 0x2AA) = 0x0055; /* write unlock cycle 2 */ *((UINT16 *)bank_addr + 0x555) = 0x0090; /* write autoselect command */ /* multiple reads can be performed after entry */ manuf_id = *((UINT16 *)bank_addr + 0x000); /* read manuf. id */ /* Autoselect exit */ *((UINT16 *)base_addr + 0x000) = 0x00F0; /* exit autoselect (write reset command) */ November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 25 Preliminary 7.4 Program/Erase Operations These devices are capable of single word or write buffer programming operations which are described in the following sections. The write buffer programming is recommended over single word programming as it has clear benefits from greater programming efficiency. See Table 7.1 on page 21 for the correct device settings required before initiation of a write command sequence. Note the following details regarding the program/erase operations: When the Embedded Program algorithm is complete, the device then returns to the read mode. The system can determine the status of the program operation by using DQ7 or DQ6. See Write Operation Status for information on these status bits. A 0 cannot be programmed back to a 1. Attempting to do so causes the device to set DQ5 = 1 (halting any further operation and requiring a reset command). A succeeding read shows that the data is still 0. Only erase operations can convert a 0 to a 1. A hardware reset immediately terminates the program operation and the program command sequence should be reinitiated once the device has returned to the read mode, to ensure data integrity. Any commands written to the device during the Embedded Program Algorithm are ignored except the Program Suspend command. Secured Silicon Sector, Autoselect, and CFI functions are unavailable when a program operation is in progress. Programming is allowed in any sequence and across sector boundaries for single word programming operation. 7.4.1 Single Word Programming In single word programming mode, four Flash command write cycles are used to program an individual Flash address. While this method is supported by all Spansion devices, in general it is not recommended for devices that support Write Buffer Programming. See Table 12.1 for the required bus cycles and Figure 7.1 for the flowchart. When the Embedded Program algorithm is complete, the device then returns to the read mode and addresses are no longer latched. The system can determine the status of the program operation by using DQ7 or DQ6. See Write Operation Status for information on these status bits. Single word programming is supported for backward compatibility with existing Flash driver software and use of write buffer programming is strongly recommended for general programming. The effective word programming time using write buffer programming is approximately four times faster than the single word programming time. 26 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary Write Unlock Cycles: Address 555h, Data AAh Address 2AAh, Data 55h Unlock Cycle 1 Unlock Cycle 2 Write Program Command: Address 555h, Data A0h Setup Command Program Data to Address: PA, PD Program Address (PA), Program Data (PD) Perform Polling Algorithm (see Write Operation Status flowchart) Polling Status = Busy? No Yes Polling Status = Done? No Yes Error condition (Exceeded Timing Limits) PASS. Device is in read mode. FAIL. Issue reset command to return to read array mode. Figure 7.1 Single Word Program Operation Software Functions and Sample Code Table 7.7 Cycle Unlock Cycle 1 Unlock Cycle 2 Program Setup Program Note: Base = Base Address. Single Word Program Operation Write Write Write Write Word Address Base + 555h Base + 2AAh Base + 555h Word Address Data 00AAh 0055h 00A0h Data Word (LLD Function = lld_ProgramCmd) The following is a C source code example of using the single word program function. See the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Program Command */ *((UINT16 *)base_addr + 0x555) = *((UINT16 *)base_addr + 0x2AA) = *((UINT16 *)base_addr + 0x555) = *((UINT16 *)pa) = /* Poll for program completion */ 0x00AA; 0x0055; 0x00A0; data; /* /* /* /* write write write write unlock cycle 1 unlock cycle 2 program setup command data to be programmed */ */ */ */ November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 27 Preliminary 7.4.2 Write Buffer Programming Write Buffer Programming allows the system to write a maximum of 32 words in one programming operation. This results in a faster effective word programming time than the standard word programming algorithms. The Write Buffer Programming command sequence is initiated by first writing two unlock cycles. This is followed by a third write cycle containing the Write Buffer Load command written at the Sector Address in which programming occurs. At this point, the system writes the number of word locations minus 1 that is loaded into the page buffer at the Sector Address in which programming occurs. This tells the device how many write buffer addresses are loaded with data and therefore when to expect the Program Buffer to Flash confirm command. The number of locations to program cannot exceed the size of the write buffer or the operation aborts. (Number loaded = the number of locations to program minus 1. For example, if the system programs 6 address locations, then 05h should be written to the device.) The system then writes the starting address/data combination. This starting address is the first address/data pair to be programmed, and selects the write-buffer-page address. All subsequent address/data pairs must fall within the elected-write-buffer-page. The write-buffer-page is selected by using the addresses Amax – A5. The write-buffer-page addresses must be the same for all address/data pairs loaded into the write buffer. (This means Write Buffer Programming cannot be performed across multiple write-bufferpage. This also means that Write Buffer Programming cannot be performed across multiple sectors. If the system attempts to load programming data outside of the selected write-buffer-page, the operation ABORTS.) After writing the Starting Address/Data pair, the system then writes the remaining address/data pairs into the write buffer. Note that if a Write Buffer address location is loaded multiple times, the address/data pair counter decrements for every data load operation. Also, the last data loaded at a location before the Program Buffer to Flash confirm command is programmed into the device. The software takes care of the ramifications of loading a write-buffer location more than once. The counter decrements for each data load operation, NOT for each unique write-buffer-address location. Once the specified number of write buffer locations have been loaded, the system must then write the Program Buffer to Flash command at the Sector Address. Any other address/data write combinations abort the Write Buffer Programming operation. The device then goes busy. The Data Bar polling techniques should be used while monitoring the last address location loaded into the write buffer. This eliminates the need to store an address in memory because the system can load the last address location, issue the program confirm command at the last loaded address location, and then data bar poll at that same address. The write-buffer embedded programming operation can be suspended using the standard suspend/resume commands. Upon successful completion of the Write Buffer Programming operation, the device returns to READ mode. If the write buffer command sequence is entered incorrectly the device enters write buffer abort. When an abort occurs the write-to buffer-abort reset command must be issued to return the device to read mode. The Write Buffer Programming Sequence is ABORTED under any of the following conditions: Load a value that is greater than the page buffer size during the Number of Locations to Program step. Write to an address in a sector different than the one specified during the Write-Buffer-Load command. Write an Address/Data pair to a different write-buffer-page than the one selected by the Starting Address during the write buffer data loading stage of the operation. Write data other than the Confirm Command after the specified number of data load cycles. 28 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary Use of the write buffer is strongly recommended for programming when multiple words are to be programmed. Write buffer programming is approximately four times faster than programming one word at a time. Note that the Secured Silicon, the CFI functions, and the Autoselect Codes are not available for read when a write buffer programming operation is in progress. Software Functions and Sample Code Table 7.8 Cycle 1 2 3 4 Description Unlock Unlock Write Buffer Load Command Write Word Count Write Buffer Program Word Address Base + 555h Base + 2AAh Program Address Program Address Data 00AAh 0055h 0025h Word Count (N–1)h (LLD Functions Used = lld_WriteToBufferCmd, lld_ProgramBufferToFlashCmd) Operation Write Write Write Write Number of words (N) loaded into the write buffer can be from 1 to 32 words. 5 to 36 Last Notes: 1. 2. 3. Base = Base Address. Last = Last cycle of write buffer program operation; depending on number of words written, the total number of cycles can be from 6 to 37. For maximum efficiency, it is recommended that the write buffer be loaded with the highest number of words (N words) possible. Load Buffer Word N Write Buffer to Flash Write Write Program Address, Word N Sector Address Word N 0029h The following is a C source code example of using the write buffer program function. See the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Write Buffer Programming Command */ /* NOTES: Write buffer programming limited to 16 words. */ /* All addresses to be written to the flash in */ /* one operation must be within the same flash */ /* page. A flash page begins at addresses */ /* evenly divisible by 0x20. */ UINT16 *src = source_of_data; /* address of source data */ UINT16 *dst = destination_of_data; /* flash destination address */ UINT16 wc = words_to_program -1; /* word count (minus 1) */ *((UINT16 *)base_addr + 0x555) = 0x00AA; /* write unlock cycle 1 */ *((UINT16 *)base_addr + 0x2AA) = 0x0055; /* write unlock cycle 2 */ *((UINT16 *)sector_address) = 0x0025; /* write write buffer load command */ *((UINT16 *)sector_address) = wc; /* write word count (minus 1) */ loop: *dst = *src; /* ALL dst MUST BE SAME PAGE */ /* write source data to destination */ dst++; /* increment destination pointer */ src++; /* increment source pointer */ if (wc == 0) goto confirm /* done when word count equals zero */ wc--; /* decrement word count */ goto loop; /* do it again */ confirm: *((UINT16 *)sector_address) = 0x0029; /* write confirm command */ /* poll for completion */ /* Example: Write *((UINT16 *)addr *((UINT16 *)addr *((UINT16 *)addr Buffer Abort Reset */ + 0x555) = 0x00AA; /* write unlock cycle 1 + 0x2AA) = 0x0055; /* write unlock cycle 2 + 0x555) = 0x00F0; /* write buffer abort reset */ */ */ November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 29 Preliminary Write Unlock Cycles: Address 555h, Data AAh Address 2AAh, Data 55h Unlock Cycle 1 Unlock Cycle 2 Issue Write Buffer Load Command: Address 555h, Data 25h Load Word Count to Program Program Data to Address: SA = wc wc = number of words – 1 Yes wc = 0? Confirm command: SA 29h No Wait 4 µs Write Next Word, Decrement wc: PA data , wc = wc – 1 No Write Buffer Abort Desired? Perform Polling Algorithm Yes Write to a Different Sector Address to Cause Write Buffer Abort (see Write Operation Status flowchart) Polling Status = Done? No No Yes Error? Yes Write Buffer Abort? No Yes RESET. Issue Write Buffer Abort Reset Command FAIL. Issue reset command to return to read array mode. PASS. Device is in read mode. Figure 7.2 7.4.3 Sector Erase Write Buffer Programming Operation The sector erase function erases one or more sectors in the memory array. (See Table 12.1, and Figure 7.3.) The device does not require the system to preprogram prior to erase. The Embedded Erase algorithm automatically programs and verifies the entire memory for an all zero data pattern prior to electrical erase. The system is not required to provide any controls or timings during these operations. After the command sequence is written, a sector erase time-out of no less than tSEA occurs. During the time-out period, additional sector addresses and sector erase commands can be written. Loading the sector erase buffer can be done in any sequence, and the number of sectors can be from one sector to all sectors. The time between these additional cycles must be less than tSEA. Any sector erase address and command following the exceeded time-out (tSEA) may or may not 30 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary be accepted. Any command other than Sector Erase or Erase Suspend during the time-out period resets that bank to the read mode. The system can monitor DQ3 to determine if the sector erase timer has timed out (see DQ3: Sector Erase Timeout State Indicator). The time-out begins from the rising edge of the final WE# pulse in the command sequence. When the Embedded Erase algorithm is complete, the bank returns to reading array data and addresses are no longer latched. Note that while the Embedded Erase operation is in progress, the system can read data from the non-erasing banks. The system can determine the status of the erase operation by reading DQ7 or DQ6/DQ2 in the erasing bank. See Write Operation Status for information on these status bits. Once the sector erase operation has begun, only the Erase Suspend command is valid. All other commands are ignored. However, note that a hardware reset immediately terminates the erase operation. If that occurs, the sector erase command sequence should be reinitiated once that bank has returned to reading array data, to ensure data integrity. Figure 7.3 illustrates the algorithm for the erase operation. See AC Characteristics for the Erase/ Program Operations parameters and timing diagrams. Software Functions and Sample Code Table 7.9 Cycle 1 2 3 4 5 6 Description Unlock Unlock Setup Command Unlock Unlock Sector Erase Command Sector Erase Word Address Base + 555h Base + 2AAh Base + 555h Base + 555h Base + 2AAh Sector Address Data 00AAh 0055h 0080h 00AAh 0055h 0030h (LLD Function = lld_SectorEraseCmd) Operation Write Write Write Write Write Write Unlimited additional sectors can be selected for erase; command(s) must be written within tSEA. The following is a C source code example of using the sector erase function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Sector Erase Command */ *((UINT16 *)base_addr + 0x555) = 0x00AA; *((UINT16 *)base_addr + 0x2AA) = 0x0055; *((UINT16 *)base_addr + 0x555) = 0x0080; *((UINT16 *)base_addr + 0x555) = 0x00AA; *((UINT16 *)base_addr + 0x2AA) = 0x0055; *((UINT16 *)sector_address) = 0x0030; /* /* /* /* /* /* write write write write write write unlock cycle 1 */ unlock cycle 2 */ setup command */ additional unlock cycle 1 */ additional unlock cycle 2 */ sector erase command */ November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 31 Preliminary Write Unlock Cycles: Write Unlock Cycles: Address 555h, Data AAh Address 555h, Data AAh Address 2AAh, Data 55h Address 2AAh, Data 55h Unlock Cycle Unlock Cycle 11 Unlock Cycle Unlock Cycle 22 Write Sector Erase Cycles: Write Sector Erase Cycles: Address 555h, Data 80h Address 555h, Data 80h Address 555h, Data AAh Address 555h, Data AAh Address 2AAh, Data 55h Address 2AAh, Data 55h Sector Address, Data 30h Sector Address, Data 30h Command Cycle Command Cycle 11 Command Cycle Command Cycle 22 Command Cycle Command Cycle 33 Specify first sector for erasure Specify first sector for erasure No No Select Select Additional Additional Sectors? Sectors? Yes Yes Write Additional Write Additional Sector Addresses Sector Addresses • • Each additional cycle must be written within SEA timeout Each additional cycle must be written within t tSEA timeout • • Timeout resets after each additional cycle is written Timeout resets after each additional cycle is written • • The host system may monitor DQ3 or wait SEA too ensure The host system may monitor DQ3 or wait t tSEA t ensure acceptance of erase commands acceptance of erase commands • No limit on number of sectors • No limit on number of sectors • • Commands other than Erase Suspend or selecting Commands other than Erase Suspend or selecting additional sectors for erasure during timeout reset device additional sectors for erasure during timeout reset device to reading array data to reading array data NNo o Poll DQ3. Poll DQ3. DQ3 = 1? DQ3 = 1? Yes Yes Yes Yes Last Sector Last Sector Selected? Selected? No No Wait µµ Wait 44 s s Perform Write Operation Perform Write Operation Status Algorithm Status Algorithm Status may be obtained by reading DQ7, DQ6 and/or DQ2. Status may be obtained by reading DQ7, DQ6 and/or DQ2. Yes Yes Done? Done? No No DQ5 = 1? DQ5 = 1? Yes Yes No No EError condition (Exceeded Timing Limits) rror condition (Exceeded Timing Limits) PASS. Device returns PASS. Device returns to reading array. to reading array. FAIL. Write reset command FAIL. Write reset command to return to reading array. to return to reading array. Notes: 1. 2. See Table 12.1 for erase command sequence. See the section on DQ3 for information on the sector erase timeout. Figure 7.3 7.4.4 Chip Erase Command Sequence Sector Erase Operation Chip erase is a six-bus cycle operation as indicated by Table 12.1. These commands invoke the Embedded Erase algorithm, which does not require the system to preprogram prior to erase. The Embedded Erase algorithm automatically preprograms and verifies the entire memory for an all zero data pattern prior to electrical erase. The system is not required to provide any controls or timings during these operations. The Command Definition tables (Table 12.1 and Table 12.2) show the address and data requirements for the chip erase command sequence. 32 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary When the Embedded Erase algorithm is complete, that bank returns to the read mode and addresses are no longer latched. The system can determine the status of the erase operation by using DQ7 or DQ6/DQ2. See Write Operation Status for information on these status bits. Any commands written during the chip erase operation are ignored. However, note that a hardware reset immediately terminates the erase operation. If that occurs, the chip erase command sequence should be reinitiated once that bank has returned to reading array data, to ensure data integrity. Software Functions and Sample Code Table 7.10 Cycle 1 2 3 4 5 6 Description Unlock Unlock Setup Command Unlock Unlock Chip Erase Command Chip Erase Word Address Base + 555h Base + 2AAh Base + 555h Base + 555h Base + 2AAh Base + 555h Data 00AAh 0055h 0080h 00AAh 0055h 0010h (LLD Function = lld_ChipEraseCmd) Operation Write Write Write Write Write Write The following is a C source code example of using the chip erase function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Chip Erase Command */ /* Note: Cannot be suspended */ *((UINT16 *)base_addr + 0x555) = *((UINT16 *)base_addr + 0x2AA) = *((UINT16 *)base_addr + 0x555) = *((UINT16 *)base_addr + 0x555) = *((UINT16 *)base_addr + 0x2AA) = *((UINT16 *)base_addr + 0x000) = 0x00AA; 0x0055; 0x0080; 0x00AA; 0x0055; 0x0010; /* /* /* /* /* /* write write write write write write unlock cycle 1 */ unlock cycle 2 */ setup command */ additional unlock cycle 1 */ additional unlock cycle 2 */ chip erase command */ 7.4.5 Erase Suspend/Erase Resume Commands The Erase Suspend command allows the system to interrupt a sector erase operation and then read data from, or program data to, any sector not selected for erasure. The bank address is required when writing this command. This command is valid only during the sector erase operation, including the minimum tSEA time-out period during the sector erase command sequence. The Erase Suspend command is ignored if written during the chip erase operation. When the Erase Suspend command is written during the sector erase operation, the device requires a maximum of tESL (erase suspend latency) to suspend the erase operation. However, when the Erase Suspend command is written during the sector erase time-out, the device immediately terminates the time-out period and suspends the erase operation. After the erase operation has been suspended, the bank enters the erase-suspend-read mode. The system can read data from or program data to any sector not selected for erasure. (The device erase suspends all sectors selected for erasure.) Reading at any address within erasesuspended sectors produces status information on DQ7-DQ0. The system can use DQ7, or DQ6, and DQ2 together, to determine if a sector is actively erasing or is erase-suspended. Refer to Table 7.18 for information on these status bits. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 33 Preliminary After an erase-suspended program operation is complete, the bank returns to the erase-suspendread mode. The system can determine the status of the program operation using the DQ7 or DQ6 status bits, just as in the standard program operation. In the erase-suspend-read mode, the system can also issue the Autoselect command sequence. See Write Buffer Programming and Autoselect for details. To resume the sector erase operation, the system must write the Erase Resume command. The bank address of the erase-suspended bank is required when writing this command. Further writes of the Resume command are ignored. Another Erase Suspend command can be written after the chip has resumed erasing. Software Functions and Sample Code Table 7.11 Cycle 1 Operation Write Erase Suspend Word Address Bank Address Data 00B0h (LLD Function = lld_EraseSuspendCmd) The following is a C source code example of using the erase suspend function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Erase suspend command */ *((UINT16 *)bank_addr + 0x000) = 0x00B0; /* write suspend command */ Table 7.12 Cycle 1 Operation Write Erase Resume Word Address Bank Address Data 0030h (LLD Function = lld_EraseResumeCmd) The following is a C source code example of using the erase resume function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Erase resume command */ *((UINT16 *)bank_addr + 0x000) = 0x0030; /* write resume command /* The flash needs adequate time in the resume state */ */ 7.4.6 Program Suspend/Program Resume Commands The Program Suspend command allows the system to interrupt an embedded programming operation or a Write to Buffer programming operation so that data can read from any nonsuspended sector. When the Program Suspend command is written during a programming process, the device halts the programming operation within tPSL (program suspend latency) and updates the status bits. After the programming operation has been suspended, the system can read array data from any non-suspended sector. The Program Suspend command can also be issued during a programming operation while an erase is suspended. In this case, data can be read from any addresses not in Erase Suspend or Program Suspend. If a read is needed from the Secured Silicon Sector area, then user must use the proper command sequences to enter and exit this region. 34 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary The system can also write the Autoselect command sequence when the device is in Program Suspend mode. The device allows reading Autoselect codes in the suspended sectors, since the codes are not stored in the memory array. When the device exits the Autoselect mode, the device reverts to Program Suspend mode, and is ready for another valid operation. See Autoselect for more information. After the Program Resume command is written, the device reverts to programming. The system can determine the status of the program operation using the DQ7 or DQ6 status bits, just as in the standard program operation. See Write Operation Status for more information. The system must write the Program Resume command (address bits are don't cares) to exit the Program Suspend mode and continue the programming operation. Further writes of the Program Resume command are ignored. Another Program Suspend command can be written after the device has resumed programming. Software Functions and Sample Code Table 7.13 Program Suspend (LLD Function = lld_ProgramSuspendCmd) Cycle 1 Operation Write Word Address Bank Address Data 00B0h The following is a C source code example of using the program suspend function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Program suspend command */ *((UINT16 *)base_addr + 0x000) = 0x00B0; /* write suspend command */ Table 7.14 Cycle 1 Operation Write Program Resume Word Address Bank Address Data 0030h (LLD Function = lld_ProgramResumeCmd) The following is a C source code example of using the program resume function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Program resume command */ *((UINT16 *)base_addr + 0x000) = 0x0030; /* write resume command */ 7.4.7 Accelerated Program Accelerated single word programming, write buffer programming, sector erase, and chip erase operations are enabled through the ACC function. This method is faster than the standard chip program and erase command sequences. The accelerated chip program and erase functions must not be used more than 10 times per sector. In addition, accelerated chip program and erase should be performed at room temperature (25°C ±10°C). This function is primarily intended to allow faster manufacturing throughput at the factory. If the system asserts VHH on this input, the device automatically enters the aforementioned Unlock Bypass mode and uses the higher voltage on the input to reduce the time required for program and erase operations. The system can then use the Write Buffer Load command sequence provided by the Unlock Bypass mode. Note that if a Write-to-Buffer-Abort Reset is required while in Unlock November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 35 Preliminary Bypass mode, the full 3-cycle RESET command sequence must be used to reset the device. Removing VHH from the ACC input, upon completion of the embedded program or erase operation, returns the device to normal operation. Sectors must be unlocked prior to raising WP#/ACC to VHH. The WP#/ACC must not be at VHH for operations other than accelerated programming and accelerated chip erase, or device damage can result. Set the ACC pin at VCC when accelerated programming not in use. 7.4.8 Unlock Bypass The device features an Unlock Bypass mode to facilitate faster word programming. Once the device enters the Unlock Bypass mode, only two write cycles are required to program data, instead of the normal four cycles. This mode dispenses with the initial two unlock cycles required in the standard program command sequence, resulting in faster total programming time. Table 12.1, Memory Array Commands shows the requirements for the unlock bypass command sequences. During the unlock bypass mode, only the Read, Unlock Bypass Program and Unlock Bypass Reset commands are valid. To exit the unlock bypass mode, the system must issue the two-cycle unlock bypass reset command sequence. The first cycle must contain the bank address and the data 90h. The second cycle need only contain the data 00h. The bank then returns to the read mode. Software Functions and Sample Code The following are C source code examples of using the unlock bypass entry, program, and exit functions. Refer to the Spansion Low Level Driver User’s Guide (available soon on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. Table 7.15 Cycle 1 2 3 Description Unlock Unlock Entry Command Unlock Bypass Entry Operation Write Write Write Word Address Base + 555h Base + 2AAh Base + 555h */ */ */ (LLD Function = lld_UnlockBypassEntryCmd) Data 00AAh 0055h 0020h /* Example: Unlock Bypass Entry Command */ *((UINT16 *)bank_addr + 0x555) = 0x00AA; /* write unlock cycle 1 *((UINT16 *)bank_addr + 0x2AA) = 0x0055; /* write unlock cycle 2 *((UINT16 *)bank_addr + 0x555) = 0x0020; /* write unlock bypass command /* At this point, programming only takes two write cycles. */ /* Once you enter Unlock Bypass Mode, do a series of like */ /* operations (programming or sector erase) and then exit */ /* Unlock Bypass Mode before beginning a different type of */ /* operations. */ 36 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary Table 7.16 Cycle 1 2 Description Program Setup Command Program Command Unlock Bypass Program Operation Write Write Word Address Base +xxxh Program Address Data 00A0h Program Data (LLD Function = lld_UnlockBypassProgramCmd) /* Example: Unlock Bypass Program Command */ /* Do while in Unlock Bypass Entry Mode! */ *((UINT16 *)bank_addr + 0x555) = 0x00A0; /* write program setup command *((UINT16 *)pa) = data; /* write data to be programmed /* Poll until done or error. */ /* If done and more to program, */ /* do above two cycles again. */ */ */ Table 7.17 Cycle 1 2 Description Reset Cycle 1 Reset Cycle 2 Unlock Bypass Reset Operation Write Write Word Address Base +xxxh Base +xxxh Data 0090h 0000h (LLD Function = lld_UnlockBypassResetCmd) /* Example: Unlock Bypass Exit Command */ *( (UINT16 *)base_addr + 0x000 ) = 0x0090; *( (UINT16 *)base_addr + 0x000 ) = 0x0000; 7.4.9 Write Operation Status The device provides several bits to determine the status of a program or erase operation. The following subsections describe the function of DQ1, DQ2, DQ3, DQ5, DQ6, and DQ7. DQ7: Data# Polling. The Data# Polling bit, DQ7, indicates to the host system whether an Em- bedded Program or Erase algorithm is in progress or completed, or whether a bank is in Erase Suspend. Data# Polling is valid after the rising edge of the final WE# pulse in the command sequence. Note that the Data# Polling is valid only for the last word being programmed in the writebuffer-page during Write Buffer Programming. Reading Data# Polling status on any word other than the last word to be programmed in the write-buffer-page returns false status information. During the Embedded Program algorithm, the device outputs on DQ7 the complement of the datum programmed to DQ7. This DQ7 status also applies to programming during Erase Suspend. When the Embedded Program algorithm is complete, the device outputs the datum programmed to DQ7. The system must provide the program address to read valid status information on DQ7. If a program address falls within a protected sector, Data# polling on DQ7 is active for approximately tPSP, then that bank returns to the read mode. During the Embedded Erase Algorithm, Data# polling produces a 0 on DQ7. When the Embedded Erase algorithm is complete, or if the bank enters the Erase Suspend mode, Data# Polling produces a 1 on DQ7. The system must provide an address within any of the sectors selected for erasure to read valid status information on DQ7. After an erase command sequence is written, if all sectors selected for erasing are protected, Data# Polling on DQ7 is active for approximately tASP, then the bank returns to the read mode. If not all selected sectors are protected, the Embedded Erase algorithm erases the unprotected sectors, and ignores the selected sectors that are protected. However, if the system reads DQ7 at an address within a protected sector, the status may not be valid. Just prior to the completion of an Embedded Program or Erase operation, DQ7 can change asynchronously with DQ6 – DQ0 while Output Enable (OE#) is asserted low. That is, the device may change from providing status information to valid data on DQ7. Depending on when the system November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 37 Preliminary samples the DQ7 output, it may read the status or valid data. Even if the device has completed the program or erase operation and DQ7 has valid data, the data outputs on DQ6 – DQ0 may be still invalid. Valid data on DQ7 – DQ0 appears on successive read cycles. See the following for more information: Table 7.18, Write Operation Status, shows the outputs for Data# Polling on DQ7. Figure 7.4, Write Operation Status Flowchart, shows the Data# Polling algorithm. Figure 11.13, Data# Polling Timings (During Embedded Algorithms) shows the Data# Polling timing diagram. 38 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary START Read 1 (Note 6) DQ7=valid data? NO YES Erase Operation Complete Read 1 DQ5=1? NO YES Read 2 YES Read3= valid data? NO YES Write Buffer Programming? Read 2 Read 3 Program Operation Failed YES Programming Operation? NO Read 3 Device BUSY, Re-Poll NO (Note 3) (Note 1) DQ6 toggling? YES TIMEOUT (Note 1) DQ6 toggling? NO (Note 2) Device BUSY, Re-Poll Read 2 DQ2 toggling? NO YES DEVICE ERROR (Note 5) (Note 4) Read3 DQ1=1? YES NO NO YES Device BUSY, Re-Poll Erase Operation Complete Device in Erase/Suspend Mode Read 3 Read3 DQ1=1 AND DQ7 ≠ Valid Data? YES Write Buffer Operation Failed NO Device BUSY, Re-Poll Notes: 1. DQ6 is toggling if Read2 DQ6 does not equal Read3 DQ6. 2. DQ2 is toggling if Read2 DQ2 does not equal Read3 DQ2. 3. May be due to an attempt to program a 0 to 1. Use the RESET command to exit operation. 4. Write buffer error if DQ1 of last read =1. 5. Invalid state, use RESET command to exit operation. 6. Valid data is the data that is intended to be programmed or all 1's for an erase operation. 7. Data polling algorithm valid for all operations except advanced sector protection. Figure 7.4 Write Operation Status Flowchart November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 39 Preliminary DQ6: Toggle Bit I . Toggle Bit I on DQ6 indicates whether an Embedded Program or Erase algo- rithm is in progress or complete, or whether the device has entered the Erase Suspend mode. Toggle Bit I can be read at any address in the same bank, and is valid after the rising edge of the final WE# pulse in the command sequence (prior to the program or erase operation), and during the sector erase time-out. During an Embedded Program or Erase algorithm operation, successive read cycles to any address cause DQ6 to toggle. When the operation is complete, DQ6 stops toggling. After an erase command sequence is written, if all sectors selected for erasing are protected, DQ6 toggles for approximately tASP (all sectors protected toggle time), then returns to reading array data. If not all selected sectors are protected, the Embedded Erase algorithm erases the unprotected sectors, and ignores the selected sectors that are protected. The system can use DQ6 and DQ2 together to determine whether a sector is actively erasing or is erase-suspended. When the device is actively erasing (that is, the Embedded Erase algorithm is in progress), DQ6 toggles. When the device enters the Erase Suspend mode, DQ6 stops toggling. However, the system must also use DQ2 to determine which sectors are erasing or erasesuspended. Alternatively, the system can use DQ7, see DQ7: Data# Polling. If a program address falls within a protected sector, DQ6 toggles for approximately tPAP after the program command sequence is written, then returns to reading array data. DQ6 also toggles during the erase-suspend-program mode, and stops toggling once the Embedded Program Algorithm is complete. See the following for additional information: Figure 7.4, Write Operation Status Flowchart, Figure 11.14, Toggle Bit Timings (During Embedded Algorithms), Table 7.18, Write Operation Status, and Figure 11.15, DQ2 vs. DQ6. Toggle Bit I on DQ6 requires either OE# or CE# to be de-asserted and reasserted to show the change in state. DQ2: Toggle Bit II . The Toggle Bit II on DQ2, when used with DQ6, indicates whether a partic- ular sector is actively erasing (that is, the Embedded Erase algorithm is in progress), or whether that sector is erase-suspended. Toggle Bit II is valid after the rising edge of the final WE# pulse in the command sequence. DQ2 toggles when the system reads at addresses within those sectors that have been selected for erasure. But DQ2 cannot distinguish whether the sector is actively erasing or is erase-suspended. DQ6, by comparison, indicates whether the device is actively erasing, or is in Erase Suspend, but cannot distinguish which sectors are selected for erasure. Thus, both status bits are required for sector and mode information. Refer to Table 7.18, Write Operation Status to compare outputs for DQ2 and DQ6. See the following for additional information: Figure 7.4, Write Operation Status Flowchart and Figure 11.14, Toggle Bit Timings (During Embedded Algorithms). Reading Toggle Bits DQ6/DQ2. Whenever the system initially begins reading toggle bit status, it must read DQ7 – DQ0 at least twice in a row to determine whether a toggle bit is toggling. Typically, the system would note and store the value of the toggle bit after the first read. After the second read, the system would compare the new value of the toggle bit with the first. If the toggle bit is not toggling, the device has completed the program or erases operation. The system can read array data on DQ7 – DQ0 on the following read cycle. However, if after the initial two read cycles, the system determines that the toggle bit is still toggling, the system also should note whether the value of DQ5 is high (see the section on DQ5). If it is, the system should then determine again whether the toggle bit is toggling, since the toggle bit might have stopped toggling just as DQ5 went high. If the toggle bit is no longer toggling, the device has successfully completed the program or erases operation. If it is still toggling, the device did not complete the operation successfully, and the system must write the reset command to return to reading array data. The remaining scenario is that the system initially determines that the toggle bit is toggling and DQ5 has not gone high. The system may continue to monitor the toggle bit and DQ5 through 40 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary successive read cycles, determining the status as described in the previous paragraph. Alternatively, it can choose to perform other system tasks. In this case, the system must start at the beginning of the algorithm when it returns to determine the status of the operation. Refer to Figure 7.4, Write Operation Status Flowchart for more details. DQ5: Exceeded Timing Limits. DQ5 indicates whether the program or erase time has exceeded a specified internal pulse count limit. Under these conditions DQ5 produces a 1, indicating that the program or erase cycle was not successfully completed. The device may output a 1 on DQ5 if the system tries to program a 1 to a location that was previously programmed to 0. Only an erase operation can change a 0 back to a 1, Under this condition, the device halts the operation, and when the timing limit has been exceeded, DQ5 produces a 1. Under both these conditions, the system must write the reset command to return to the read mode (or to the erase-suspend-read mode if a bank was previously in the erase-suspend-program mode). DQ3: Sector Erase Timeout State Indicator. After writing a sector erase command sequence, the system may read DQ3 to determine whether or not erasure has begun. (The sector erase timer does not apply to the chip erase command.) If additional sectors are selected for erasure, the entire time-out also applies after each additional sector erase command. When the time-out period is complete, DQ3 switches from a 0 to a 1. If the time between additional sector erase commands from the system can be assumed to be less than tSEA, the system need not monitor DQ3. See Sector Erase Command Sequence for more details. After the sector erase command is written, the system should read the status of DQ7 (Data# Polling) or DQ6 (Toggle Bit I) to ensure that the device has accepted the command sequence, and then read DQ3. If DQ3 is 1, the Embedded Erase algorithm has begun; all further commands (except Erase Suspend) are ignored until the erase operation is complete. If DQ3 is 0, the device accepts additional sector erase commands. To ensure the command has been accepted, the system software should check the status of DQ3 prior to and following each sub-sequent sector erase command. If DQ3 is high on the second status check, the last command might not have been accepted. Table 7.18 shows the status of DQ3 relative to the other status bits. DQ1: Write to Buffer Abort. DQ1 indicates whether a Write to Buffer operation was aborted. Under these conditions DQ1 produces a 1. The system must issue the Write to Buffer Abort Reset command sequence to return the device to reading array data. See Write Buffer Programming Operation for more details. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 41 Preliminary Table 7.18 Status Standard Mode Embedded Program Algorithm Embedded Erase Algorithm Reading within Program Suspended Sector Reading within Non-Program Suspended Sector Write Operation Status DQ7 (Note 2) DQ7# 0 INVALID (Not Allowed) Data 1 Data DQ7# 1 Data DQ7# DQ7# DQ7# DQ7# DQ6 Toggle Toggle INVALID (Not Allowed) Data No Toggle Data Toggle No toggle Data Toggle Toggle Toggle Toggle DQ5 (Note 1) 0 0 INVALID (Not Allowed) Data 0 Data 0 0 Data 0 0 1 0 DQ3 N/A 1 INVALID (Not Allowed) Data N/A Data N/A N/A Data N/A N/A N/A N/A DQ2 (Note 2) No toggle Toggle INVALID (Not Allowed) Data Toggle Data N/A Toggle Data N/A N/A N/A N/A DQ1 (Note 4) 0 N/A INVALID (Not Allowed) Data N/A Data N/A N/A Data N/A 0 0 1 Program Suspend Mode (Note 3) Erase Suspend Mode Erase-Suspend-Read Erase Suspended Sector Non-Erase Suspended Sector Erase-Suspend-Program Erase Suspended Sector Non-Erase Suspended Sector Erase Suspend Mode Erase-SuspendRead Erase-Suspend-Program Write to Buffer (Note 5) BUSY State Exceeded Timing Limits ABORT State Notes: 1. 2. 3. 4. 5. DQ5 switches to ‘1’ when an Embedded Program or Embedded Erase operation has exceeded the maximum timing limits. Refer to the section on DQ5 for more information. DQ7 a valid address when reading status information. Refer to the appropriate subsection for further details. Data are invalid for addresses in a Program Suspended sector. DQ1 indicates the Write to Buffer ABORT status during Write Buffer Programming operations. The data-bar polling algorithm should be used for Write Buffer Programming operations. Note that DQ7# during Write Buffer Programming indicates the data-bar for DQ7 data for the LAST LOADED WRITE-BUFFER ADDRESS location. 42 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 7.5 Simultaneous Read/Write The simultaneous read/write feature allows the host system to read data from one bank of memory while programming or erasing another bank of memory. An erase operation may also be suspended to read from or program another location within the same bank (except the sector being erased). Figure 11.12, Back-to-back Read/Write Cycle Timings shows how read and write cycles may be initiated for simultaneous operation with zero latency. See the table, DC Characteristics for read-while-program and read-while-erase current specifications. VCC VSS Mux Amax – A0 Bank A Address Y-gate Bank A X-Decoder Amax – A0 Bank B Address Bank B DQ15–DQ0 DQ15–DQ0 X-Decoder Amax–A0 RESET# WE# CE# WP#/ACC OE# State Control and Command Register RY/BY# Status DQ15 – DQ0 Control Mux DQ15–DQ0 DQ15–DQ0 Y-gate DQ0 – DQ15 Amax–A0 X-Decoder Bank C Address Bank C X-Decoder Amax – A0 Mux Bank D Address Bank D Note: Amax = A23 (PL256N), A22 (PL127N) Figure 7.5 Simultaneous Operation Block Diagram for S29PL256N and S29PL127N November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 43 Preliminary VCC VSS Mux A21 – A0 CE1# = L CE2# = H Bank 1A Bank 1A Address Y-gate X-Decoder A21 – A0 Bank 1B Address Bank 1B DQ15 – DQ0 X-Decoder A21 – A0 RESET# WE# CE1# CE2# WP#/ACC DQ15 – DQ0 OE# State Control and Command Register RY/BY# Status DQ15 – DQ0 Control DQ15 – DQ0 Mux CE1# = H CE2# = L DQ0 – DQ15 A21 – A0 X-Decoder X-Decoder A21 – A0 Mux Bank 2B Address Bank 2B Figure 7.6 Simultaneous Operation Block Diagram for S29PL129N 44 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 DQ15 – DQ0 Bank 2A Address Bank 2A Y-gate Preliminary 7.6 Writing Commands/Command Sequences During a write operation, the system must drive CE# and WE# to VIL and OE# to VIH when providing an address, command, and data. Addresses are latched on the last falling edge of WE# or CE#, while data is latched on the 1st rising edge of WE# or CE#. An erase operation can erase one sector, multiple sectors, or the entire device. Table 6.1 and Table 6.2 indicate the address space that each sector occupies. The device address space is divided into four banks: Banks B and C contain only 128 Kword sectors, while Banks A and D contain both 32 Kword boot sectors in addition to 128 Kword sectors. A bank address is the set of address bits required to uniquely select a bank. Similarly, a sector address is the address bits required to uniquely select a sector. ICC2 in DC Characteristics represents the active current specification for the write mode. see AC Characteristics contains timing specification tables and timing diagrams for write operations. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 45 Preliminary 7.7 Hardware Reset The RESET# input provides a hardware method of resetting the device to reading array data. When RESET# is driven low for at least a period of tRP, the device immediately terminates any operation in progress, tristates all outputs, and ignores all read/write commands for the duration of the RESET# pulse. The device also resets the internal state machine to reading array data. To ensure data integrity the operation that was interrupted should be reinitiated once the device is ready to accept another command sequence. When RESET# is held at VSS, the device draws CMOS standby current (ICC4). If RESET# is held at VIL, but not at VSS, the standby current is greater. RESET# may be tied to the system reset circuitry which enables the system to read the boot-up firmware from the Flash memory upon a system reset. See Figure 11.5 and Figure 11.8 for timing diagrams. 7.8 Software Reset Software reset is part of the command set (see Table 12.1) that also returns the device to array read mode and must be used for the following conditions: 1. 2. 3. 4. 5. To exit Autoselect mode To reset software when DQ5 goes high during write status operation that indicates program or erase cycle was not successfully completed To exit sector lock/unlock operation. To return to erase-suspend-read mode if the device was previously in Erase Suspend mode. To reset software after any aborted operations Software Functions and Sample Code Table 7.19 Cycle Reset Command Note: Base = Base Address. Reset Word Address Base + xxxh Data 00F0h (LLD Function = lld_ResetCmd) Operation Write The following is a C source code example of using the reset function. Refer to the Spansion Low Level Driver User’s Guide (available on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. /* Example: Reset (software reset of Flash state machine) */ *( (UINT16 *)base_addr + 0x000 ) = 0x00F0; The following are additional points to consider when using the reset command: This command resets the banks to the read and address bits are ignored. Reset commands are ignored once erasure has begun until the operation is complete. Once programming begins, the device ignores reset commands until the operation is complete The reset command may be written between the cycles in a program command sequence before programming begins (prior to the third cycle). This resets the bank to which the system was writing to the read mode. If the program command sequence is written to a bank that is in the Erase Suspend mode, writing the reset command returns that bank to the erase-suspend-read mode. The reset command may be also written during an Autoselect command sequence. 46 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary If a bank has entered the Autoselect mode while in the Erase Suspend mode, writing the reset command returns that bank to the erase-suspend-read mode. If DQ1 goes high during a Write Buffer Programming operation, the system must write the Write to Buffer Abort Reset command sequence to RESET the device to reading array data. The standard RESET command does not work during this condition. To exit the unlock bypass mode, the system must issue a two-cycle unlock bypass reset command sequence (see command tables for detail). November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 47 Preliminary 8 Advanced Sector Protection/Unprotection The Advanced Sector Protection/Unprotection feature disables or enables programming or erase operations in any or all sectors and can be implemented through software and/or hardware methods, which are independent of each other. This section describes the various methods of protecting data stored in the memory array. An overview of these methods in shown in Figure 8.1. Hardware Methods Software Methods Lock Register (One Time Programmable) Password Method (DQ2) Persistent Method (DQ1) (All boot sectors locked) WP# = VIL 64-bit Password (One Time Protect) PPB Lock Bit 0 = PPBs Locked (Notes 1, 2, 3) 1 = PPBs Unlocked Memory Array Sector 0 Sector 1 Sector 2 Persistent Protection Bit (PPD) (Notes 5, 6) Dynamic Protection Bit (DYB) (Notes 7, 8, 9) PPB 0 PPB 1 PPB 2 DYB 0 DYB 1 DYB 2 Sector N-2 Sector N-1 Sector N Notes: 1. 2. 3. 4. 5. (Note 4) PPB N-2 PPB N-1 PPB N DYB N-2 DYB N-1 DYB N Bit is volatile, and defaults to 1 on reset. Programming to 0 locks all PPBs to their current state. Once programmed to 0, requires hardware reset to unlock. N = Highest Address Sector. 0 = Sector Protected, 1 = Sector Unprotected. 6. PPBs programmed individually, but cleared collectively. 7. 0 = Sector Protected, 1 = Sector Unprotected. 8. Protect effective only if PPB Lock Bit is unlocked and corresponding PPB is 1 (unprotected). 9. Volatile Bits: defaults to user choice upon power-up (see ordering options). Figure 8.1 Advanced Sector Protection/Unprotection 48 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 8.1 Lock Register As shipped from the factory, all devices default to the persistent mode when power is applied, and all sectors are unprotected, unless otherwise chosen through the DYB ordering option (see Ordering Information). The device programmer or host system must then choose which sector protection method to use. Programming (setting to 0) any one of the following two one-time programmable, non-volatile bits locks the part permanently in that mode: Lock Register Persistent Protection Mode Lock Bit (DQ1) Lock Register Password Protection Mode Lock Bit (DQ2) Table 8.1 Device DQ15 – 05 DQ4 DYB Lock Boot Bit 0 = sectors power up protected 1 = sectors power up unprotected Lock Register DQ3 DQ2 DQ1 DQ0 S29PL256N Undefined PPB One-Time Programmable Bit 0 = All PPB erase command disabled 1 = All PPB Erase command enabled Password Protection Mode Lock Bit Persistent Protection Mode Lock Bit Secured Silicon Sector Protection Bit For programming lock register bits see Table 12.2. Notes 1. 2. If the password mode is chosen, the password must be programmed before setting the corresponding lock register bit. After the Lock Register Bits Command Set Entry command sequence is written, reads and writes for Bank A are disabled, while reads from other banks are allowed until exiting this mode. If both lock bits are selected to be programmed (to zeros) at the same time, the operation aborts. Once the Password Mode Lock Bit is programmed, the Persistent Mode Lock Bit is permanently disabled, and no changes to the protection scheme are allowed. Similarly, if the Persistent Mode Lock Bit is programmed, the Password Mode is permanently disabled. 3. 4. After selecting a sector protection method, each sector can operate in any of the following three states: 1. 2. 3. Constantly locked. The selected sectors are protected and cannot be reprogrammed unless PPB lock bit is cleared via a password, hardware reset, or power cycle. Dynamically locked. The selected sectors are protected and can be altered via software commands. Unlocked. The sectors are unprotected and can be erased and/or programmed. These states are controlled by the bit types described in Sections 8.2 – 8.6. 8.2 Persistent Protection Bits The Persistent Protection Bits are unique and nonvolatile for each sector and have the same endurances as the Flash memory. Preprogramming and verification prior to erasure are handled by the device, and therefore do not require system monitoring. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 49 Preliminary Notes 1. 2. 3. 4. 5. 6. 7. 8. 9. Each PPB is individually programmed and all are erased in parallel. Entry command disables reads and writes for the bank selected. Reads within that bank return the PPB status for that sector. Reads from other banks are allowed while writes are not allowed. All Reads must be performed using the Asynchronous mode. The specific sector addresses (A23 – A14 PL256N and A22 – A14 PL127N/PL129N) are written at the same time as the program command. If the PPB Lock Bit is set, the PPB Program or erase command does not execute and timesout without programming or erasing the PPB. There are no means for individually erasing a specific PPB and no specific sector address is required for this operation. Exit command must be issued after the execution which resets the device to read mode and re-enables reads and writes for Bank A. 10. The programming state of the PPB for a given sector can be verified by writing a PPB Status Read Command to the device as described by the flow chart below. 8.3 Dynamic Protection Bits Dynamic Protection Bits are volatile and unique for each sector and can be individually modified. DYBs only control the protection scheme for unprotected sectors that have their PPBs cleared (erased to 1). By issuing the DYB Set or Clear command sequences, the DYBs are set (programmed to 0) or cleared (erased to 1), thus placing each sector in the protected or unprotected state respectively. This feature allows software to easily protect sectors against inadvertent changes yet does not prevent the easy removal of protection when changes are needed. Notes 1. The DYBs can be set (programmed to 0) or cleared (erased to 1) as often as needed. When the parts are first shipped, the PPBs are cleared (erased to 1) and upon power up or reset, the DYBs can be set or cleared depending upon the ordering option chosen. If the option to clear the DYBs after power up is chosen, (erased to 1), then the sectorsmay be modified depending upon the PPB state of that sector. The sectors would be in the protected state If the option to set the DYBs after power up is chosen (programmed to 0). It is possible to have sectors that are persistently locked with sectors that are left in the dynamic state. The DYB Set or Clear commands for the dynamic sectors signify protected or unprotected state of the sectors respectively. However, if there is a need to change the status of the persistently locked sectors, a few more steps are required. First, the PPB Lock Bit must be cleared by either putting the device through a power-cycle, or hardware reset. The PPBs can then be changed to reflect the desired settings. Setting the PPB Lock Bit once again locks the PPBs, and the device operates normally again. To achieve the best protection, it is recommended to execute the PPB Lock Bit Set command early in the boot code and protect the boot code by holding WP# = VIL. Note that the PPB and DYB bits have the same function when WP#/ACC = V HH a s they do when WP#/ ACC = VIH. 2. 3. 4. 5. 6. 8.4 Persistent Protection Bit Lock Bit The Persistent Protection Bit Lock Bit is a global volatile bit for all sectors. When set (programmed to 0), this bit locks all PPB and when cleared (programmed to 1), unlocks each sector. There is only one PPB Lock Bit per device. 50 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary Notes 1. 2. No software command sequence unlocks this bit unless the device is in the password protection mode; only a hardware reset or a power-up clears this bit. The PPB Lock Bit must be set (programmed to 0) only after all PPBs are configured to the desired settings. 8.5 Password Protection Method The Password Protection Method allows an even higher level of security than the Persistent Sector Protection Mode by requiring a 64-bit password for unlocking the device PPB Lock Bit. In addition to this password requirement, after power up and reset, the PPB Lock Bit is set 0 to maintain the password mode of operation. Successful execution of the Password Unlock command by entering the entire password clears the PPB Lock Bit, allowing for sector PPBs modifications. Notes 1. There is no special addressing order required for programming the password. Once the Password is written and verified, the Password Mode Locking Bit must be set to prevent access. The Password Program Command is only capable of programming 0s. Programming a 1 after a cell is programmed as a 0 results in a time-out with the cell as a 0. The password is all 1s when shipped from the factory. All 64-bit password combinations are valid as a password. There is no means to verify what the password is after it is set. The Password Mode Lock Bit, once set, prevents reading the 64-bit password on the data bus and further password programming. The Password Mode Lock Bit is not erasable. The lower two address bits (A1 – A0) are valid during the Password Read, Password Program, and Password Unlock. The exact password must be entered in order for the unlocking function to occur. 2. 3. 4. 5. 6. 7. 8. 9. 10. The Password Unlock command cannot be issued any faster than 1 µs at a time to prevent a hacker from running through all the 64-bit combinations in an attempt to correctly match a password. 11. Approximately 1 µs is required for unlocking the device after the valid 64-bit password is given to the device. 12. Password verification is only allowed during the password programming operation. 13. All further commands to the password region are disabled and all operations are ignored. 14. If the password is lost after setting the Password Mode Lock Bit, there is no way to clear the PPB Lock Bit. 15. Entry command sequence must be issued prior to any of any operation and it disables reads and writes for Bank A. Reads and writes for other banks excluding Bank A are allowed. 16. If the user attempts to program or erase a protected sector, the device ignores the command and returns to read mode. 17. A program or erase command to a protected sector enables status polling and returns to read mode without having modified the contents of the protected sector. 18. The programming of the DYB, PPB, and PPB Lock for a given sector can be verified by writing individual status read commands DYB Status, PPB Status, and PPB Lock Status to the device. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 51 Preliminary Write Unlock Cycles: Address 555h, Data AAh Address 2AAh, Data 55h Unlock Cycle 1 Unlock Cycle 2 Write Enter Lock Register Command: Address 555h, Data 40h Program Lock Register Data Address XXXh, Data A0h Address 77h*, Data PD XXXh = Address don’t care * Not on future devices Program Data (PD): See text for Lock Register definitions Caution: Lock data may only be progammed once. Wait 4 µs Perform Polling Algorithm (see Write Operation Status flowchart) Yes Done? No DQ5 = 1? Yes No Error condition (Exceeded Timing Limits) PASS. Write Lock Register Exit Command: Address XXXh, Data 90h Address XXXh, Data 00h Device returns to reading array. FAIL. Write rest command to return to reading array. Figure 8.2 Lock Register Program Algorithm 52 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 8.6 Advanced Sector Protection Software Examples Table 8.2 Unique Device PPB Lock Bit 0 = locked, 1 = unlocked Any Sector Any Sector Any Sector Any Sector Any Sector Any Sector Any Sector Any Sector 0 0 0 0 1 1 1 1 Sector Protection Schemes Sector DYB 0 = protected 1 = unprotected x x 1 0 x x 0 1 Sector PPB 0 = protected 1 = unprotected 0 0 1 1 0 0 1 1 Sector Protection Status Protected through PPB Protected through PPB Unprotected Protected through DYB Protected through PPB Protected through PPB Protected through DYB Unprotected Table 8.2 contains all possible combinations of the DYB, PPB, and PPB Lock Bit relating to the status of the sector. In summary, if the PPB Lock Bit is locked (set to 0), no changes to the PPBs are allowed. The PPB Lock Bit can only be unlocked (reset to 1) through a hardware reset or power cycle. See also Figure 8.1 for an overview of the Advanced Sector Protection feature. 8.7 Hardware Data Protection Methods The device offers data protection at the sector level via hardware control: When WP#/ACC is at VIL, the four outermost sectors are locked (device specific). There are additional methods by which intended or accidental erasure of any sectors can be prevented via hardware means. The following subsections describes these methods: 8.7.1 WP# Method The Write Protect feature provides a hardware method of protecting the four outermost sectors. This function is provided by the WP#/ACC pin and overrides the previously discussed Sector Protection/Unprotection method. If the system asserts VIL on the WP#/ACC pin, the device disables program and erase functions in the outermost boot sectors. The outermost boot sectors are the sectors containing both the lower and upper set of sectors in a dual-boot-configured device. If the system asserts VIH on the WP#/ACC pin, the device reverts to whether the boot sectors were last set to be protected or unprotected. That is, sector protection or unprotection for these sectors depends on whether they were last protected or unprotected. Note that the WP#/ACC pin must not be left floating or unconnected as inconsistent behavior of the device may result. The WP#/ACC pin must be held stable during a command sequence execution 8.7.2 Low VCC Write Inhibit When VCC is less than VLKO, the device does not accept any write cycles. This protects data during VCC power-up and power-down. The command register and all internal program/erase circuits are disabled, and the device resets to reading array data. Subsequent writes are ignored until VCC is greater than VLKO. The system must provide the proper signals to the control inputs to prevent unintentional writes when VCC is greater than VLKO. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 53 Preliminary 8.7.3 Write Pulse Glitch Protection Noise pulses of less than 3 ns (typical) on OE#, CE# or WE# do not initiate a write cycle. 8.7.4 Power-Up Write Inhibit If WE# = CE# = RESET# = VIL and OE# = VIH during power up, the device does not accept commands on the rising edge of WE#. The internal state machine is automatically reset to the read mode on powerup. 54 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 9 9.1 Power Conservation Modes Standby Mode When the system is not reading or writing to the device, it can place the device in the standby mode. In this mode, current consumption is greatly reduced, and the outputs are placed in the high impedance state, independent of the OE# input. The device enters the CMOS standby mode when the CE# and RESET# inputs are both held at VCC ±0.2 V. The device requires standard access time (tCE) for read access, before it is ready to read data. If the device is deselected during erasure or programming, the device draws active current until the operation is completed. ICC3 in DC Characteristics represents the standby current specification 9.2 Automatic Sleep Mode The automatic sleep mode minimizes Flash device energy consumption while in asynchronous mode. the device automatically enables this mode when addresses remain stable for tACC + 20 ns. The automatic sleep mode is independent of the CE#, WE#, and OE# control signals. Standard address access timings provide new data when addresses are changed. While in sleep mode, output data is latched and always available to the system. ICC6 in DC Characteristics represents the automatic sleep mode current specification. 9.3 Hardware RESET# Input Operation The RESET# input provides a hardware method of resetting the device to reading array data. When RESET# is driven low for at least a period of tRP, the device immediately terminates any operation in progress, tristates all outputs, resets the configuration register, and ignores all read/ write commands for the duration of the RESET# pulse. The device also resets the internal state machine to reading array data. The operation that was interrupted should be reinitiated once the device is ready to accept another command sequence to ensure data integrity. When RESET# is held at VSS ±0.2 V, the device draws CMOS standby current (ICC4). If RESET# is held at VIL but not within VSS ±0.2 V, the standby current is greater. RESET# may be tied to the system reset circuitry and thus, a system reset would also reset the Flash memory, enabling the system to read the boot-up firmware from the Flash memory. 9.4 Output Disable (OE#) When the OE# input is at VIH, output from the device is disabled. The outputs are placed in the high impedance state. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 55 Preliminary 10 Secured Silicon Sector Flash Memory Region The Secured Silicon Sector provides an extra Flash memory region that enables permanent part identification through an Electronic Serial Number (ESN). The Secured Silicon Sector is 256 words in length that consists of 128 words for factory data and 128 words for customer-secured areas. All Secured Silicon reads outside of the 256-word address range returns invalid data. The Factory Indicator Bit, DQ7, (at Autoselect address 03h) is used to indicate whether or not the Factory Secured Silicon Sector is locked when shipped from the factory. The Customer Indicator Bit (DQ6) is used to indicate whether or not the Customer Secured Silicon Sector is locked when shipped from the factory. Note the following general conditions: While the Secured Silicon Sector access is enabled, simultaneous operations are allowed except for Bank A. On power up, or following a hardware reset, the device reverts to sending commands to the normal address space. Reads outside of sector 0 return memory array data. Sector 0 is remapped from the memory array to the Secured Silicon Sector array. Once the Secured Silicon Sector Entry Command is issued, the Secured Silicon Sector Exit command must be issued to exit Secured Silicon Sector Mode. The Secured Silicon Sector is not accessible when the device is executing an Embedded Program or Embedded Erase algorithm. Table 10.1 Sector Customer Factory Secured Silicon Sector Addresses Sector Size 128 words 128 words Address Range 000080h-0000FFh 000000h-00007Fh 10.1 Factory Secured Silicon Sector The Factory Secured Silicon Sector is always protected when shipped from the factory and has the Factory Indicator Bit (DQ7) permanently set to a 1. This prevents cloning of a factory locked part and ensures the security of the ESN and customer code once the product is shipped to the field. These devices are available pre programmed with one of the following: A random, 8-word secure ESN only within the Factory Secured Silicon Sector Customer code within the Customer Secured Silicon Sector through the SpansionTM programming service. Both a random, secure ESN and customer code through the Spansion programming service. Customers may opt to have their code programmed through the Spansion programming services. Spansion programs the customer's code, with or without the random ESN. The devices are then shipped from the Spansion factory with the Factory Secured Silicon Sector and Customer Secured Silicon Sector permanently locked. Contact your local representative for details on using Spansion programming services. 56 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 10.2 Customer Secured Silicon Sector The Customer Secured Silicon Sector is typically shipped unprotected (DQ6 set to 0), allowing customers to utilize that sector in any manner they choose. If the security feature is not required, the Customer Secured Silicon Sector can be treated as an additional Flash memory space. Please note the following: Once the Customer Secured Silicon Sector area is protected, the Customer Indicator Bit is permanently set to 1. The Customer Secured Silicon Sector can be read any number of times, but can be programmed and locked only once. The Customer Secured Silicon Sector lock must be used with caution as once locked, there is no procedure available for unlocking the Customer Secured Silicon Sector area and none of the bits in the Customer Secured Silicon Sector memory space can be modified in any way. The accelerated programming (ACC) and unlock bypass functions are not available when programming the Customer Secured Silicon Sector, but are available when reading in Banks B through D. Once the Customer Secured Silicon Sector is locked and verified, the system must write the Exit Secured Silicon Sector Region command sequence which return the device to the memory array at sector 0. 10.3 Secured Silicon Sector Entry and Exit Command Sequences The system can access the Secured Silicon Sector region by issuing the three-cycle Enter Secured Silicon Sector command sequence. The device continues to access the Secured Silicon Sector region until the system issues the four-cycle Exit Secured Silicon Sector command sequence. See the Command Definition Tables Table 12.1, Memory Array Commands. Table 12.2, Sector Protection Commands for address and data requirements for both command sequences. The Secured Silicon Sector Entry Command allows the following commands to be executed Read customer and factory Secured Silicon areas Program the customer Secured Silicon Sector After the system has written the Enter Secured Silicon Sector command sequence, it may read the Secured Silicon Sector by using the addresses normally occupied by sector SA0 within the memory array. This mode of operation continues until the system issues the Exit Secured Silicon Sector command sequence, or until power is removed from the device. Software Functions and Sample Code The following are C functions and source code examples of using the Secured Silicon Sector Entry, Program, and exit commands. Refer to the Spansion Low Level Driver User Guide (available soon on www.amd.com and www.fujitsu.com) for general information on Spansion Flash memory software development guidelines. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 57 Preliminary Table 10.2 Cycle Unlock Cycle 1 Unlock Cycle 2 Entry Cycle Note: Base = Base Address. /* Example: SecSi Sector *((UINT16 *)base_addr + *((UINT16 *)base_addr + *((UINT16 *)base_addr + Entry Command */ 0x555) = 0x00AA; 0x2AA) = 0x0055; 0x555) = 0x0088; Secured Silicon Sector Entry Operation Write Write Write Word Address Base + 555h Base + 2AAh Base + 555h Data 00AAh 0055h 0088h (LLD Function = lld_SecSiSectorEntryCmd) /* write unlock cycle 1 /* write unlock cycle 2 /* write Secsi Sector Entry Cmd */ */ */ Table 10.3 Cycle Unlock Cycle 1 Unlock Cycle 2 Program Setup Program Secured Silicon Sector Program Word Address Base + 555h Base + 2AAh Base + 555h Word Address Data 00AAh 0055h 00A0h Data Word (LLD Function = lld_ProgramCmd) Operation Write Write Write Write Note: Base = Base Address. /* Once in the SecSi Sector mode, you program */ /* words using the programming algorithm. */ Table 10.4 Cycle Unlock Cycle 1 Unlock Cycle 2 Exit Cycle Note: Base = Base Address. /* Example: SecSi Sector *((UINT16 *)base_addr + *((UINT16 *)base_addr + *((UINT16 *)base_addr + *((UINT16 *)base_addr + Exit Command */ 0x555) = 0x00AA; 0x2AA) = 0x0055; 0x555) = 0x0090; 0x000) = 0x0000; Secured Silicon Sector Exit Word Address Base + 555h Base + 2AAh Base + 555h Data 00AAh 0055h 0090h (LLD Function = lld_SecSiSectorExitCmd) Operation Write Write Write /* /* /* /* write write write write unlock cycle unlock cycle SecSi Sector SecSi Sector 1 2 Exit cycle 3 Exit cycle 4 */ */ */ */ 58 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 11 11.1 Electrical Specifications Absolute Maximum Ratings Storage Temperature Plastic Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –65°C to +150°C Ambient Temperature with Power Applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –65°C to +125°C Voltage with Respect to Ground: All Inputs and I/Os except as noted below (Note 1). . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VIO + 0.5 V VCC (Note 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .–0.5 V to +4.0 V VIO (Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to +4.0V ACC (Note 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to +10.5 V Output Short Circuit Current (Note 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 mA Notes: 1. 2. 3. 4. Minimum DC voltage on input or I/Os is –0.5 V. During voltage transitions, inputs or I/Os may undershoot VSS to –2.0 V for periods of up to 20 ns. See Figure 11.1. Maximum DC voltage on input or I/Os is VCC + 0.5 V. During voltage transitions outputs may overshoot to VCC + 2.0 V for periods up to 20 ns. See Figure 11.2. Minimum DC input voltage on pin WP#⁄ACC is –0.5 V. During voltage transitions, WP#⁄ACC may overshoot VSS to 2.0 V for periods of up to 20 ns. See Figure 11.1. Maximum DC voltage on pin WP#⁄ACC is +9.5 V, which may overshoot to 10.5 V for periods up to 20 ns. No more than one output may be shorted to ground at a time. Duration of the short circuit should not be greater than one second. Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational sections of this data sheet is not implied. Exposure of the device to absolute maximum rating conditions for extended periods may affect device reliability. 20 ns +0.8 V –0.5 V –2.0 V 20 ns 20 ns Figure 11.1 Maximum Negative Overshoot Waveform 20 ns VCC +2.0 V VCC +0.5 V 2.0 V 20 ns 20 ns Figure 11.2 Maximum Positive Overshoot Waveform November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 59 Preliminary 11.2 Operating Ranges Wireless (W) Devices Ambient Temperature (TA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –25°C to +85°C Industrial (I) Devices Ambient Temperature (TA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –40°C to +85°C Supply Voltages VCC Supply Voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .+2.7 V to 3.1 V or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +2.7 V to +3.6 V (Note 3) Notes: 1. 2. 3. Operating ranges define those limits between which the functionality of the device is guaranteed. For all AC and DC specifications, VIO = VCC. Voltage range of 2.7 – 3.1 V valid for PL-N MCP products. 11.3 Test Conditions Device Under Test CL Figure 11.3 Table 11.1 Test Setup Test Specifications All Speeds 30 VCC = 3.0 V VCC = 3.0 V 5 0.0 – 3.0 VCC/2 VCC/2 Unit pF ns V V V Test Condition Output Load Capacitance, CL (including jig capacitance) Input Rise and Fall Times Input Pulse Levels Input timing measurement reference levels Output timing measurement reference levels 11.4 Key to Switching Waveforms WAVEFORM INPUTS Steady Changing from H to L Changing from L to H Don’t Care, Any Change Permitted Does Not Apply Changing, State Unknown Center Line is High Impedance State (High Z) OUTPUTS 60 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 11.5 Switching Waveforms All Inputs and Outputs VIO 0.0 V Input VCC/2 Measurement Level VCC/2 Output Figure 11.4 Input Waveforms and Measurement Levels 11.6 VCC Power Up Parameter tVCS tREAD Description VCC Setup Time Time between RESET# high and CE# low Test Setup Min Min Speed 250 200 Unit µs ns Notes: 1. 2. VCC ramp rate must exceed 1 V/400 µs. VIO is internally connected to VCC. VCC VCC min tVCS VIH RESET# tRead CE# Figure 11.5 VCC Power-Up Diagram November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 61 Preliminary 11.7 DC Characteristics 11.7.1 DC Characteristics (VCC = 2.7 V to 3.6 V) (CMOS Compatible) Parameter Symbol ILI ILO ICC1 ICC2 ICC3 ICC4 ICC5 ICC6 ICC7 ICC8 VIL VIH VHH VOL VOH VLKO Parameter Description (Notes) Input Load Current Output Leakage Current VCC Active Read Current (1, 3) VCC Active Write Current (3) VCC Standby Current VCC Reset Current Automatic Sleep Mode (4) VCC Active Read-While-Write Current (1) Test Conditions VIN = VSS to VCC, VCC = VCC max Min (Note 2) (6) Typ (Note 2) Max ±2.0 ±1.0 Unit µA µA mA mA µA µA µA mA mA mA V V V V V VOUT = VSS to VCC, OE# = VIH VCC = VCC max (6) OE# = VIH, VCC = VCC max (1, 6) OE# = VIH, WE# = VIL CE# (7), RESET#, WP#/ACC = VCC ± 0.3 V RESET# = VSS ± 0.3 V VIH = VCC ±0.3 V; VIL = VSS ± 0.3 V OE# = VIH 5 MHz 5 MHz 30 25 20 300 20 35 27 40 MHz –0.5 2.0 8.5 6 45 50 40 500 40 50 55 10 0.8 VCC + 0.3 9.5 0.1 VCC Active Program-While-EraseOE# = VIH Suspended Current (5) VCC Active Page Read Current Input Low Voltage Input High Voltage Voltage for ACC Program Acceleration Output Low Voltage Output High Voltage Low VCC Lock-Out Voltage (5) OE# = VIH, 8 word Page Read VCC = 2.7 to 3.6 V VCC = 2.7 to 3.6 V VCC = 3.0 V ±10% (6) IOL = 100 µA, VCC = VCC min (6) IOH = –100 µA (6) VCC – 0.2 2.3 2.5 V Notes: 1. 2. 3. 4. 5. 6. 7. The ICC current listed is typically less than 5 mA/MHz, with OE# at VIH. Maximum ICC specifications are tested with VCC = VCC max, TA = TAmax. Typical ICC specifications are with typical VCC=3.0 V, TA = +25°C. ICC is active while Embedded Erase or Embedded Program is in progress. Automatic sleep mode enables the low power mode when addresses remain stable for tACC +30 ns. Typical sleep mode current is 1 µA. Not 100% tested. The data in the table is for VCC range 2.7 V to 3.6 V (recommended for standalone applications). CE1# and CE2# for the PL129N. 62 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary 11.7.2 DC Characteristics (VCC = 2.7 V to 3.1 V) (CMOS Compatible) Parameter Symbol ILI ILO ICC1 ICC2 ICC3 ICC4 ICC5 ICC6 ICC7 ICC8 VIL VIH VHH VOL VOH VLKO Parameter Description (Notes) Input Load Current Output Leakage Current VCC Active Read Current (1, 2) VCC Active Write Current (2, 3) VCC Standby Current (2) VCC Reset Current (2) Automatic Sleep Mode (2, 4) VCC Active Read-While-Write Current (1, 2) VCC Active Program-While-EraseSuspended Current (2, 5) VCC Active Page Read Current (2) Input Low Voltage Input High Voltage Test Conditions VIN = VSS to VCC, VCC = VCC max Min (6) Typ Max ±2 ±1 Unit µA µA mA mA µA µA µA mA mA mA V V V V V VOUT = VSS to VCC, OE# = VIH VCC = VCC max (6) OE# = VIH, VCC = VCC max (1, 6) OE# = VIH, WE# = VIL CE# (7), RESET#, WP#/ACC = VCC ± 0.3 V RESET# = VSS ± 0.3 V VIH = VCC ±0.3 V; VIL = VSS ± 0.1 V OE# = VIH OE# = VIH OE# = VIH, 8 word Page Read VCC = 2.7 to 3.6 V VCC = 2.7 to 3.6 V IOL = 100 µA, VCC = VCC min (6) IOH = –100 µA (6) VCC – 0.2 2.3 40 MHz –0.5 2.0 8.5 5 MHz 5 MHz 28 22 20 300 20 33 24 6 40 40 40 500 40 45 45 9 0.8 VCC + 0.3 9.5 0.1 Voltage for ACC Program Acceleration VCC = 3.0 V ±10% (6) Output Low Voltage Output High Voltage Low VCC Lock-Out Voltage (5) 2.5 V Notes: 1. 2. 3. 4. 5. 6. 7. The ICC current listed is typically less than 5 mA/MHz, with OE# at VIH. Maximum ICC specifications are tested with VCC = VCC max, TA = TAmax. Typical ICC specifications are with typical VCC=2.9 V, TA = +25°C. ICC active while Embedded Erase or Embedded Program is in progress. Automatic sleep mode enables the low power mode when addresses remain stable for tACC + 30 ns. Typical sleep mode current is 1 µA. Not 100% tested. Data in table is for VCC range 2.7 V to 3.1 V (recommended for MCP applications) CE1# and CE2# for the PL129N. November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 63 Preliminary 11.8 AC Characteristics 11.8.1 Read Operations Parameter JEDEC tAVAV tAVQV tELQV Std. tRC Read Cycle Time (1) CE#, OE# = VIL OE# = VIL Description (Notes) Test Setup Min Max Max Max Max Max Max Min Min Min Speed Options 65 65 65 65 25 25 70 70 70 70 30 30 16 16 5 0 10 80 80 80 80 30 30 Unit ns ns ns ns ns ns ns ns ns ns tACC Address to Output Delay tCE Chip Enable to Output Delay (5) tPACC Page Access Time tGLQV tEHQZ tGHQZ tAXQX tOE tDF tDF tOH Output Enable to Output Delay Chip Enable to Output High Z (3) Output Enable to Output High Z (1, 3) Output Hold Time From Addresses, CE# or OE#, Whichever Occurs First (3) Read Toggle and Data# Polling tOEH Output Enable Hold Time (1) Notes: 1. 2. 3. 4. 5. Not 100% tested. See Figure 11.3 and Table 11.1 for test specifications Measurements performed by placing a 50 ohm termination on the data pin with a bias of VCC /2. The time from OE# high to the data bus driven to VCC /2 is taken as tDF. For 70pf Output Load Capacitance, 2 ns is added to the above tACC ,tCE ,tPACC ,tOE values for all speed grades CE1# and CE2# for the PL129N. 11.8.2 Read Operation Timing Diagrams tRC Addresses CE# tRH tRH OE# tOEH WE# HIGH Z Data RESET# RY/BY# Valid Data tCE tOH HIGH Z tOE tDF Addresses Stable tACC 0V Figure 11.6 Read Operation Timings 64 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary A22 to A3 Same page Addresses A2 to A0 Aa Aa+1 Aa+2 Aa+3 Aa+4 Aa+5 Aa+6 Aa+7 tACC tCE CE# OE# tOEH tOE tDF WE# High-Z tPACC tOH tPACC tOH Da+1 tPACC tOH Da+2 tPACC tOH Da+3 tPACC tOH Da+4 tPACC tOH Da+5 tPACC tOH Da+6 tOH Da+7 Output Da Figure 11.7 Page Read Operation Timings 11.8.3 Hardware Reset (RESET#) Parameter Description JEDEC Std. All Speed Options Unit tRP tRH RESET# Pulse Width Reset High Time Before Read (See Note) Min Min 30 200 µs ns Note: Not 100% tested. CE#, OE# tRH RESET# tRP Figure 11.8 Reset Timings November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 65 Preliminary 11.8.4 Erase/Program Timing Parameter JEDEC tAVAV tAVWL Std tWC tAS tASO tWLAX tAH tAHT tDVWH tWHDX tDS tDH tOEPH tGHWL tELWL tWHEH tWLWH tWHDL tGHWL tCS tCH tWP tWPH tSR/W tWHWH1 tWHWH1 tWHWH2 tWHWH1 tWHWH1 tWHWH2 tVHH tRB tBUSY tWEP tSEA tESL tPSL tASP tPSP Write Cycle Time (1) Address Setup Time Address Setup Time to OE# low during toggle bit polling Address Hold Time Address Hold Time From CE# or OE# high during toggle bit polling Data Setup Time Data Hold Time Output Enable High during toggle bit polling Read Recovery Time Before Write (OE# High to WE# Low) CE# Setup Time CE# Hold Time Write Pulse Width Write Pulse Width High Latency Between Read and Write Operations Programming Operation Accelerated Programming Operation Sector Erase Operation VHH Rise and Fall Times Write Recovery Time from RY/BY# Program/Erase Valid to RY/BY# Delay Noise Pulse Margin on WE# Sector Erase Accept Time-out Erase Suspend Latency Program Suspend Latency Toggle Time During Sector Protection Toggle Time During Programming Within a Protected Sector Description (Notes) Min Min Min Min Min Min Min Min Min Min Min Min Min Min Typ Typ Typ Min Min Max Max Max Max Max Typ Typ Speed Options 65 65 70 70 0 15 35 0 30 0 10 0 0 0 40 25 0 40 24 1.6 250 0 90 3 50 20 20 100 1 80 80 Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns µs µs sec ns ns ns ns µs µs µs µs µs Notes: 1. 2. 3. 4. Not 100% tested. In program operation timing, addresses are latched on the falling edge of WE#. See Program/Erase Operations for more information. Does not include the preprogramming time. 66 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary Program Command Sequence (last two cycles) tWC Addresses 555h tAS PA tAH CE# OE# tWP WE# tCS tDS Data tDH PD tBUSY RY/BY# tWPH Read Status Data (last two cycles) PA PA tCH tWHWH1 A0h Status DOUT tRB VCC tVCS Note: PA = program address, PD = program data, DOUT is the true data at the program address Figure 11.9 Program Operation Timings VHH WP#/ACC VIL or VIH tVHH tVHH VIL or VIH Figure 11.10 Accelerated Program Timing Diagram November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 67 Preliminary Erase Command Sequence (last two cycles) tWC Addresses 2AAh tAS SA 555h for chip erase Read Status Data VA tAH VA CE# OE# tWP WE# tCS tDS tCH tWPH tWHWH2 tDH Data 55h 30h 10 for Chip Erase Status DOUT tBUSY RY/BY# tVCS VCC tRB Note: SA = sector address (for Sector Erase), VA = Valid Address for reading status data (see Write Operation Status) Figure 11.11 Chip/Sector Erase Operation Timings tWC Addresses tAS CE# Valid PA tRC Valid RA tWC Valid PA tWC Valid PA tAH tACC tCE tOE OE# tOEH tWP WE# tWPH tDS tDH Data Valid In tAS tCPH tAH tCP tGHWL tDF tOH Valid Out Valid In Valid In tSR/W WE# Controlled Write Cycle Read Cycle CE# Controlled Write Cycles Figure 11.12 Back-to-back Read/Write Cycle Timings 68 S29PL-N MirrorBit™ Flash Family S29PL-N_00_A4 November 23, 2005 Preliminary tRC Addresses VA tACC tCE CE# tCH OE# tOEH WE# tOH DQ7 High Z VA VA tOE tDF Complement Complement True Valid Data High Z DQ6–DQ0 tBUSY RY/BY# Status Data Status Data True Valid Data Note: VA = Valid address. Illustration shows first status cycle after command sequence, last status read cycle, and array data read cycle Figure 11.13 Data# Polling Timings (During Embedded Algorithms) tAHT Addresses tAS tAHT tASO CE# tOEH WE# tOEPH OE# tDH DQ6/DQ2 Valid Data Valid Status tCEPH tOE Valid Status Valid Status Valid Data (first read) RY/BY# (second read) (stops toggling) Note: VA = Valid address; not required for DQ6. Illustration shows first two status cycle after command sequence, last status read cycle, and array data read cycle Figure 11.14 Toggle Bit Timings (During Embedded Algorithms) November 23, 2005 S29PL-N_00_A4 S29PL-N MirrorBit™ Flash Family 69 Preliminary Enter Embedded Erasing WE# Erase Suspend Erase Enter Erase Suspend Program Erase Suspend Program Erase Resume Erase Suspend Read Erase Erase Complete Erase Suspend Read DQ6 DQ2 Note: DQ2 toggles only when read at an address within an erase-suspended sector. The system may use OE# or CE# to toggle DQ2 and DQ6. Figure 11.15 DQ2 vs. DQ6 11.8.5 Erase and Programming Performance Parameter (Notes) 128 Kword Sector Erase Time 32 Kword Device Condition VCC ACC VCC ACC VCC Chip Erase Time ACC VCC ACC VCC ACC VCC ACC VCC Chip Programming Time using 32-Word Buffer (3) ACC Erase Suspend/Erase Resume Program Suspend/Program Resume Typ (Note 1) 1.6 1.6 0.3 0.3 202 (PL256N) 100 (PL127N) 100(PL129N) 130 (PL256N) 65 (PL127N) 65 (PL129N) 40 24 9.4 6 300 192 157.3 (PL256N) 78.6 (PL127N) 78.6 (PL129N) 100 (PL256N) 50 (PL127N) 50 (PL129N) Max (Note 2) 7 7 4 4 900 (PL256N) 450 (PL127N) 450 (PL129N) 512 (PL256N) 256 (PL127N) 256 (PL129N) 400 240 94 60 3000 1920 315 (PL256N) 158 (PL127N) 158 (PL129N) 200 (PL256N) 100 (PL127N) 100 (PL129N)
S29PL129N80GAI002 价格&库存

很抱歉,暂时无法提供与“S29PL129N80GAI002”相匹配的价格&库存,您可以联系我们找货

免费人工找货