You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Having the algorithm above should effectively do wear levelling (it's just going to work its way round all the flash pages, without thrashing one in particular). The only bad point really is the time taken to find a JsVar, as you're basically just searching through the Journal.

    I thing some kind of 'index' right at the start would help with that though.

    It's kind of hard to describe the algorithm. I guess the best option would be to create a 'fake' flash memory for the Linux build and then to play around with different approaches.

About

Avatar for Gordon @Gordon started