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

RTT Viewer / nrfjprog Issue

If I have the J-Link RTT Viewer open and connected to my PCA10056 (viewing RTT output from an external board connected to P19) and then reprogram the board using nrfjprog this will result in both nrfjprog and RTT Viewer locking up until I unplug and plug back in the PCA10056.  When this happens RTT Viewer prints the following error: "Communication timed out: Requested 12 bytes, received 0 bytes!"  Sometimes this won't happen and it will program just fine and RTT will print out after the boards resets, but the majority of the time it does.  This never used to happen though and I'm not sure what changed to cause it.  If I disconnect the RTT Viewer, program, then reconnect RTT I don't have any problems, but it's annoying to have to do this everytime I want to program the board.

Has anyone one else had this problem?

Parents Reply Children
  • Hi Jeff,

    By default the script file box was populated with the text "undefined", but I've found if I clear that then I don't get the popup I mentioned.  It was "undefined" on the older version as well, but didn't cause the popup so it must just be a change Segger made.  This doesn't seem to change the behavior in any way though.

    The device I am programming is a custom nRF52840 board connected to the PCA10056 through the P19 Debug out connector.  I just tried disconnecting my board and programming the PCA10056 itself and see the same issues though.  

    One more thing I've noticed is that when the issue occurs and nrfjprog and RTT Viewer both lock up, if I wait awhile instead of resetting the dev board Windows will eventually give me a "USB Device not recognized popup".  If I go into Device Manger the PCA10056 no longer shows up under ports and is instead listed as an "Unknown USB Device (Device Descriptor Request Failed".

    So maybe the problem is with the PCA10056?

    John

Related