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

DFU and Watchdog

Dear all,

As some of you have pointed out, if we want to perform DFU and having a watchdog running, the boot loader should embed a watchdog feed. I have successfully managed to do so. And DFU performs OK until the app reboots. Then, I loose my app and the NRF restarts in my boot loader mode. If I remove the watchdog everything works perfectly.

Did anyone had that issue and may give some ideas to process completely the DFU. The only way I can retrieve my app is to flash completely my NRF. Thanks for your answers,

Cheers,

D.

Parents
  • Hi Hung Bui, Thanks for taking time.

    Unfortunately, I may not be extremely precise. Let me do my best and if necessary, I'll refine.

    The new firmware seems to be uploaded to the NRF. The progress shows 100% and Operation completed. Then, the module disconnects from the mobile app. And, after "a few seconds", the nrf gets back to boot loader. It is as-if the watchdog resets the module in boot loader mode.

    I have the RTT trace activated in my app but not on the boot loader. The app does not show up after Operation completed. I'll try to activate the trace in the boot loader and try to see what is going on in the boot loader.

    One more thing, I am doing a secured DFU.

    Hope it provides some more directions for getting 'useful' help.

    Thanks again and happy holidays to all of you,

    D.

Reply
  • Hi Hung Bui, Thanks for taking time.

    Unfortunately, I may not be extremely precise. Let me do my best and if necessary, I'll refine.

    The new firmware seems to be uploaded to the NRF. The progress shows 100% and Operation completed. Then, the module disconnects from the mobile app. And, after "a few seconds", the nrf gets back to boot loader. It is as-if the watchdog resets the module in boot loader mode.

    I have the RTT trace activated in my app but not on the boot loader. The app does not show up after Operation completed. I'll try to activate the trace in the boot loader and try to see what is going on in the boot loader.

    One more thing, I am doing a secured DFU.

    Hope it provides some more directions for getting 'useful' help.

    Thanks again and happy holidays to all of you,

    D.

Children
No Data
Related