[SOLVED] Inconsistent treatment of RTT output

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

  • [SOLVED] Inconsistent treatment of RTT output

    Whilst trying to display a ticking uptime clock remaining in the same position using just '\r' at the end of printf() I noticed the following:



    RTT Viewer - ignores the CR and shows it as a space, so the time output scrolls left to right then wrap & upwards
    RTT Client shows it perfectly, clock remaining on same line at the left.
    RTT tab in the control panel is similar to the RTT Viewer but the '\r' is shown as a graphic symbol (musical note?)


    I tried some of the line end options in the RTT Viewer but it obviously makes no difference since the problem is not a line end problem..


    Is there a logical reason for the different treatment of the 0x0D carriage return character between the different RTT "viewers". ??

    EDIT:Apologies, on careful observation I noticed that RTT Viewer does not show it '\r' as a space, it is ignored..And I am using v6.00e

    The post was edited 1 time, last by ammaree ().

  • Hi,

    the applications use different methods/objects for displaying the data.
    Some of them support CR, others do not.

    You can also use your favorite telnet application, just connect it to local port 19021.

    Best regards,
    Arne
    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.