I was trying to migrate to RTT on the nRF52840DK because my actual target has no UART. I changed prj.conf as shown:
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=n
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y
And while the RTT viewer connects without error, there is no console output. The more troubling development is that when I tried to go back to UART output as a sanity check, I now have no console output there either. (prj.conf shown below)
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=n
CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y
The program is running, so there should be console output, and I have spent hours looking through your documentation and Q&A but everything I am told to do I have already done.
I know it is the Nordic way to have a dozen or so things that have to be just right in order for a certain feature to work. Can you please enumerate any and all configuration items that must be set properly, e.g. baud rates, handshake, memory addresses (for RTT) so I can go through them one by one and check to see where I have gone wrong?
Thanks.