I cannot get the NRF_LOG messages via RTT to the debug terminal in SES or RTT Viewer. My setup:HW: PCA10040 1.2.4SDK: 15.3Project: \nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_hrs\pca10040\s132\ses\ ble_app_hrs_pca10040_s132.emProjectSES: 4.16
My project compiles and it runs. I can see the Nordic_HRM device from my phone when the app is running (in debug mode and by downloading the app). I can set and hit breakpoints.
I expect to see this line printed to the integrated Debug Terminal in SES but I do not.
My modifications to sdk_config.h:
NRF_LOG_BACKEND_RTT_ENABLED 1NRF_LOG_BACKEND_UART_ENABLED 0NRF_LOG_ENABLED 1NRF_LOG_DEFERRED 0 (tried both 0 and 1)
I can very rarely see the log output with RTT Viewer with the following settings:
and the following log tab:
It seems to log once if immediately after starting the RTT Viewer if a new instance of SES is running. After that, I can restart the board, the app, start a new debug session, etc and I will never see another line of output.
I confirmed I have the correct target device selected for debugger.
Any other ideas or support? Many thanks in advance.
I had the same issue. With the former version 4.12 on my Mac it works.....
I rolled back to SDK 15.2 and RTT logging works as expected. I'm moving forward with this version of the SDK so I can continue to familiarize myself with it. Perhaps I'll come back to 15.3 at a later date with more knowledge under my belt...
I would be very curious to hear if others are experiencing RTT issues with SDK 15.3.
I haven't had this issue with SDK 15.3.0. However, if you reencounter this issue, please try to power-cycle the board to reset RAM and see if that makes any difference.
Thanks for the reply. I tried power cycling the board multiple times without a change in behavior. Interestingly, it worked very easily with 15.2. I have two different pieces of HW: the NRF52 dev kit and a custom NRF52810 board. Both sets of HW show the same behavior (no RTT backend logging with 15.3 and successful backend logging with 15.2).
On my side "MAC" 4.16 i can also power on/off a lot of times. The result is the same. is funny, the cursor in the log is moving down. But the content of the LOGS is also empty with Copy/Paste.