Skip to main content
Explorer II
March 14, 2024
Question

STM32g070RB internal flash memory

  • March 14, 2024
  • 3 replies
  • 879 views

I am currently working stm32  issue with internal flash memory is that it requires erasing an entire page before rewrite  data .if i modify specific address data that page it demands erase of entire page.It affect other data of that page . so give solution for that what are other possibility without affect other data of that page ? 

 
 
 
 
    This topic has been closed for replies.

    3 replies

    vignesh1Author
    Explorer II
    March 18, 2024

    can u help above i asked question??

    Super User
    March 18, 2024

    You have to erase always a "page" .

    To preserve some data in a page, copy it to another page + add new data here. Erase old page.

    Next time you want do same, copy to "old" page new dataset , now this is your "new". Erase other page.

    And so on...

    Or you copy the data you want to keep, to ram area, erase page, copy back from ram , add your new data. (free ram.)

    vignesh1Author
    Explorer II
    March 18, 2024

    thanks for ur valuble reply