2024-03-13 11:31 PM - last edited on 2024-03-14 12:54 PM by Peter BENSCH
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 ?
2024-03-18 12:48 AM
can u help above i asked question??
2024-03-18 01:02 AM
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.)
2024-03-18 03:59 AM
thanks for ur valuble reply