STMicroelectronics AN2077 EEPROM Emulation with STR71x Application Note

This application note explains how to use STR71x series microcontrollers on-chip Flash to emulate EEPROM.


STMicroelectronics AN2077 EEPROM Emulation with STR71x Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
19
File format
PDF
File size
231 KB
Published
07 August, 2012
Updated
01 October, 2023
Model
STR71x
MD5 checksum
9FD6CA8C223783EAF24394EF728698B7

About this manual

This document describes the differences between external EEPROMs and embedded Flash memory, focusing on write access time, writing methods, and erase times. It highlights that while Flash has faster write access, it requires block erasing and is susceptible to interruption by CPU resets or power failures during the process.

The note details the concept of EEPROM emulation using fixed-length Data-sets and two Flash banks, utilizing status bits to manage valid data. It covers embedded application aspects such as reading Flash while erasing or programming, and provides a software example for initializing, reading, and writing data to the emulated EEPROM.

What's inside

  • Embedded Flash and EEPROM
  • EEPROM Emulation Concept
  • Embedded Application Aspects
  • Software Example
  • Program/Erase Cycle
  • Read-While-Write
  • Data-Set Status Bits

Specifications

Supported Microcontroller SeriesSTR710FZ1, STR710FZ2, STR711FR1, STR711FR2, STR712FR2

Frequently asked questions

What is the primary purpose of this application note?

This document explains how to substitute external EEPROMs with emulated EEPROM using the on-chip Flash of STR71xF devices.

Which specific microcontroller models does this note mainly refer to?

The content mainly refers to STR710FZ1, STR710FZ2, STR711FR1, STR711FR2, STR712FR2, and STR712FR2.

How many parts is this application note organized into?

The document is organized into 4 parts covering differences, emulation concepts, embedded aspects, and a software example.

Download PDF (231 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →