AnsweredAssumed Answered

STM32F3 EEPROM Emulation -> HardFault

Question asked by John.Eric on Feb 6, 2017
Latest reply on Feb 8, 2017 by John.Eric



i try to implement the EEPROM Emulation for the F3 to my Motor Control Application.


But in



PageStatus0 = (*(__IO uint16_t*)PAGE0_BASE_ADDRESS);


i get a Hardwarefault.


I added the Files eeprom.c and eeprom.h from here:

STSW-STM32112 - EEPROM emulation in STM32F3xx microcontrollers (AN4046) - STMicroelectronics - STMicroelectronics 

to my project.

The Flash is unlocked in main.c before EE_Init();


I work with IAR EWARM


i hope someone can help me.