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

cannot see CRASHLOG with RTT viewer but can see CRASHLOG in SES ide debugger running

I cannot see CRASHLOG with RTT viewer but can see CRASHLOG dumps when SES ide debugger is running.

Is there anything different from the SES ide debugger's dumb terminal and the RTT viewer?

How to see the CRASHLOG dumps in RTT viewer (not in SES debugger)  that the SES ide dumb terminal can readily print out when debugger is running?

  • There's a motion sensor that sends an interrupt to wake up the nRF52840 by "tapping", it can be a strong "tap" depending on setting but that's not related to this discussion.

    The key thing is that the CRASHLOG logging does not show up properly on the RTT viewer, it is truncated even though we increased the buffer size.  

    Ideally, after the unit let's say detects a low voltage, it logs it, powers down, then when I plug in the j-link jtag cable onto the board, it wakes up the system and I see the print out of CRASHLOG without truncation. 

  • Hi,

     

    Could you share your sdk_config.h? If you're using NRF_LOG, then I'd recommend also upping the define "NRF_LOG_BUFSIZE" and see if this improves the scenario.

     

    Kind regards,

    Håkon

Related