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

How to print the debugging message in the nrf52840 custom board

Hi,

we have designed the nrf52840 custom board.The programming is working correctly in the custom board using the gnd detect,vtg swdio, swd clk pins.Here the problem is the debugging message is not printed  in the terminal where the debugging message is printed on the dk board.

plz give me solution to print the debugging message on the custom board

Parents
  • Hi

    I assume you are only connected to the computer via a DK and a debug cable. In that case, you have to make sure that you are printing debug messages using RTT and not UART. This can be changed in the sdk_config.h header file, by setting the NRF_LOG_BACKEND_RTT_ENABLED to 1 and the NRF_LOG_BACKEND_UART_ENABLED to 0.

    Best regards,

    Simon

Reply
  • Hi

    I assume you are only connected to the computer via a DK and a debug cable. In that case, you have to make sure that you are printing debug messages using RTT and not UART. This can be changed in the sdk_config.h header file, by setting the NRF_LOG_BACKEND_RTT_ENABLED to 1 and the NRF_LOG_BACKEND_UART_ENABLED to 0.

    Best regards,

    Simon

Children
Related