pylink icon indicating copy to clipboard operation
pylink copied to clipboard

Specify RTT Telnet port

Open dmolteni opened this issue 2 years ago • 2 comments

Hi, I see after I open and connect a JLink object to my hardware a TCP socket is open on port 19021 for RTT. I was able to connect on that port with ncat and I can see the expected RTT messages...

I know 19021 is the default port for Telnet RTT. I just wondered if I can specify which port it is used as using JlLinkExe -RTTTelnetPort option.

Thanks

dmolteni avatar Jan 24 '23 15:01 dmolteni

You can use the ip argument as documented here, which takes an address and port; e.g. 127.0.0.1:8000 (<address>:<port>).

hkpeprah avatar Jan 24 '23 15:01 hkpeprah

Sorry, I was unclear. I don't want be the client but the server.

I want to automatize a test that works as follows: I have my hardware on a remote PC that runs a python script that uses pylink to connect, flash a hex file and open the RTT telnet port. It works on the default port.

I want on same remote PC connect a second hardware and replicate the scenario using a not default RTT telnet port.

Thanks

dmolteni avatar Jan 24 '23 15:01 dmolteni