Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-821

newtmgr - Try harder to recover from disconnect during image upload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • v1_2_0_rel
    • Newtmgr
    • Security Level: Public (Viewable by anyone)
    • None

    Description

      (Pull request: https://github.com/apache/mynewt-newtmgr/pull/15)

      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.

      Attachments

        Issue Links

          Activity

            People

              ccollins476 Christopher Collins
              ccollins476 Christopher Collins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: