I use SDK12.2, and I have enabled NRF_LOG_BACKEND_SERIAL_USES_RTT and NRF_LOG_ENABLED. But there was nothing show in J-link RTT and don't know why.
I use SDK12.2, and I have enabled NRF_LOG_BACKEND_SERIAL_USES_RTT and NRF_LOG_ENABLED. But there was nothing show in J-link RTT and don't know why.
Do you get any output if you set it to NRF_LOG_BACKEND_SERIAL_USES_UART
? Do you have NRF_LOG_DEFERRED
set? If you do, you need to call NRF_LOG_PROCESS()
or NRF_LOG_FLUSH()
to process the log queue.
Have you tried debugging, to see which function is failing, and what error code you get?
Have you tried debugging, to see which function is failing, and what error code you get?