[SOLVED] SEGGER RTTLogger in Background

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

  • [SOLVED] SEGGER RTTLogger in Background

    Hello all,

    we have the problem, that we can't use the RTT Logger in the background. We want to test on a Jenkins and at the same time we want to log the RTT output. On Jenkins we are only able to use one Terminal at the same Time, so we have to start the Logger and put it into the Background till the tests are finished. When we start the Logger normally everything works fine, but when we try to put it into the Background by using the “&” attribute, the Logger isn't able to find the RTT Block and is shutting down.When you open the ongoing processes with htop or similar there is still a process from SEGGER RTTLogger after killing this process the logger doesn't generate an output file. Is there a possibility to set the Logger in the background and get the log when killing the process?

    Best regards
    Tom
    Images
    • SeggerRTTLoggingWorks.png

      47.42 kB, 939×502, viewed 344 times
    • SeggerRTTLoggingDoesntWork.png

      42.94 kB, 949×378, viewed 339 times
  • Hi,
    sorry for the delay in response.
    Thank you for your inquiry.

    The RTT Logger was not designed for such a purpose.
    It is designed to be used with direct user interaction.

    We would highly recommend to acquire the J-Link SDK and either to
    a) adjust the RTT Logger to fit your needs (the SDK comes with the RTT Logger source code) or
    b) create your own application using the SDK to control the J-Link and RTT directly.

    For further information about the J-Link SDK please refer to:
    segger.com/products/debug-prob…nk/technology/j-link-sdk/

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