JLinkExe with JLinkRTTClient: Max 15 characters can be sent to firmware?

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

    • JLinkExe with JLinkRTTClient: Max 15 characters can be sent to firmware?

      Hi,

      I start following tools on Debian 12.8, Zephyr OS, nrf connect SDK 2.7.0, JLINKExec V8.10f, JLinkRTTClient 2024-06:

      Shell-Script

      1. JLinkExe -device NRF52840_XXAA -if SWD -speed 4000 -autoconnect 1
      2. JLinkRTTClient



      When I paste more than 15 characters into JLinkRTTClient they are cut off inside the firmware doing SEGGER_RTT_Read(0) running in a separate thread with 10msec sleep between polls.


      C Source Code

      1. while ((num = SEGGER_RTT_Read(0, buf, bufsize)) > 0) { // collect buf data ... }


      How can I increase the buffer so that any number of characters (or say at least 128 bytes) are reaching the firmware?

      Thank you
      Marcel