@Gordon, yes pretty reliably with that code. I did it just now and I recreated the issue within 60 seconds. I had 2-3 successful saves before the one that failed.
Console:
>save()
=undefined
BLE Connected, so queueing service update for later
Erasing Flash...
Disconnected
Here are the results of the peeks after popping the battery and reconnecting:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Gordon, yes pretty reliably with that code. I did it just now and I recreated the issue within 60 seconds. I had 2-3 successful saves before the one that failed.
Console:
Here are the results of the peeks after popping the battery and reconnecting: