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 with nrfjprog has no effect

When I run nrfjprog --pinreset it says "Applying pin reset" but it has no effect on the connected nRF52832, it just continues running. Other nrfjprog operations like reading, programming, etc. work just fine.

In VS Code, when I click "Flash" it will program the chip successfully but it will not reset it afterwards. However, when I click "Reset Board" under "Connected Devices", then it resets successfully.

What can cause this?

Parents
  • Hello,

    Are you testing this on a Nordic 52 DK, or a custom board? If it is a custom board, are you sure the reset pin is routed out to the debug header?

    "Reset Board" under "Connected Devices", then it resets successfully.

    This will perform a soft reset through the debug interface.

  • Well I certainly have not plugged any reset line into my J-Link, that might be the problem. :) I assumed it would reset using the SWD interface.

    Is it possible to change the "Flash" action in VS Code to use SWD instead of a dedicated reset line to perform the reset after flashing?

Reply
  • Well I certainly have not plugged any reset line into my J-Link, that might be the problem. :) I assumed it would reset using the SWD interface.

    Is it possible to change the "Flash" action in VS Code to use SWD instead of a dedicated reset line to perform the reset after flashing?

Children
Related