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

Debug mode on nRF51822

Hi,

There were similar questions already anwsered but none of them work for me. So the situation is as follows. When i program the chip though SWD interface the chip probably enters debug mode and the power consumption is around 1mA which is a lot. The only way to get consumption down, is to turn the power off and then on again, physicaly resetting the chip.

Because this is acceptable in development environement we have a constant battery supply and we must do this programaticaly. How do we do this ?

While searhing for the anwser i stumbled upon an anwser which suggested writing to the reset register in power management section which actually bricked one of our prototypes. I cannot erase, program or read the chip anymore. So if you could help me oin this issue also that would be great.

All your anwsers are appreciated.

Related