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

Can I use nrfjprog to read the debug port (DP) register

Is there a way on the command-line to read the debug port (DP) register or access port (AP) register for nRF52 via the the nrjfprog program?

I do not want to write my own code and build against the DLL but just call the nrfjprog like:

C:> nrfjprog --family nrf52 --readreg XXX

Thanks

Parents
  • Thanks Aryan. I am trying to control the SWD lines and read the debug and trace chapter which isn't useful to get started. That will become useful once I can start reading/writing DP/AP registers. For now, everything refers to the ARM Coresight documentation on SWD electrical interface but following that hasn't helped. The waveform looks good on oscilloscope but still no love.

Reply
  • Thanks Aryan. I am trying to control the SWD lines and read the debug and trace chapter which isn't useful to get started. That will become useful once I can start reading/writing DP/AP registers. For now, everything refers to the ARM Coresight documentation on SWD electrical interface but following that hasn't helped. The waveform looks good on oscilloscope but still no love.

Children
No Data
Related