AnsweredAssumed Answered

Hard fault to read internal EEPROM - STM32L011

Question asked by Lima_da_Silva.Kleber on Jan 10, 2017
Latest reply on Dec 11, 2017 by Clive One

Hi,

 

I am getting a hard fault while trying to read from the internal EEPROM (STM32L011), function:

 

uint8_t Read_EEPROM_Byte(uint32_t address)
{
   uint8_t tmp = 0;

   address = address + 0x08080000;
   tmp = *(uint32_t*)address;

   return tmp;
}

 

How to solve this?

 

Thanks.

Outcomes