EEWORLDEEWORLDEEWORLD

Part Number

Search

AN671

Description
Prevention of Data Corruption in ST6 On-Chip EEPROM
File Size23KB,4 Pages
ManufacturerSTMicroelectronics
Websitehttp://www.st.com/
Download Datasheet View All

AN671 Overview

Prevention of Data Corruption in ST6 On-Chip EEPROM

APPLICATION NOTE
Prevention of Data Corruption in ST6 On-Chip EEPROM
C. PILON
INTRODUCTION
The ST6 Microcontroller has been designed to avoid any potential corruption of data
programmed into its on-chip EEPROM (when available). Data integrity can be ensured as long
as the application designer follows the guidelines provided in this note.
In general, EEPROM data corruption occurs whenever the reset signal is not controlled when
the power supply goes up or down.
This is particularly true with a slow ramp-up and/or slow fall time of the power supply, since the
device may be in a supply voltage area where the device functionality is not guaranteed for a
long time.
If no special care is taken during the power up sequence regarding the reset signal then the
microcontroller core may start writing into the EEPROM. The same behaviour may occur upon
a power down.
Two complementary solutions are possible to prevent from these unwanted actions, a
software solution and a hardware solution.
1 SOFTWARE SOLUTION
This solution only applies to the power down sequence which represents the majority of data
corruption risks.
The solution consists in disabling the enable bit of the EEPROM control register after writing
into the EEPROM and before switching ”off” the application; this avoids any spurious writing
as described above.
Note that this bit is automatically reset upon power on, thus the reason why most cases of
data corruption can occur at power down, as the enable bit may have been modified by the
user software.
AN671 / 02,94
[Raspberry Pi alternative BIGTREETECH CB1 core board & PI4B review] Unboxing + development environment setup
Thanks to the Electronic Engineering World Forum and the manufacturer for providing this review opportunity. However, when the courier just arrived, I didn't have time to open the box. I was quarantin...
怀揣少年梦 Domestic Chip Exchange
How about outsourcing work in a large company? Can I go there?
In fact, this is a personal choice. Whether you are happy or not depends largely on your business, your mentor, and the working atmosphere.I worked as an outsourcing contractor in a large company for ...
huaqingyuanjian Talking about work
Configuration Example - Profinet to Modbus485 Gateway Connecting to Fuji Electric Thermostat
1. This case is a configuration case of connecting the Profinet to Modbus485 gateway to the electric energy meter. The customer requires that the Fuji Electric thermostat parameters be read into the P...
bjnytx Integrated technical exchanges
What are the differences between current and voltage sampling?
What are the differences between current and voltage sampling? Are current and voltage sampling both done by measuring the voltage difference across the sampling resistor? Are they all connected in se...
QWE4562009 Circuit Observation Room
Found an open source MicroPython file manager and used the native file manager of the operating system directly
[i=s]This post was last edited by storm-wind on 2022-12-23 17:52[/i] # Found an open source MicroPython file manager, directly use the file manager that comes with the operating system This MicroPytho...
storm-wind MicroPython Open Source section
[ST NUCLEO-U575ZI-Q Review] + Multi-channel ADC data acquisition
In the rheological analyzer, the detection of temperature, pressure, torque and speed is involved. The temperature and pressure both require ADC for data collection, while the speed detection requires...
jinglixixi RF/Wirelessly

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

Index Files: 354  2259  769  831  2510  8  46  16  17  51 
Datasheet   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Room 1530, 15th Floor, Building B, No. 18 Zhongguancun Street, Haidian District, Beijing Telephone: (010) 82350740 Postal Code: 100190
Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号