AnsweredAssumed Answered

STM32-L053R8 eeprom write question

Question asked by Michal Dubovsky on May 15, 2017
Latest reply on May 16, 2017 by Maxime TEISSIER

Hello, can anyone explain to me how the eeprom write works on STM chips that do have the internal EEPROM?

It was my understanding that you need to erase the whole page before writing to it but after writing 0x08 on a certain address in EEPROM (using HAL_FLASHEx_DATAEEPROM_Program()) and then just writing 0x01 on the same address without erasing the page first the value in the eeprom is indeed 0x01 which makes little to no sense to me.

Outcomes