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

how to enable rtt log?

Hi,

I close the uart log and open the rtt log

why uart log can be used still?

why rtt log display error state?

I set the log config like this:

I set the test code like this

I test the log like this:

Thank you for all your assistance.
Kind regards,
Peter.Min

Parents
  • Hi Peter

    Are you sure that you've compiled and built the application again after you've set the UART backend to 0? If you have, a lot of the data seems somewhat jumbled up, are you positive that it is the logging information that is printed to UART? It looks like you need to increase the log backend queue size to get the correct output on your RTT viewer.

    Best regards,

    Simon

Reply
  • Hi Peter

    Are you sure that you've compiled and built the application again after you've set the UART backend to 0? If you have, a lot of the data seems somewhat jumbled up, are you positive that it is the logging information that is printed to UART? It looks like you need to increase the log backend queue size to get the correct output on your RTT viewer.

    Best regards,

    Simon

Children
Related