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

RTT logging with freeRTOS and nRF5 SDK for Thread

I am trying to test a combination of BLE central role, Thread with CoAP server and FreeRTOS on an nRF52840 using version 0.10.0 of nRF5-SDK-for-Thread.

I don't seem able to get RTT traces from any example based on freeRTOS. RTT traces do work instead on other examples not based on freeRTOS.

Is this a known issue?

My environment is as follows:

  • SoftDevice: s140_nrf52840_5.0.0-2.alpha
  • Host: macOS 10.12.6
  • Cross compiler: gcc-arm-none-eabi-6-2017-q2-update
  • Segger J-Link: SEGGER J-Link Commander V6.18a (Compiled Aug 11 2017 17:53:50)
Parents
  • Please make sure that you have selected correct target device in J-Link RTT Viewer - NRF52840_XXAA. I have checked it with V6.18c and it's working correctly.

    RTT Viewer looks for specific token in device RAM. It may happen that you have selected device with smaller RAM size and this token is outside of this region. Thats why other examples may work with wrong device selected as they have smaller RAM footprint.

Reply
  • Please make sure that you have selected correct target device in J-Link RTT Viewer - NRF52840_XXAA. I have checked it with V6.18c and it's working correctly.

    RTT Viewer looks for specific token in device RAM. It may happen that you have selected device with smaller RAM size and this token is outside of this region. Thats why other examples may work with wrong device selected as they have smaller RAM footprint.

Children
Related