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

nRF52832 watchdog issue

Hi

I'm trying to implement the watchdog to my project, but I'm having some odd issues. When I power cycle the device the watchdog works fine, but when I program the device through keils Load button (system reset) the device just goes into a limbo state from which it can't recover anymore until I power cycle it, then it works fine again. I've found a similar issue in another post:

https://devzone.nordicsemi.com/question/4575/problem-with-system_reset-and-watchdog/

That post is about the nRF51, but I have the nRF52.

I found two different examples that use the wdt, one is this one:

https://github.com/NordicPlayground/nrf51-watchdog-resetreas-example/blob/master/watchdog_simple/main.c

And the other one is in keils example library that uses the nrf_drv_wdt library.

Both have the same issue.

Edit: The RESETREAS workaround has also issues sometimes.

Parents
  • Hi,

    I am facing same issue.

    I have combine hex file of bootloader + application (SDK 14.1.0) + softdevice (S132 5.0.0).

    When I program it with nRFgo Studio, after programming, device start executing code but it hang after around 1 to 2 second. However, after power cycle, device starts working normally.

    In addition, when I remove watchdog init code from application. It is working fine even after programming. So I am suspecting issue is related to watchdog of nRF52832.

    Have you found any solution for this?

Reply
  • Hi,

    I am facing same issue.

    I have combine hex file of bootloader + application (SDK 14.1.0) + softdevice (S132 5.0.0).

    When I program it with nRFgo Studio, after programming, device start executing code but it hang after around 1 to 2 second. However, after power cycle, device starts working normally.

    In addition, when I remove watchdog init code from application. It is working fine even after programming. So I am suspecting issue is related to watchdog of nRF52832.

    Have you found any solution for this?

Children
No Data
Related