Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Add options to configure serial update timeouts #146

Closed
wants to merge 3 commits into from
Closed

Add options to configure serial update timeouts #146

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented May 17, 2018

This branch mainly add option to configure the serial UART update timeout values. In my application, the only way to update the firmware is to reset the board and trigger the update during the bootloader stage. As I have set a short inactivity timer for dfu to ensure quick boot (200 ms), I had to modify the nrfutil to wait a longer time for board to be ready and to reduce the ping interval, that's why i add the option to configure these timeout.

Please note that I only add these options to the UART update method and not for the USB serial as the latter doesn't ping the target.

Feel free to comment.

Aurélien Zanelli added 3 commits May 17, 2018 12:29
as it already respond, so there is no need to continue to send ping.
and add option to set them. By default the update now wait 30 seconds
before timeout because of a no ping response.
This enable user to run the update utility before going in dfu state as
the timing can be quite short with some DFU settings. For instance, if
the only way to trigger the update is during the boot process after a
reset with a short inactivity timer.
@bihanssen
Copy link
Contributor

@azanelli-actronika thanks for the contribution. The changes have been merged via PR 199.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant