J-link RTT Viewer can not display when I use _SEGGER_RTT.aUP[1]

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

    • J-link RTT Viewer can not display when I use _SEGGER_RTT.aUP[1]

      Hi:
      I want same log to display at J-link RTT Viewer channel 0 with _SEGGER_RTT.aUP[0] and same log to display at J-link RTT Viewer channel 1 with _SEGGER_RTT.aUP[1].

      I set

      C Source Code

      1. SEGGER_RTT_MAX_NUM_UP_BUFFERS 2
      2. SEGGER_RTT_MAX_NUM_SOWN_BUFFERS 2

      when I use the following code ,the log can display channel 0 and channel 1.but do not use _SEGGER_RTT.aUP[1]

      C Source Code

      1. SEGGER_RTT_SetTerminal(0);
      2. SEGGER_RTT_Write(0,&ch,1);
      3. ......
      4. SEGGER_RTT_SetTerminal(1);
      5. SEGGER_RTT_Write(0,&ch,1);
      but use SEGGER_RTT_Write(1,&ch,1); the channel 1 do not display anything


      Source Code

      1. SEGGER_RTT_SetTerminal(0);
      2. SEGGER_RTT_Write(0,&ch,1);
      3. ......
      4. SEGGER_RTT_SetTerminal(1);
      5. SEGGER_RTT_Write(1,&ch,1);


      so ,please help me !

      Best regards,

      Bluetooth-BLE
      Bluetooth + NORDIC + SES
    • Hello,

      (Moved thread to J-Link forum)
      Thank you for your inquiry.
      J-Link RTT Viewer can only display output on Channel 0. Channel 1 can only be logged into a file.
      More information can be found in the J-link user manual in section J-Link RTT Viewer.

      If you want to see output on RTT Viewer on more than just Channel 0 the J-Link SDK is required. With the SDK you can write your own Viewer application then without these restrictions.
      segger.com/products/debug-prob…nk/technology/j-link-sdk/

      Best regards,
      Nino
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      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 contact us per e-mail.
      Alternatively our support ticketing system can be used as well: segger.com/ticket/