Hi
I need a tiny flash area (4 Bytes) for a variable which should keep the value even on a power loss. I read about the page erase size of about 4KB, so is this the minimum size of a flash area?
Kind regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I need a tiny flash area (4 Bytes) for a variable which should keep the value even on a power loss. I read about the page erase size of about 4KB, so is this the minimum size of a flash area?
Kind regards
Is this a variable that needs to be written multiple times or is it written only once?
For the first option: Yes, then you need to use a full page since to be able to write a random value to flash and that flash address already has content, the page has to be erased first.
For the last option: If this is a variable that is only written once it could be placed on a page containing other information but the requirement is that the page has no need to be erased.