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

nrfjprog --reset and RTT output with nRF-Command-Line-Tools 10.12.1

After upgrading the nRF-Command-Line-Tools from 9.8.1 to 10.12.1 the RTT output of JLinkRTTClient stopped working when doing a nrfjprog --reset.

Interestingly it still works when I use the old (9.8.1) version of nrfjprog: RTT output keeps running.

When I reset with nrfjprog from the new (10.12.1) version the RTT output is stuck until I restart JLinkExe

  • Hi,

     

    I checked internally with my colleagues, and we all have a similar behavior (and have had for quite some time).

    Its that sometimes you can output RTT without re-attaching the RTTViewer, and sometimes you cannot. It highly depends on what you're doing (flashing, verifying, debugging, etc). Most of us defaults to always re-attach after doing anything "debugger relevant".

     

    I can read the RTT output if I physically use the reset button, if I issue a "nrfjprog --debugreset", or "--pinreset" (JLinkExe gives similar results).

    Normal --reset, which is equivilant to a NVIC_SystemReset(), does not work as it connects in a different way (writes to a cpu register).

     

    Kind regards,

    Håkon

Related