AN2244 EEPROM Emulation with ST10F27x Embedded Flash Application Note

This application note shows a method of performing EEPROM emulation on ST10F27x MCUs using the ST10F27x Flash library.


AN2244 EEPROM Emulation with ST10F27x Embedded Flash Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
17
File format
PDF
File size
165 KB
Published
06 August, 2012
Updated
30 September, 2023
Models
ST10F27x, ST10
MD5 checksum
447F15AF7573D22DD92D93B1E49DDEAC

About this manual

The document explains how to utilize unused space in the ST10F27x MCU's embedded Flash technology as virtual EEPROM. Since Flash is typically used for program instructions and erased by sector, this method overcomes limitations regarding read/write access and cycle counts to store non-volatile data without an external serial EEPROM.

The note provides a detailed software example using the ST10F27x Flash library. It covers the principles of dividing Flash sectors into variable storage spaces, managing header fields for status tracking, and implementing routines to handle data transfer between sectors when memory fills up.

What's inside

  • ST10F27x embedded Flash overview
  • The ST10F27x Flash library
  • EEPROM emulation principle
  • Program/erase cycles comparison
  • EEPROM software description
  • Header field and variables array

Specifications

Technology node0.18um
Program/Erase cycles100 Kcycles, 20 years data retention
Data bus width (IFLASH)32 bits wide
Data bus width (XFLASH)16 bits wide

Frequently asked questions

What is the purpose of this application note?

To show how a portion of the ST10F27x embedded Flash can be used to replace a serial EEPROM to store and update non volatile data.

How many sectors are required for the emulation?

A minimum of two Flash sectors of identical size must be allocated.

What tool chains were used for the example driver?

The EEPROM emulation driver was compiled using the Tasking and Keil tool chains.

Download PDF (165 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →