explanation about flash memory on sector method
Hi everybody,
I am currently working on an STM32F446RE
I need to save some bytes like 10 for example. I need to save some bytes like 10 for example, in flash memory to save my HMI configuration.
I have read articles and done research but I don't understand everything.
The memory is divided into sectors. I think I have to write my data to the end of the memory. However, the last sector is 128kB. Do I have to erase 128kB each time?
Isn't there a simpler and less resource-intensive method? Can't we just delete a 2KB page?
I really need to save only a few variables
Thank you to reading me
