Hi Jeff, On Thu, Jan 22, 2015 at 04:00:14PM +0000, Katz, Jeff wrote: > Currently: > 1) New image downloaded to spare storage (external SPI NOR flash) > 2) When new image verified, relocate important functions to RAM > 3) Wipe internal flash > 4) Copy new image to internal flash > 5) Reboot > > Obviously between 3 and 4 if there is an issue, the device is a brick. In > practice, 2-3-4-5 takes place in under a few milliseconds, which is shorter > than the amount of power provided by the bulk capacitors on the input, so > it's "OK".
Are you checking for an "external" power failure before starting phase 3? Otherwise the period length is irrelevant ;) Cheers, Ludwig _______________________________________________ devel mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/devel
