Thats basically what Im saying. Though if you just do #2 I wont need a separate erase command. It'll erase and disconnect the first time, but not the second time. Ill get an erase command for free.
On Fri, May 5, 2017 at 5:41 PM, will sanfilippo <wi...@runtime.io> wrote: > 1) Add a command to erase the unused image (the image that is not running). > 2) Modify the code such that it only erases the flash if it is not already > erased. >