Hi
Following up on a previous thread with the same title, I have the following scenario:
I have a telnet client in order to collect RTT output for unit testing.
In order to open the JLink telnet server, as I understand it, I first need to create the server, for example by connecting to the target first:
JLinkExe -NoGui 1 -CommandFile ./connect.jlink
This connecdts to target and keeps the connection open.
I then run commands likes this:
JLinkExe -NoGui 1 -CommandFile ./test_rgb.jlink
Code
> cat test_rgb.jlink
device ATSAMD21G18A
si SWD
speed 4000
connect
exec SetCompareMode = 0
loadbin .pio/build/test_rgb/firmware.bin, 0x2000
r
q
This works, but I wonder if this is supposed to be the way to use third-party applications to interact with RTT.
There must be a simpler way ?
Kind regards
Peter