Open
Description
Jaguar doesn't behave very well if the NVS partition becomes corrupt. We've seen it fail in the flash_kv_init
primitive, so maybe we can catch that error and clear the NVS partition? Maybe that is too much, but let's consider it.
My guess would be that somehow the NVS partiti 5992 on has become corrupt. Maybe Jaguar needs to handle that and erase the partition? Or maybe it should report it in a nicer way so it is possible for the user to erase the flash manually.
Originally posted by @kasperl in toitlang/toit#458 (comment)