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

Cant get J-Link RTT Viewer to show log information

Hello again Nordic Pros,

I am trying to get some debug logging going using the 52DK running ble uart central under SDK 12.3 and RTT Viewer v6.4.

I have setup config.h as such:

and added this line to test getting a log with each RX event:

...
        case BLE_NUS_C_EVT_NUS_RX_EVT:
            NRF_LOG_DEBUG ("TEST!\r\n");
...

Yet there are no logs in any RTT Viewer Window when characters are sent via BLE.

What am I missing here?

Robin @ TL

I now have RTT-Viewer showing logs.  However, there are 2 problems:

1.) If I turn on timestamping, my board hangs,

2.) When logging is enabled, I cannot command the board via the terminal.

Any suggestions on how to remedy this issues is greatly appreciated!

Thanks 

Robin @ TL

Parents Reply Children
  • Yes, our board is based on the nrF51822.  12.3 is the latest SDK for that SOC.  And, there are problems using the latest SDK for the 52 and interfacing with our 51 product.  See my ticket on dropped characters.

    At SDK 12.3 behaves well at both ends (peripheral and central), but I need a way of debugging while connected to a iphone.  RTT was the hopes but so far nothing seems to work.  A variety of problems, from RTT connect, but no log, to no connection to anything, depending on log setup on config.h.  Unstable to say the least.

    Robin @ TL

Related