Hi,
I managed to build Segger RTT (to redirect printf on Segger JLink terminal) within my code baseline to try to use the inner terminal of SmartSnippets. When I the flash the image with Segger RTT support and start with JLink connected, I should be able to start a Telnet terminal.
But I get this error message for Telnet : connection refused : connect
I used localhost with port 19021 as described in the documentation..
Is this fully functionnal ? Could this come from something like a firewall?
Thanks
Vince
Device:

Hi Vince,
I have asked our SDK team to investigate. We should receieve an answer shortly.
/MHv
Hi !
I was just thinking about the fact that using a release or debug version of the DA14681-01 USB library could have an impact (used at linking stage). Like enabling Telnet just for the Debug one..
Hi Vince,
I received the following response from the team:
connection refused would mean:
Note that RTT terminal can be active or get enabled without enabling the debugger at the same time.
For the RTT Control Block address you need to put the value of _SEGGER_RTT variable found in the binary MAP file (_SEGGER_RTT)
Also make sure that in the RTT Viewer window the options “Input -> Sending -> Send on Enter”
and “Input -> End of line -> Windows format” are checked.
This allows input strings which are sent by the RTT Viewer to be interpreted properly by DA14680.
我希望这有助于
/MHv
Hi,
I did open the port and allowed connections explicitly on Windows on port 19021 used by Telnet and Rtt client
RTT Control Block Address : is this in the code ? I found the _SEGGER_RTT to have 0xa8 but where should this RTT control block address be set ? May be I missed it in the doc
Thanks
Vincent
Please see attached...
/MHv
Hi,
Ok thanks I'll give a try and let you know as soon as I have something interesting. May take a while, cause I'm on holidays soon :-)
Vince
我不得不查the word "holiday". Sounds wonderful ;o)
/MHv