When is Data Susceptible to Corruption

Similar documents
Battery-Voltage. 16K (2K x 8) Parallel EEPROMs AT28BV16. Features. Description. Pin Configurations

Parallel EEPROM Die Products. Die Products. Features. Description. Testing

1-Megabit (128K x 8) Low Voltage Paged Parallel EEPROMs

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

2-wire Serial EEPROM AT24C512. Preliminary. 2-Wire Serial EEPROM 512K (65,536 x 8) Features. Description. Pin Configurations.

Secure Microcontrollers for Smart Cards. AT90SC Summary

Battery-Voltage. 256K (32K x 8) Parallel EEPROMs AT28BV256. Features. Description. Pin Configurations

256K (32K x 8) 3-volt Only Flash Memory

EPROM. Application Note CMOS EPROM. Interfacing Atmel LV/BV EPROMs on a Mixed 3-Volt/5- Volt Data Bus

OrCAD Support for Atmel PLDs. Application Note. OrCAD Support for Atmel PLDs. Overview

AT17A Series FPGA Configuration EEPROM Memory. Application Note. FPGAs. AT17A Series Conversions from Altera FPGA Serial Configuration Memories

Preparations. Creating a New Project

Interrupt Controlled UART

Atmel-Synario CPLD/PLD Design Software ATDS1100PC ATDS1120PC ATDS1130PC ATDS1140PC. Features. Description

4-Megabit (512K x 8) 5-volt Only 256-Byte Sector Flash Memory AT29C040A. Features. Description. Pin Configurations

2-wire Serial EEPROM AT24C512

2-wire Serial EEPROMs AT24C128 AT24C256. Features. Description. Pin Configurations. 128K (16,384 x 8) 256K (32,768 x 8)

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

DIP Top View VCC WE A17 NC A16 A15 A12 A14 A13 A8 A9 A11 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 A10 CE I/O7 I/O6 I/O5 I/O4 I/O3 I/O1 I/O2 GND.

a Serial Peripheral Interace (SPI). Embedded RISC Microcontroller Core Peripheral

64K (8K x 8) Low-voltage Parallel EEPROM with Page Write and Software Data Protection AT28LV64B. 3-Volt, 64K E 2 PROM with Data Protection

AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator

1-Megabit (128K x 8) 5-volt Only Flash Memory AT29C010A. Features. Description. Pin Configurations

3-wire Serial EEPROMs AT93C46 AT93C56 AT93C57 AT93C66

Product Description. Application Note. AVR360: XmodemCRC Receive Utility for the AVR. Features. Theory of Operation. Introduction

design cycle involving simulation, synthesis

FPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction.

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49BV040T AT49LV040 AT49LV040T

ATICE10... User Guide

AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs

AT17(A) Series FPGA Configuration Memory. Application Note

FPGA Configuration EEPROM Memory AT17C020A AT17LV020A

AT40K FPGA IP Core AT40K-FFT. Features. Description

1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025

TSC695. Application Note. Annulled Cycle Management on the TSC695. References

hex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

SOIC VCC RESET A11 A10 A9 A8 A7 A6 A5 A4 A12 A13 A14 A15 A16 A17 A18 A19 NC NC NC NC I/O0 RDY/BUSY I/O1 I/O7 I/O6 I/O5 I/O4 VCC I/O2 I/O3 GND GND

8-Megabit 5-volt Only Serial DataFlash AT45D081. Features. Description

1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025

DIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17

Programming Flash Devices

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM. Features. Description. Pin Configurations 8-Pin PDIP. 1K (128 x 8) 2K (256 x 8)

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers

AT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller.

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART

Section 1 ATAVRAUTOEK1 Getting Started

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by

MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide

AT45DB Megabit 2.7-Volt Only Serial DataFlash AT45DB041. Features. Description. Pin Configurations

FPGA Configuration EEPROM Memory AT17C65 AT17LV65 AT17C128 AT17LV128 AT17C256 AT17LV256

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040 AT49LV040

FPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description

TSSOP CLK/IN IN IN IN IN IN IN IN IN IN IN GND VCC IN I/O I/O I/O I/O I/O I/O I/O I/O IN OE/IN CLK/IN 1 VCC

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

Two-wire Serial EEPROM Smart Card Modules 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) 16K (2048 x 8)

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

256K (32K x 8) Paged Parallel EEPROMs AT28C256. Features. Description

256 (32K x 8) High-speed Parallel EEPROM AT28HC256N. Features. Description. Pin Configurations

8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR

AT89C5131 Starter Kit... Software User Guide

2-wire Serial EEPROM AT24C21. 2-Wire, 1K Serial EEPROM. Features. Description. Not Recommended for New Designs. Pin Configurations.

256 (32K x 8) High-speed Parallel EEPROM AT28HC256

AT89STK-09 Starter Kit for AT83C26... User Guide

UART. Embedded RISC Microcontroller Core Peripheral

Interfacing the internal serial EEPROM

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

ATAVRAUTO User Guide

2-Wire Serial EEPROM AT24C01. Features. Description. Pin Configurations. 1K (128 x 8)

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

1-megabit (64K x 16) 3-volt Only Flash Memory AT49BV1024A AT49LV1024A

DIP Top View VCC RESET A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

Migration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers

shown in Figure 3. An example where the command 0x35 is sent to system 5 is shown in Figure 4. Figure 2. RC5 Frame Format Figure 3.

Highperformance EE PLD ATF16V8B ATF16V8BQ ATF16V8BQL. Features. Block Diagram. All Pinouts Top View

Application Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers

3-Wire Serial EEPROM AT93C46C

DIP Top View VCC A12 A14 A13 A6 A5 A4 A3 A2 A1 A0 A8 A9 A11 A10 I/O7 I/O6 I/O0 I/O1 I/O2 I/O5 I/O4 I/O3 GND. TSOP Top View Type 1 A11 A9 A8 A13 A14

AVR32 UC3 Software Framework... User Manual

Serial DataFlash. Application Note. Using Atmel s Serial DataFlash. Introduction (AN-4)

SPI Serial EEPROMs AT25010 AT25020 AT SPI, 1K Serial E 2 PROM

Bluetooth General Information White Paper

2-wire Serial EEPROMs AT24C128 AT24C256

256K (32K x 8) 5-volt Only Flash Memory AT29C256

32-megabit 2.7-volt Only Serial DataFlash AT45DB321. AT45DB321 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash

ATAVRAUTO User Guide

256K (32K x 8) 5-volt Only Flash Memory AT29C256

64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B. Features. Description. Pin Configurations

a clock signal and a bi-directional data signal (SCL, SDA)

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

512K (64K x 8) 5-volt Only Flash Memory AT29C512

AT17LV(A) Series FPGA Configuration Memory. Application Note. Programming Specification for AT17LV(A) Series FPGA Configuration Memories

1-megabit 2.7-volt Only Serial DataFlash AT45DB011. AT45DB011 Preliminary 16- Megabit 2.7-volt Only Serial DataFlash

Programmable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier

CAN, 80C51, AVR, Microcontroller. Application Note

Transcription:

Parallel EEPROM Data Protection Advantages of EEPROMs EEPROMs provide the memory solution wherever reprogrammable, nonvolatile memory is required. They are easy to use, requiring little or no support hardware such as refresh clocks or batteries. Each memory location can be selectively changed without impact on any other location; blanket erasure and rewriting of the entire device or a large section of it is not required. EEPROMs made at Atmel were designed to provide the best features available. Atmel EEPROMs provide high speed read access times so that many applications can use them without inserting costly wait states. The page mode write operation of Atmel EEPROMs allows for the fastest effective write time available in EEPROM memories. Since all of Atmel s devices are made in CMOS, they offer the benefits of low operating and standby power. In order to take advantage of all of the benefits of Atmel EEPROMs, care must be taken to maintain the integrity of the data. While an EEPROM will retain its data for many years with or without power applied, improper operation of the device could result in data being inadvertently rewritten. When is Data Susceptible to Corruption In the use of any memory device, it is expected that the data stored in it is available as it is written. This is especially true of EEPROMs since their code often controls the operation of the system in which they are contained. Unlike most other memory types that are rewritten in systems, EEPROMs are often expected to retain their data for a period of many years, with or without power applied and during power transitions. For these reasons, added attention is given to avoid corrupting data in EEPROMs. Parallel EEPROMs Application Note Figure 1. Hardware Data Protection - Power Level Sense Detector and Power On Delay Timer Rev. 0543C 10/98 1

There are a number of situations in which data is particularly prone to corruption. These situations include powering on and off of the devices, noise spikes on the control lines and system glitches. Atmel EEPROMs include features to help protect against each of these potential sources of inadvertent writes. Atmel data protection features are broken down into two different types: hardware data protection features and software data protection features. Atmel Hardware Data Protection Features Atmel EEPROMs include four different types of hardware data protection. These features provide protection against most inadvertent writes that might occur in a system. Atmel hardware data protection features include: three line write control, power level sense detector, power on delay timer and noise filters on CE and WE. THREE-LINE WRITE CONTROL: In order to write a device the OE signal must be high with the CE and WE signals low. Holding any of the three lines in the opposite state will prohibit a write cycle. For example, whenever the OE signal is low, a write to the device cannot be started. POWER LEVEL SENSE DETECTOR: An active circuit in Atmel EEPROMs monitors the level of the supply voltage to the device. If the supply is below 3.8 volts, typical, write cycles to the devices can not be activated. POWER ON DELAY TIMER: As power is applied to Atmel EEPROMs, the power level sense detector will issue an internal signal that indicates that the supply is above the sense level. At this time an internal timer is initiated that times out in typically 5 ms. During this time period, writes to the device cannot be performed. This delay period serves two purposes. First, it allows the supply level additional Figure 2. Hardware Data Protection - Noise Filter time to rise to within the standard operating region before writes are permitted. Secondly, it lets the system stabilize and present the correct levels to the control pins of the EEPROM so that the EEPROM doesn t react to its inputs before they are actually valid. Figure 1 shows the combined action of the power supply level detector and the delay timer upon writes to the device. NOISE FILTERS ON WE AND CE: If brief noise pulses below V IH occur on the WE or CE inputs to the device, a write cycle will not be initiated. Internal to the EEPROM, a noise filter does not allow the short pulses to activate a write cycle. As shown in Figure 2, write pulses of sufficient length will still initiate writes but short noise spikes on the WE or CE control lines will not. Atmel Software Data Protection Feature Available on some Atmel EEPROMs is a user selectable feature that requires a software sequence at the beginning of each write cycle in order for a write to be performed. To enable the software data protection feature, a series of three-write commands to specific addresses with specific data must be performed. Once set, the same 3-byte code must begin each write request. (A separate write cycle to enable the software feature is not necessary; after any write that is preceded with the 3-byte code, the software data protection function will be enabled, see Figure 3.) The feature may be disabled by issuing a 6-byte code to the device as shown in Figure 4. After being set, the software data protection feature remains active until its disable command is issued. Power transitions will not reset the software data protection feature, but the feature will prevent against inadvertent writes during power transitions. 2 EEPROMs

EEPROMs The software data protection feature protects data against various causes of inadvertent writes. Since it is active during power transitions it protects data when powering on or off the device. Noise spikes that occur on the control lines will be ignored since they will not show the correct address and data needed to start a write cycle. Even for system malfunctions, such as when write pulses of adequate length are given to the device, the software feature can prevent the corruption of the data in the EEPROM. The address locations used for the software code are not sacrificed from the usable memory array. The device recognizes the software code and does not alter the data stored at the address locations of the code. Byte locations of code are still usable, and don t have to be rewritten. System Design Considerations Designing systems with data integrity in mind can greatly reduce the chance of lost data. The amount of attention needed depends upon the nature of the design. Following are a few areas that might need special attention in certain designs. External Power On Protection Many systems will have a PON (power on) signal to control the operation of the system. Such a signal can be gated with the logic creating the OE signal to the EEPROM, holding OE low when the PON signal is false. Similarly, a PONtype signal could be gated with the WE or CE logic, forcing WE or CE high when writes should not be allowed. If the system does not include a PON-type signal, one can be created from various programmable voltage reference devices. With such a device, the user can select the voltage supply level below which the device cannot be written. It should be noted that in many systems, using Atmel s EEPROMS with their internal power level detection and power delay timer, no additional power on circuitry is required for the device. Multiple Power Supplies In systems that utilize more than one power supply, extra care must be taken during power transitions to both the EEPROM and the devices controlling the inputs to the EEPROM. Power on rates of the different supplies are likely to vary. Using programmable voltage reference devices to detect the power level of both supplies and forcing the OE pin low when either line is below the desired level may be used in such situations to avoid inadvertent writes. Memory Cards Since memory cards are often pushed into and pulled out of systems that are already powered on, they have additional chances of inadvertent writes. If the edge connector is arranged such that power and control lines are not asserted in a prescribed manner, false writes to the device may occasionally occur depending upon how the card is inserted. To provide proper power on sequencing, a card could be designed with its control pins recessed from the edge of the card. Resistors would be placed on the card to connect CE and WE to V CC and OE to ground. This arrangement insures that power is first applied to the device and that the control pins are not in the write state until each pin is being controlled by the host system. Variations of this technique may be used effectively in different systems; the basic idea is to guarantee systematic application of the power and control pins such that a write state is not entered upon insertion or removal of the card from the host. Figure 3. Software Data Protection - Enable 3

Figure 4. Software Data Protection - Disable 4 EEPROMs

5

6

7

Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA 95131 TEL (408) 441-0311 FAX (408) 487-2600 Europe Atmel U.K., Ltd. Coliseum Business Centre Riverside Way Camberley, Surrey GU15 3YL England TEL (44) 1276-686677 FAX (44) 1276-686697 Atmel Operations Atmel Colorado Springs 1150 E. Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL (719) 576-3300 FAX (719) 540-1759 Atmel Rousset Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4 42 53 60 00 FAX (33) 4 42 53 60 01 Asia Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon, Hong Kong TEL (852) 27219778 FAX (852) 27221369 Japan Atmel Japan K.K. Tonetsu Shinkawa Bldg., 9F 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 Fax-on-Demand North America: 1-(800) 292-8635 International: 1-(408) 441-0732 e-mail literature@atmel.com Web Site http://www.atmel.com BBS 1-(408) 436-4309 Atmel Corporation 1998. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s website. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. Marks bearing and/or are registered trademarks and trademarks of Atmel Corporation. Terms and product names in this document may be trademarks of others. Printed on recycled paper. 0543C 10/98/xM