[ABANDONED] Multiple RTTViewer and e2studio not working in Ubuntu

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

  • [ABANDONED] Multiple RTTViewer and e2studio not working in Ubuntu

    I have two EK-RA6M3 development board. Both running PTP example from the example repository of Renesas. One is master and other is in slave configuration.
    I have Ubuntu 22.04 LTS .
    When I run 2 instances of e2Studios and start debug session in both of them, it works. Then I open RTT Viewer and connect one of them it also works, but as soon as I open second instance of RTT viewer it says it can not connect. as seen below
    [img]https://community.renesas.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/48/pastedimage1670885563057v2.png[/img]

    And if I open 2 instances of RTT viewer and then try to debug from e2 studio , no debugging session starts and error is thrown as below
    [img]https://community.renesas.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/48/pastedimage1670885425065v1.png[/img]
    Also it kills rtt viewer session.


    I have tried Jlink driver version v7.82f and v7.67d both Linux 64 bit DEB installer.

    ALSO
    Renesas e² studio

    Version: 2022-10 (22.10.0)
    Build Id: R20221013-1357
    FSP version 4.0.0
    THERE is no problem doing this on windows 10. [i.e. running 2 e2studio debugging session as well as 2 rttviewer session]
    basically here project and board doesn't matter, you can choose any two boards and any project and just start debugging and rttviewer in ubuntu , you will see the problem.
    It seems like GDB server is allowing only three connections in Linux. It can be 2 IDE and one logger or 2 loggers and 1 IDE.

    Actually I connected 2 EK-RA6M3 and 2 EK-RA2A1 boards and run RTTViewer and all four worked fine, i.e. I could see the logs from all four boards.

    So, when Debugging is triggered by e2Studio via e2-gdb-server only then this issue is triggered. I think if you eliminate rttViewer and just try to start debugging sessions on 4 boards in Linux you will have the same


    ALSO when I attach 2 separate debuggers (not OB) and try to debug using e2studio , the same problem occurs, If I debug both of them, I can only connect one of them using RTTView. there is some limitation with 3 conections.
    Images
    • Screenshot from 2022-12-12 22-50-00.png

      289 kB, 1,920×1,080, viewed 173 times
    • Screenshot from 2022-12-12 22-52-28.png

      656.66 kB, 1,080×1,920, viewed 152 times