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

nrf_serial_write stops when NRF_LOG_BACKEND_RTT_ENABLED

serial-rtt.zipI'm having trouble debugging SDK14.1.0 example serial using NRF_LOG with NRF_LOG_BACKEND_RTT_ENABLED using the NRF52 DK, PCA10040.

With NRF_LOG_ENABLED set to 0 I see characters from nrf_serial_write on my terminal. With NRF_LOG_ENABLED set to 1 I do not, even though I can confirm nrf_serial_read is working because NRF_LOG_INFO prints the characters on my debug terminal.

How do I use NRF_LOG with RTT in an application that uses the serial port?

Edit: attached project zip file.

Related