Posted on April 20, 2018 at 13:54>>So the flash is not suitable for the data storage purpose.
Well not low bandwidth byte streams. There you'd need to record 64-bit for each byte you want to store. Here you could use two blocks one where you record the bytes, and when you fill that with the sparse data you pack into the second using 1/8th the space.
The more practical method for configuration data is to have a structure, cache that to RAM, and then update as a whole to FLASH as required.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..