This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problems to get the RTT SWD output in a custom board.

Hi to everyone!

I have been getting the output of NRF_LOG_INFO functions through RTT in J-Link RTT Viewer terminal. The code has been executing in nRF52832DK.

Now I want to execute the code in a custom board with the same MCU (nRF52832), but I don't get any output in the terminal.

I thought the output would work in the same way as in DK, but it hasn't worked. In fact I don't receive anything.

I know the code is working because I see the leds blinking in the custom board as it has to be.

I've been looking for the way to fix the problem and I've see in this blog that SWDIO and SWCLK have their own GPIO ports (P0.26 and P0.25, respectively), but in the custom board they don't have any GPIO port assigned.

SWDIO and SWCLK, from custom board, are connected directly to their coresponding pins on P19 port (Debug out) of the development board.

Could this be the problem?

Thanks in advance!

Related