Skip to main content
Visitor II
November 6, 2024
Question

STM32G030 write in flash but in different page position each time

  • November 6, 2024
  • 1 reply
  • 519 views

Hi, erasing a complete page (2KB) to just write a few bytes is a waste of erase/write cycle. Is there a way to write data in differents part of the page each time? when there is no more space then a page erase should be fired and start over. Is there some implementation of it?

Thanks

    This topic has been closed for replies.

    1 reply

    Graduate
    November 6, 2024

    Yes, this is called "EEPROM emulation". You may even find an application note on it and a complete software package - just search the ST website.