pylink
pylink copied to clipboard
Specify RTT Telnet port
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
You can use the ip argument as documented here, which takes an address and port; e.g. 127.0.0.1:8000 (<address>:<port>).
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