I have had JLink working fine on my old computer, but I have recently installed JLink etc on my new computer and when I connect to JLinkRTTLogger, I can see some old logs initially but when I reset the connected device, no logs appear. The same issue happens with JLinkRTTViewer.
Here is my process:
1) Connect to the device:
2) Device connects:
Display All
As you can see, the first log is loaded (Loading zero value from storage: 603). The issue is that when I restart the connected device on my new computer like this:
I do not see any log output, whereas if I do this exact process on my old computer, I do see log output.
The only difference between the computers that I can think of is that I installed the JLink tools quite a while back for the one that works. My new computer has the latest JLink tools. Perhaps a new version is causing a difference here?
Here is my process:
1) Connect to the device:
2) Device connects:
Shell-Script
- SEGGER J-Link RTT Logger
- Compiled Aug 17 2021 17:17:05
- (c) 2016-2017 SEGGER Microcontroller GmbH, www.segger.com
- Solutions for real time microcontroller applications
- Default logfile path: ------------------------------------------------------------ ------------------------------------------------------------
- Connected to:
- J-Link V11 compiled Aug 10 2021 11:18:05
- S/N: 261004920
- Searching for RTT Control Block...OK. 3 up-channels found.
- RTT Channel description:
- Index: 0
- Name:
- Terminal Size: 1024 bytes.
- Output file: /dev/stdout
- Getting RTT data from target. Press any key to quit.
- ------------------------------------------------------------
- Loading zero value from storage: 603
As you can see, the first log is loaded (Loading zero value from storage: 603). The issue is that when I restart the connected device on my new computer like this:
nrfjprog --reset -f nrf52
I do not see any log output, whereas if I do this exact process on my old computer, I do see log output.
The only difference between the computers that I can think of is that I installed the JLink tools quite a while back for the one that works. My new computer has the latest JLink tools. Perhaps a new version is causing a difference here?