Hi. I'm quite new to nRF programming. I successfuly solved how to compile/link/flash the software onto nRF52 DK using just a simple editor (Notepad++), the ARM toolchain and makefile.
Now I'm trying to see some logging/debug info. I have found that there are several options:
- NRF_LOG over RTT
- NRF_LOG over UART
- printf
As I understood so far, I need a specialized software and/or hardware for the RTT. Therefore I would prefer the other two.
The questions:
- What and where should I configure to enable the NRF_LOG over UART? (NRF_LOG_ENABLE and other sdk_config.h stuff)
- What and where should I configure to enable printf logging? (some UART initialization?)
- What software tools do I need to capture either the NRF_LOG or printf output? Please recommend som free and/or portable software like e.g. putty.
Please keep in mind that I have only a little experience with such debugging. I'd like to setup a development environment without huge IDEs or specialised hardware.
Thank you.