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

I can't see NRF_LOG output

Hello,

I am using SES V4.5, SDK 15.2 and the "ble_app_blinky_c" and I was  not able  to see the programme log.

I tried setting up the file "sdk_config.h" to use the RTT, and It doesn't work.

I tried setting up "sdk_config.h" to use UART and still won't show anything.

Even in the Debug Terminal of SES I can't see anything.

What should I do to solve this problem ?

Thank you.

Parents
  • thank you for your quick reply.

    1. Yes, I am using an unmodified version of the  BLE blinky central example and I just want to output this message NRF_LOG_INFO("Blinky example started.") 

    2. I used Tera Term 

    3. the modifications in SDK_config.h are :

    #define NRF_LOG_BACKEND_RTT_ENABLED 1

    #define NRF_LOG_BACKEND_UART_ENABLED 0

  • cyrine said:
    thank you for your quick reply.

    No problem at all, I am happy to help.

    cyrine said:
    1. Yes, I am using an unmodified version of the  BLE blinky central example and I just want to output this message NRF_LOG_INFO("Blinky example started.") 
    cyrine said:
    2. I used Tera Term 

    Are you using a nRF52 Development Kit?
    If you have flashed the DK with an unmodified version of the example, then you should see it behave as described in the Blinky central example documentation. Is the LED blinking as described?
    Could you also verify that you have opened the correct COM port, and that your serial terminal has the correct configuration?
    I have no personal experience with using Tera Term, but I assume it is similar to all other serial terminal applications.

    cyrine said:

    3. the modifications in SDK_config.h are :

    #define NRF_LOG_BACKEND_RTT_ENABLED 1

    #define NRF_LOG_BACKEND_UART_ENABLED 0

    This looks correct, but keep in mind that RTT does not show on regular serial terminals. You could either see it in the SES debug terminal or using the J-Link RTT Viewer desktop application.

    Best regards,
    Karl

Reply
  • cyrine said:
    thank you for your quick reply.

    No problem at all, I am happy to help.

    cyrine said:
    1. Yes, I am using an unmodified version of the  BLE blinky central example and I just want to output this message NRF_LOG_INFO("Blinky example started.") 
    cyrine said:
    2. I used Tera Term 

    Are you using a nRF52 Development Kit?
    If you have flashed the DK with an unmodified version of the example, then you should see it behave as described in the Blinky central example documentation. Is the LED blinking as described?
    Could you also verify that you have opened the correct COM port, and that your serial terminal has the correct configuration?
    I have no personal experience with using Tera Term, but I assume it is similar to all other serial terminal applications.

    cyrine said:

    3. the modifications in SDK_config.h are :

    #define NRF_LOG_BACKEND_RTT_ENABLED 1

    #define NRF_LOG_BACKEND_UART_ENABLED 0

    This looks correct, but keep in mind that RTT does not show on regular serial terminals. You could either see it in the SES debug terminal or using the J-Link RTT Viewer desktop application.

    Best regards,
    Karl

Children
No Data
Related