[SOLVED] RTT Client cannot connect to port 19021 anymore

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

  • [SOLVED] RTT Client cannot connect to port 19021 anymore

    The RTT Client does not connect anymore in SEGGER J-Link Commander V6.46i (Compiled Jul 5 2019 16:56:47). Version V6.35g (Compiled Oct 19 2018 17:36:30).


    Shell-Script

    1. JLinkRTTClient
    2. ###RTT Client: ************************************************************
    3. ###RTT Client: * SEGGER Microcontroller GmbH *
    4. ###RTT Client: * Solutions for real time microcontroller applications *
    5. ###RTT Client: ************************************************************
    6. ###RTT Client: * *
    7. ###RTT Client: * (c) 2012 - 2016 SEGGER Microcontroller GmbH *
    8. ###RTT Client: * *
    9. ###RTT Client: * www.segger.com Support: support@segger.com *
    10. ###RTT Client: * *
    11. ###RTT Client: ************************************************************
    12. ###RTT Client: * *
    13. ###RTT Client: * SEGGER J-Link RTT Client Compiled Jul 5 2019 16:56:58 *
    14. ###RTT Client: * *
    15. ###RTT Client: ************************************************************
    16. ###RTT Client: -----------------------------------------------
    17. ###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ....................................................................................................................................................................................................................................
    Display All

    I'm honestly, too lazy to figure out which version still works and which doesn't. It's a pretty standard OS I use, Ubuntu 18.04. It's with the Nordic nRF52 dev kit (PCA10040).

    JLinkExe -Device nRF52832_xxAA -speed auto -If SWD -RTTTelnetPort 19021
    JLinkRTTClient -RTTTelnetPort 19021


    ss | grep '^tcp' | grep '127.0.0.1'


    is empty before I start. After I start JLinkExe it is still empty.


    Only after I start the JLinkRTTClient it shows activity:


    tcp FIN-WAIT-2 0 0 127.0.0.1:34016 127.0.0.1:19021
    tcp CLOSE-WAIT 1 0 127.0.0.1:19021 127.0.0.1:34018
    tcp FIN-WAIT-2 0 0 127.0.0.1:34018 127.0.0.1:19021
    tcp SYN-SENT 0 1 127.0.0.1:34026 127.0.0.1:19021
    tcp CLOSE-WAIT 1 0 127.0.0.1:19021 127.0.0.1:34016
  • Hello,

    We are aware that the current version of the J-Link RTT Client is not working correctly on Ubuntu.
    We are working on a fix for this as of right now.
    I will get back to you as soon as I know when a fix for this will go live.

    Sorry for any inconveniences caused by this.
    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.
  • Hello,

    We found the issue that caused RTTClient to fail when connecting to a running J-Link debug session.
    We have fixed this internally already.
    A release version of the J-Link software package that contains this fix is planned for Friday this week (19th July).
    Thank you very much for your patience and for reporting this issue.
    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.