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

RTT Viewer - J-link plus won't debug.

I'm using a nRF51 with 32K RAM and SD120. When I started using RTT Viewer I could send data to the terminal, and debug my code. Recently my J-Link plus won't allow me to debug. In Keil debug mode, I click the run button, and my application starts, but the run button, returns to the not_running state. My application is still running. Data is still streaming to RTT-Viewer, but any break points or debugging features stop working.

I can click the Keil's RST(reset) button, and the application will stop running. I can then click the Run button, my application will start over, and continue to run, but within a second or two, the run button resets, and I can't debug my code.

I'm running V5.12f of RTT Viewer and uVision 5.18a

EDIT/UPDATE: This may not be related to RTT Viewer. I took RTT Viewer out of my application and the run button is still resetting.

I ideas what's going on? Is it a RAM issue?

Thanks

Parents
  • Keil Version 5.18a and JLink dll V5.12f

    I think the issue was a low battery. I'm using custom hardware, which runs on a small coin cell. I noticed the battery was getting low and replaced it. Since then I haven't had the issue.

    It still seems a bit strange that the RTT Viewer was still receiving data from my Jlink, and I could load my code, reset and start my application with the debugger. Just not actually debug. If the issue proves not to be battery related, I'll repost the question.

Reply
  • Keil Version 5.18a and JLink dll V5.12f

    I think the issue was a low battery. I'm using custom hardware, which runs on a small coin cell. I noticed the battery was getting low and replaced it. Since then I haven't had the issue.

    It still seems a bit strange that the RTT Viewer was still receiving data from my Jlink, and I could load my code, reset and start my application with the debugger. Just not actually debug. If the issue proves not to be battery related, I'll repost the question.

Children
Related