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

NRF_LOG_INFO and printf does not work

Hello,

I am trying to print things from my board. I would like to go with NRF_LOG_INFO. I have the modules enabled, included the essential libraries, including the c files, but it does not work.

I am using NRF52DK with SDK v14.20. I use PuTTY and have connected to the correct virtual COM port with the correct configuration.

Is there anything I may be missing?

Thank you in advance.

Parents
  • Hi

    Please make sure that you have set NRF_LOG_ENABLED 1 in sdk_config.h, as I can't see anywhere that you have. Also you shoud only use either RTT or UART, not both. And make sure that baudrate is 115200 in both sdk_config.h and in your terminal.

    Best regards,

    Simon

Reply
  • Hi

    Please make sure that you have set NRF_LOG_ENABLED 1 in sdk_config.h, as I can't see anywhere that you have. Also you shoud only use either RTT or UART, not both. And make sure that baudrate is 115200 in both sdk_config.h and in your terminal.

    Best regards,

    Simon

Children
No Data