This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Watchdog reset during bootloader dfu

Hello,

I am working on using the open_bootloader with our application and running into a problem.

We are using the GP_REG to jump from our application back to the bootloader to perform DFU, Our application uses the watchdog timer upon for monitoring  It appears that if we attempt to jump back to the bootloader for DFU the watchdog continues to run and hard resets the board as soon as the bootloader starts.  I know that is what is causing the reset in the bootloader because if we don't start the watchdog in our application there is no issue performing DFU.

I saw this post https://devzone.nordicsemi.com/f/nordic-q-a/3143/how-to-disable-the-wdt-watchdog-timer and attempted to do the same with no success.

I guess my question are:

1- Is there a way to disable the watchdog in our application before we attempt the DFU?

2- Is there a way to configure the open_bootloader to utilizes the watchdog or do we have to create our own bootloader?

Thanks

Omid

Related