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

How to debug open-thread on nrf52840 using Segger-RTT

Hi May i know what would be the debugging procedure using segger-RTT for nrf52840 and what is the debugging Hardware Required ?

Thanks and Regards, R Madhu.

  • I'm not sure what you mean by debug procedure, but theexamples should give log messages that you can view with the RTT Viewer. With RTT the SWD debug interface is used to send information to the J-Link which forwards the information to a PC++, see this for more information.

    Also, there is a tutorial here, it is not for the Thread SDK though.

    For example when I run the Thread CLI example I get:

    :INFO:Thread version: OPENTHREAD/g7c777392-dirty; NRF52840; Mar  3 2017 12:38:57
    :INFO:Network name:   OpenThread
    :INFO:State changed! Flags: 0x00000521 Current role: 1
    
Related