Hi guys, I am fairly new to nRF and I try to understand the ways that data can be displayed to the terminal emulator.
So far, I have noticed that there are four different ways(!!!) to do so. Please correct me if I am wrong
1. Printf() function
2. NRF_LOG_INFO() function with RTT backend
3. NRF_LOG_INFO() function with UART backend
4. RTT communication
First of all what RTT or UART backend means?
Also, how are those configurations selected /activated and where do I see the data if use each one
I understand that the nRF52840 on the DK communicates with the onboard debugger uC through UART and from there the debugger communicates with the PC through USB port. Correct?
I also understand that the nRF52840 is programmed via jlink through the debugger uC but I don't understand how all those protocols are used and when with respect to the previous 4 ways of displaying data during debugging
Since I am really confused could someone give a simple explanation of how these things work or is there any fundamental guide including all these variations?
Thanks