[ 
https://issues.apache.org/jira/browse/MYNEWT-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115006#comment-16115006
 ] 

ASF subversion and git services commented on MYNEWT-821:
--------------------------------------------------------

Commit 03fd1a5ea35c89894fa48d04ca0823c0d19fcaea in mynewt-newtmgr's branch 
refs/heads/master from [~ccollins476]
[ https://gitbox.apache.org/repos/asf?p=mynewt-newtmgr.git;h=03fd1a5 ]

MYNEWT-821 recover during image upload

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.


> 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
>             Fix For: v1_2_0_rel
>
>
> (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.



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

Reply via email to