Basic tests have gone well, but no doubt I will run into some critical issue at some point.
As for why, I need to be able to deploy my Espruino WiFis to a location and not require them to come back to me to be updated, so self updating is a must.
I'd be interested in seeing your code if you are happy to share..
Once its done I'll put it up :)
Sounds like a great plan. Perhaps you could use the watchdog timer and have some kind of reboot counter so that the bootloader could recover itself if the device ever got a broken update?
+1 for a progress update :P
Here you go. It needs much more work on checking for errors. Unfortunately I don't think SD errors are catchable so they can't be handled right now.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem