Data Protection in AT28C Series EEPROM

Publisher:LuckyDaisyLatest update time:2018-04-12 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction
  EEPROM is a memory with power-off memory function. Its content can be rewritten like ordinary RAM, and it can automatically erase and replace it with new content when rewriting. It does not need ultraviolet erasure like EPROM; it only needs electricity to erase and rewrite the content stored inside. EEPROM usually has a programming power supply inside. Since it only needs a single +5V power supply, it is very convenient to use. Compared with serial chips, the circuit interface and programming design of parallel EEPROM are much simpler, so it is very convenient to use EEPROM memory when the circuit board area requirements are not very strict.
2 Reasons for data loss in parallel EEPROM Parallel
  EEPROM usually adopts the bus expansion interface method. Figure 1 shows the interface circuit based on AT28C256, in which the chip select signal generated by address decoding is the read and write signal of the microcontroller.


During programming, only one MOVX instruction is needed to complete the read and write operations of the EEPROM memory, which is very convenient to use. However, parallel EEPROM is often disturbed in industrial sites, causing the data content stored in it to change, thereby causing data damage or loss.
  After analysis, data loss in the EEPROM memory mainly occurs when the system is powered on, powered off or reset. It mainly manifests in the following two situations:
  (1) When the CPU in the entire data storage system is released after the reset signal, it will generally delay for hundreds of μs. Therefore, during this period of time, the read signal, write signal, address signal and data signal may change randomly, causing the memory to be written incorrectly and the data therein to change.
  (2) During the slow rise and fall of the power supply, when the CPU is in a critical working state, its read and write timing may be chaotic, causing the data in the memory to change.
3 Introduction to AT28C Series EEPROM
  Figure 2 shows the logic block diagram of ATMEL's AT28C series parallel EEPROM memory. The main products in this series include AT28C64 (8K×8), AT28C256 (32K×8), AT28C010 (128K×8), AT28C040 (512K×8) and other models, and their structures are basically the same. Compared with ordinary 28 series EEPROM, AT28C series EEPROM has the following characteristics:
  ● It has 64, 128 or 256 bytes of identification bytes (different models have different);
  ● It can be read quickly, and the reading time range is 120ns~150ns;
  ● It has two write modes, byte and page. In the page write mode, the internal timer control timing of the EEPROM memory can write a page of data in one internal programming cycle , and its page capacity is 64, 128 or 256 bytes (depending on the model);
  ● It can provide data protection function and has excellent anti-interference ability.

 Among the above features, the most attractive one is undoubtedly the perfect data protection function.
4 Data protection measures of AT28C series
  AT28C series EEPROM generally adopts two types of measures: hardware data protection and software data protection (SDP).
  4.1 Hardware data protection
  The hardware data protection measures of AT28C series EEPROM are as follows:
  The first measure is to monitor VCC. When Vcc is lower than 3.8V, writing to EEPROM is prohibited; the second is to use power-on delay, that is, when the system is powered on, after Vcc rises to 3.8V, it will delay for 5ms before allowing data to be written; the third is write prohibition, that is, when any of the three conditions of low level, high level or high level occurs, data writing is prohibited; the last one is to use noise filtering so that pulses narrower than 15ns on the signal line cannot trigger write operations.


Reference address:Data Protection in AT28C Series EEPROM

Previous article:Application of serial clock PCF8583 in microcomputer protection device
Next article:A brief discussion on the functional application of TSS-5 single-board controller and the characteristics of MSP430

Recommended ReadingLatest update time:2024-11-15 16:00

STM8S——Flash program memory and data EEPROM
1 Introduction   The FLASH program memory and data EEPROM inside STM8S are controlled by a set of general registers; so we can use these general registers to program or erase the memory contents, set write protection, or configure a specific low-power mode. We can also program the option byte of the device ourselves
[Microcontroller]
STM8S——Flash program memory and data EEPROM
Analysis of EEPROM Reading and Writing of AVR Microcontroller
Introduction: This article introduces the time problem of reading and writing data in EEPROM of AVR microcontroller, and analyzes the advantages and disadvantages of three methods. Since the AVR EEPROM write cycle is relatively long (usually in milliseconds), special attention should be paid during programming. Ther
[Microcontroller]
STM8 EEPROM unlocking is repeatable
After the STM8 EEPROM is reset, if you want to write data, you must unlock it first, otherwise you will not be able to write data. Unlocking means writing to FLASH_DUKR in sequence: The first hardware key: 0xAE Second hardware key: 0x56 Two bytes of data. At this time, the DUL bit in FLASH_IAPSR will become 1,
[Microcontroller]
Summary of AT89C51ED2 EEPROM read and write operations
Today, because I need to use ED2's EEPROM, I'd like to write something to summarize it in case I forget it in the future. Let me first quote a question a friend asked online. //////// Which expert has used AT89C51ED EEPROM to save data The following program writes data to EEPROM: #define EEPROM_VC_ADD 0X0100
[Microcontroller]
EEPROM (AT24C16) page write algorithm
1. Write in front Anyone who studies microcontrollers or engages in embedded development will be familiar with EEPROM, especially the 24 series EEPROM, which are very classic, such as AT24C02, AT24C16, etc. It is easy to drive this series of EEPROM. Various tutorials, source codes, and drivers can be easily found and
[Microcontroller]
What does bdata mean and how to use it in c51
In c51, "bdata" is on-chip RAM, bit addressing mode; the meaning of memory type description. Usage of "bdata" in c51: There are two types of bit variables in C51, in addition to the bit-addressable bits in special function registers, there are also bytes of RAM inside the microcontroller. There are 128 addressable bit
[Microcontroller]
Freescale MCU DZ60---EEPROM read and write
//Write data to EEPROM, then read the data, assign it to PORTD, and light up the corresponding LED   #include hidef.h /* for EnableInterrupts macro */ #include "derivative.h" /* include peripheral declarations */     #define uint unsigned int #define uchar unsigned char     #define LED PTDD #define LED_DIR PTDDD   #de
[Microcontroller]
STC MCU internal EEPROM program
#include #include #define uchar unsigned char #define uint unsigned int   sfr ISP_DATA = 0x00E2; //EEPORM data register sfr ISP_ADDRH = 0x00E3; //Address register high eight bits sfr ISP_ADDRL = 0x00E4; //Address register low eight bits sfr ISP_CMD = 0x00E5; //EEPORM command register sfr ISP_TRIG = 0x00E6; /
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号