Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Logging to file?

I need to get quite a lot of logs and quite fast too. How do I do I get the logs into a file?

I tried with Segger RTT logger, but it tends to give up quite quickly. I heard rumors that the RTT logger and debug terminal in the Segger Embedded Studio don't like each other, and that tends to cause problems. How do I get to use only RTT logger and turn debug terminal logging off?

Or are there other means? There are no serial ports left to use.

Parents
  • Hi,

    Can you quantify "quite a lot" and "quite fast"?

    RTT logging to the Segger Embedded Studio debug terminal should usually work fine, at least in my experience.

    What J-Link programmer are you using, the one integrated on a DK?

    Is the use case here that you wish to run a debug session, but get the logging through RTT logger instead of through SES?

    Regards,
    Terje

Reply
  • Hi,

    Can you quantify "quite a lot" and "quite fast"?

    RTT logging to the Segger Embedded Studio debug terminal should usually work fine, at least in my experience.

    What J-Link programmer are you using, the one integrated on a DK?

    Is the use case here that you wish to run a debug session, but get the logging through RTT logger instead of through SES?

    Regards,
    Terje

Children
Related