Hello everyone,
I have a setup with two DK52 (nRF52832) with a mesh level client on one board and a level server on the other. Everything is working fine, no problems there. Properly provisioned with either an app running on a smartphone or using the mesh provisioner example. Running perfectly well.
I am also able to connect both boards to RTT Viewer through J-Link and get most LOG messages on both terminals. No problems there either.
I am using Segger Embedded Studio.
My question: I am trying to get these LOG messages through the UART/USB interface, so that I do not need the J-Link connection. My goal is to replicate this setup using boards that do not have the J-Link interface.
I read through lots of messages in the forum, tried some solutions but none worked for me. One suggestion I often see is regarding two macros: NRF_LOG_BACKEND_RTT_ENABLED and NRF_LOG_BACKEND_UART_ENABLED, as being the way to enable either output to the log messages. But none of them are defined in the sdk_config.h file, so no help there. There is also mention to NRF_LOG_USES_RTT, but it also is absent.
I also searched for a tutorial on running an example on the DK52 ( Getting started with the nRF51 or nRF52 Development Kit) which does not exist anymore, and which refers to a section "Testing and debugging a BLE service" that was supposed to show how to use the UART interface for log messages.
I appreciate any suggestions on solving this issue or showing that I can't have them without the J-Link interface. Also, using the UART peripheral with my own routines is not a solution, as I want to make use of the extensive number of LOG messages already spread through the entire source files.
Thanks,
Julio