Christopher Collins created MYNEWT-821:
------------------------------------------

             Summary: newtmgr - Try harder to recover from disconnect during 
image upload
                 Key: MYNEWT-821
                 URL: https://issues.apache.org/jira/browse/MYNEWT-821
             Project: Mynewt
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: Newtmgr
            Reporter: Christopher Collins
            Assignee: Christopher Collins


An image upgrade consists of two phases:
1. Erase slot
2. Upload image

On nRF boards, both phases cause the processor to stall while flash is being 
accessed.  Such stalls can cause any established BLE connections to terminate 
due to "supervision timeout."

Currently, the newtmgr tool automatically recovers from a disconnect during the 
first phase (erase).  However, it does not recover from such a disconnect 
during the upload phase.

Newtmgr should be improved to use the same reconnect logic during the second 
phase that it already uses during the first phase.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to