AN2594: EEPROM emulation in STM32F10x microcontrollers: AN2594 EEPROM_Emulation Readme file

AN2594: EEPROM

AN2594 EEPROM_Emulation Readme file

  ******************** (C) COPYRIGHT 2009 STMicroelectronics *******************
  * @file     EEPROM_Emulation/readme.txt 
  * @author   MCD Application Team
  * @version  V3.1.0
  * @date     07/27/2009
  * @brief    Description of the AN2594 "EEPROM emulation in STM32F10x microcontrollers".
  ******************************************************************************
  * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  ******************************************************************************
   

Example Description
This AN describes a software method for emulating EEPROM using the onchip Flash memory of the STM32F10xx devices.

Directory contents
+ inc

+ src

Hardware and Software environment
  • This example runs on STM32F10x Connectivity line, High-Density, Medium-Density and Low-Density Devices.

  • This example has been tested with STMicroelectronics STM3210C-EVAL (STM32F10x Connectivity line), STM3210E-EVAL (STM32F10x High-Density) and STM3210B-EVAL (STM32F10x Medium-Density) evaluation boards and can be easily tailored to any other supported device and development board.

How to use it ?
  • RVMDK
    • Open the EEPROM_Emulation.Uv2 project
    • In the build toolbar select the project config:
      • STM3210C-EVAL: to configure the project for STM32 Connectivity line devices
      • STM3210B-EVAL: to configure the project for STM32 Medium-density devices
      • STM3210E-EVAL: to configure the project for STM32 High-density devices
    • Rebuild all files: Project->Rebuild all target files
    • Load project image: Debug->Start/Stop Debug Session
    • Run program: Debug->Run (F5)

  • EWARMv5
    • Open the EEPROM_Emulation.eww workspace.
    • In the workspace toolbar select the project config:
      • STM3210C-EVAL: to configure the project for STM32 Connectivity line devices
      • STM3210B-EVAL: to configure the project for STM32 Medium-density devices
      • STM3210E-EVAL: to configure the project for STM32 High-density devices
    • Rebuild all files: Project->Rebuild all
    • Load project image: Project->Debug
    • Run program: Debug->Go(F5)

  • RIDE
    • Open the EEPROM_Emulation.rprj project.
    • In the configuration toolbar(Project->properties) select the project config:
      • STM3210C-EVAL: to configure the project for STM32 Connectivity line devices

STM3210B-EVAL: to configure the project for STM32 Medium-density devices

  • STM3210E-EVAL: to configure the project for STM32 High-density devices

Rebuild all files: Project->build project

  • Load project image: Debug->start(ctrl+D)
  • Run program: Debug->Run(ctrl+F9)

Note:
  • Low-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
  • Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 32 and 128 Kbytes.
  • High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes.
  • Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.

© COPYRIGHT 2009 STMicroelectronics

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit www.st.com/STM32