Hi,
I have had a heck of time trying to log into the JLinkRTTLogger or the JLInkRTTViewer when I issue the SEGGER_RTT_printf(1, "Hello world!\n") call! I am not see anything logged by the JLinkRTTLogger or JLinkRTTViewer!
I found out that RTTViewer is slow! It misses logging data when I do SEGGER_RTT_printf(1, "Hello world!\n") a zillion times!
So, I tried RTTLogger below, but cannot get it to log!! COME ON, SEGGER SUPPORT TEAM! Please note that I blank out the SN for privacy!
C:\Users\dev\logs>JLinkRTTLogger -Device STM32F407VG -If SWD -Speed 12000 -SelectEmuBySN XXXXXXXX -RTTChannel 1 log.txt
SEGGER J-Link RTT Logger
Compiled Sep 6 2019 17:58:48
(c) 2016-2017 SEGGER Microcontroller GmbH, segger.com
Solutions for real time microcontroller applications
------------------------------------------------------------
------------------------------------------------------------
Connected to:
SEGGER J-Link ARM
S/N: 50111528
Searching for RTT Control Block...OK. 2 up-channels found.
RTT Channel description:
Index: 1
Name:
Size: 0 bytes.
Output file: log.txt
Getting RTT data from target. Press any key to quit.
------------------------------------------------------------
Transfer rate: 0 KByte/s Bytes written: 0 Byte
Shutting down...
I have had a heck of time trying to log into the JLinkRTTLogger or the JLInkRTTViewer when I issue the SEGGER_RTT_printf(1, "Hello world!\n") call! I am not see anything logged by the JLinkRTTLogger or JLinkRTTViewer!
I found out that RTTViewer is slow! It misses logging data when I do SEGGER_RTT_printf(1, "Hello world!\n") a zillion times!
So, I tried RTTLogger below, but cannot get it to log!! COME ON, SEGGER SUPPORT TEAM! Please note that I blank out the SN for privacy!
C:\Users\dev\logs>JLinkRTTLogger -Device STM32F407VG -If SWD -Speed 12000 -SelectEmuBySN XXXXXXXX -RTTChannel 1 log.txt
SEGGER J-Link RTT Logger
Compiled Sep 6 2019 17:58:48
(c) 2016-2017 SEGGER Microcontroller GmbH, segger.com
Solutions for real time microcontroller applications
------------------------------------------------------------
------------------------------------------------------------
Connected to:
SEGGER J-Link ARM
S/N: 50111528
Searching for RTT Control Block...OK. 2 up-channels found.
RTT Channel description:
Index: 1
Name:
Size: 0 bytes.
Output file: log.txt
Getting RTT data from target. Press any key to quit.
------------------------------------------------------------
Transfer rate: 0 KByte/s Bytes written: 0 Byte
Shutting down...
The post was edited 3 times, last by unebonnevie ().