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

Pin-reset "nrfjprog -p" equivalent using JLinkExe

I am building an automated test stand for programming our production devices. After programming, I need to pin-reset the device to leave debug mode so I can get an accurate current measurement as part of a go/no-go test before the device is accepted.

I've used "nrfjprog -p" and it works correctly -- I can see the current drop from about 1mA (see why does my nrf51822 consume 1mA in sleep ), but I can't use "nrfjprog" in my test stand code, because it's running on Mac OS X.

I've tried the equivalent advice provided in the linked question, which is to use JLinkExe to send the commands "w4 40000544 1" and then "r". However, this does not achieve the pin reset. I have also tried "RSetType 2" before "r", and this also did not have any effect.

Exactly what set of commands in JLinkExe is "nrfjprog -p" doing?