So I left something out of my proposed work-around. The code would have to be modified such that if the page/sector was already erased the image upload would not blindly erase it.
BTW: there is an image list command that will tell you if there is an image that you need to erase. > On May 5, 2017, at 5:15 PM, Jacob Rosenthal <[email protected]> wrote: > > You've hit on my easy solution exactly. If we only erase when theres an > image present to be erase, then I can just reconnect after disconnect. Its > not fixed, but itll do. > > *Currently It is not possible to update an nrf51 device over ble. *When I > reconnect, it erases again, and again drops the connection. > > So perhaps theres a good way to determine if an image is present and if an > erase is necessary? > > > > On Fri, May 5, 2017 at 5:02 PM, will sanfilippo <[email protected]> wrote: > >> Anyway, there have been thoughts on this but no solution has been decided >> upon. For now your best bet is to simply reconnect if the connection drops >> (imo). >>
