pylink
pylink copied to clipboard
RTT Echo
When using the RTT example script I get local echo. JLinkRTTClientExe has an option to disable this.
examples/rtt.py vs JLinkRTTClientExe -LocalEcho Off:

I'm trying to figure out how to disable the echo but I can't find documentation for the used DLL functions (e.g. JLINK_RTTERMINAL_Read()). The RTT API functions in the User Guide have different names.
Operating System: GNU/Linux
J-Link Model: nRF52840 DK
J-Link SDK Version: 7.54a
anyone? @hkpeprah
Hey, sorry about the late response here. I'm not too familiar with the command / tool, but it looks like in the latter, local echo is disabled. Is it possible that the command line simply provides an option to disable echo, and in that it just trims off X bytes where X is the number of bytes the user entered in the output? If that's the case, we could add the option to the rtt script where it ignores the first N bytes of output (treating them as echo).