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

After the wdt is being ,the program cant be run immediately.

No using  bootloader.

the code cant run immediately is below when i enable the wtd.

After flashing the code by jlink,the code cant run till the wtd is timeout. i check the sd_power_reset_reason_get(&reg).

And the code reset,the code cant run till the wtd is timeout. i check the sd_power_reset_reason_get(&reg).

why?how can i do

Parents
  • Hello,

    Something is obviously running, since you are able to start the bootloader. Are you sure you are not caught in the error handler before the WDT times out, which will restart the application?

    Do you reset the chip after programming it? I don't have the JLink command in my head. But if you try with nrfjprog, the command is nrfjprog --reset.

    Alternatively, you can power cycle the board, and it should start.

    Best regards,

    Edvin

Reply
  • Hello,

    Something is obviously running, since you are able to start the bootloader. Are you sure you are not caught in the error handler before the WDT times out, which will restart the application?

    Do you reset the chip after programming it? I don't have the JLink command in my head. But if you try with nrfjprog, the command is nrfjprog --reset.

    Alternatively, you can power cycle the board, and it should start.

    Best regards,

    Edvin

Children
Related