[SOLVED] jLinkSWOViewerCL and line-endings

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

  • [SOLVED] jLinkSWOViewerCL and line-endings

    Having got SWO viewer working sweetly, I have one additional question: what does jLinkSWOViewerCL (V632a) need to form a line ending? I ask because I am sending a string with a CR and LF ending but in SWO Viewer the CR and LF characters effectively disappear. So in jLinkSWOViewerCL, sending printf("Hello world %d.\r\n"), x) in a loop, I get:

    Hello world 0.Hello world 1.Hello world 2.

    ...while in GDB (which I think is interpreting both CR and LF as line endings) I get:

    Hello world 0.

    Hello world 1.

    Hello world 2.

    What do I need to send to get line endings to appear in jLinkSWOViewerCL?
  • Hi,

    Thank you for your feedback.
    Great to hear that you are up and running again.
    We will consider this thread as solved now.

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