This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF_LOG_INFO - Intermittent in RTT Client

I have seen some variations of this issue but hoping someone can lead me in the right direction.

Similar to others, I am using NRF_LOG_INFO for debug messages. It works rock solid in the "Debug Terminal" in my Segger IDE. Never miss a message.

However, when I attempt to view messages using the J-Link RTT Client or RTT Viewer it is MASSIVELY intermittent. In fact, I miss most messages but every now and then one or two will creep in. And I am not sending very many messages. For example, I want to send a message when a button is pressed.

Like others, I believe I am using the typical proper settings. IE:

#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0

#define NRF_LOG_BACKEND_RTT_ENABLED 1

#define NRF_LOG_ENABLED 1

#define NRF_LOG_DEFERRED 1

What could be going wrong here?

Parents Reply Children
Related