How does SLM use RTT?

How does the slm routine of ncs1.9.1 use rtt log. Below is my configuration:

CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=3

CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG_BACKEND_UART=n

With the default configuration, there should be RTT log output, but nothing happens in the actual window.

Parents Reply
  • I don't know exactly what's going on. Can you please try to run the same sample using the nRF Connect for VS Code extension tool for Visual Studio Code?

    I have not used SES in NCS, and it is now discontinued (since NCS v2.0.0). I see that you are using v1.9.1, but perhaps it (SES) was not set up correctly. 

    So can you please try the VS Code "IDE", and see if you can connect to the RTT Terminal either through nRF Connect for VS Code, or the RTT Viewer after programming via nRF Connect for VS Code?

    Best regards,

    Edvin

Children
Related