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

programming nRF52832 via SWD

I am trying to program an nRF52832 on an nRF52DK via the Debug in port (P18).

I am driving it with an STM32L073.

Should I put the nRF52832 into reset via the Debug in port before attempting to reset the line and select SWD mode?

My steps are to write 50 1's on the data line, send the select magic number 0xe79e and follow it with 50 1's.

I then try to read the IDCODE register (DP register 0

Packet request is 10100001

After the turnaround, I don't see the nR52832 drive the line at all.

Edit: added screenshot of two nRF52dk's doing reset

Related