Solved
STM32L0 use internal EEPROM
Hello,
i just want to use the Internal EEPROM of my STM32L052.
I followed the short description in the STM32CubeMX manual. But it is not working.
Here my small code example
HAL_FLASHEx_DATAEEPROM_Unlock();
HAL_FLASHEx_DATAEEPROM_Erase(0x08080000U);
//HAL_FLASHEx_DATAEEPROM_EnableFixedTimeProgram();??
HAL_FLASHEx_DATAEEPROM_Program (FLASH_TYPEPROGRAMDATA_WORD, 0x08080000U, 0x123456);
HAL_FLASHEx_DATAEEPROM_Lock();
HAL_Delay(100);
xprintf("EEPROM 0:\n\r",(*(__IO uint32_t*) 0x08080000U));Sadly it is not working. There is also no good example which helps me with that.
Any ideas?
Best regards
Max
