My only concern around not having the V1 code in there as a fallback, is that if the V2 download fails and the unit reboots, it is then a non-functional unit until it can successfully download code.
For our 24x7 remote logging application - this is not really an acceptable possibility.
So either I need a way of removing all the V1 code from RAM before running V2, or could I as part of the download new code process do this ?
There would still be some risks around this, but probably acceptable for our application
© Espruino, powered by microcosm.
Report a problem