[SOLVED] Which JLink executables allow telnet communication?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Which JLink executables allow telnet communication?

    Hi!

    I have a USB/JLink device conected to my computer. Using RTT and JLinkRTTViewer.exe I can send commands and see debug printouts. Also, when connecting a telnet client to JLineRTTViewer.exe on port 19021, I can send commands and see debug printouts.

    My question is: Can I use programs other than JLinkRTTViewer.exe to relay between RTT/USB and telnet? I tried using the JLink.exe program, but did not succeed. Telnet connected to something, but I could not send commands or see debug printouts. My wish is to have a program relaying between RTT/USB and telnet, but without an own user interface, and without consuming RTT printouts by itself. That is, all printouts should go to the telnet port.

    regards
    Elm
  • Hi,

    you can use any program to connect to the J-Link DLL (e.g a third-party telnet client).
    You just need to make sure that J-Link Commander (jlink.exe) is configured correctly (Targe device etc.).
    If you are using J-Link commander, you can change the port if necessary.

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi,

    Thanks for your reply.

    I suspected just that - and I am apparently doing something wrong as I cannot contact the development board.

    I have attached a picture of the configuration window of JLinkRTTViewer.exe. What configuration of JLink.exe would that correspond to?



    regards,
    Elm
  • Hi,

    JLink.exe -device NRF51422_xxAC -if SWD -speed 4000
    Also, I would suggest to update to a current version of J-Link software package and also update the RTT source accordingly. (Link)

    Best regards,
    Niklas
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.