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

Use UART and RTT debug interface on the same time

Hi,

I had merge UART and RTT  program into the same code.

1. When I use C/C++ compile option "ESB_PRESENT NRF_LOG_USES_RTT=1" to compile my source code , then I can find debug message on "J-Link RTT Viwer", but the UART interface will be crash (Use printf to output some message to UART).

2. If I don't use compile option "ESB_PRESENT NRF_LOG_USES_RTT=1" to compiler code, then UART can work correctly but "J-link Viewer" can not output any thing.

Is it possible use UART and RTT debug interface on the same time?  How can I do this job?

Thank you,

Chianglin

Parents Reply Children
No Data
Related