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. ******************************************************************************
This AN describes a software method for emulating EEPROM using the onchip Flash memory of the STM32F10xx devices.
+ inc
- EEPROM_Emulation/inc/stm32f10x_conf.h Library Configuration file
- EEPROM_Emulation/inc/stm32f10x_it.h Interrupt handlers header file
- EEPROM_Emulation/inc/eeprom.h EEPROM emulation Header file
+ src
- EEPROM_Emulation/src/stm32f10x_it.c Interrupt handlers
- EEPROM_Emulation/src/eeprom.c EEPROM emulation firmware functions
- EEPROM_Emulation/src/main.c Main program
- 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.
- 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)
© COPYRIGHT 2009 STMicroelectronics
|