what does this mean? It would be really beneficial if you articulated your problem statements more fully so us logical thinkers can assist.
@Brett the 252 kbit EEPROM I have prefers 64 kbit page writesâŚif you do less than a page, any address after what you write that is on the same page gets erased. I just have to write way more data to EEPROM than I want to since I have to do full the page instead of just writing 2-4 bytes to flash (more often than Gus would like but the device wouldnât be getting erased for years so I donât see what the problem is).
so you do or donât have space for the data in your eeprom? I still donât get why the page size matters - read in the page, update the necessary values, write⌠heck you could even keep the whole page in memory if youâre not doing your own wear levelling. Or if youâre just storing a small amount, just write the whole page even though you donât have more than a handful of bytesâŚ
I have posted this code before but it seems to be a good solution to this issue.
I got my EEPROM optimized it just took a significant amount of rearranging which bits come first on the last page and also writing full pages at once when only a bit was needed. I just wanted it to be easy lol and use Configuration space.