This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

exit from debug mode (S110)

Hi,

I'm using the softdevice s110. The power consumption is sometimes a little weird (around 1 mA). I think that the chip is in debug mode. How can I know if the chip is really in this mode ? In this case, is it possible to disable this mode by using NRF_POWER->RESET?

Thanks

Parents
  • Try to perform the exit procedure assuming that the system is in Debug mode and see if the current consumption decreases, if not something else is drawing the current. With this we can atleast eliminate the the device is not in debug mode. below is the procedure to do it.

    Normal mode can always be resumed by performing a "hard-reset" through the SWD interface:

    1. Enable reset through the RESET register in the POWER peripheral.
    2. Hold the SWDCLK and SWDIO/nRESET line low for a minimum of 100 μs.
  • Hi Aryan, is there some way to avoid nRF51822 to enter the debug mode? from the reference manual "To guarantee that the device remains in normal mode, the SWDCLK line must be held low at all times ", but in my application, as the power is unstable in some times, the device could be reset, so it may enter the debug mode, can i disable the SWDCLK pin in some way?

Reply
  • Hi Aryan, is there some way to avoid nRF51822 to enter the debug mode? from the reference manual "To guarantee that the device remains in normal mode, the SWDCLK line must be held low at all times ", but in my application, as the power is unstable in some times, the device could be reset, so it may enter the debug mode, can i disable the SWDCLK pin in some way?

Children
No Data
Related