Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify RTT Telnet port #161

Open
dmolteni opened this issue Jan 24, 2023 · 2 comments
Open

Specify RTT Telnet port #161

dmolteni opened this issue Jan 24, 2023 · 2 comments

Comments

@dmolteni
Copy link

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

@hkpeprah
Copy link
Contributor

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

@dmolteni
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants