How to build Openthread CLI sample

Hello, all

I built CLI sample for Openthread, but failed to run, windows 10 couldn't find any nrf52840dongle inserted, and not any log output through RTT.

When I debugged it, an error came out like this:

My setup is:

ncs version: v1.9.1

Thank s for any help!

Parents
  • Hi,

    How did you program the application to he dongle?

    not any log output through RTT.

    For the dongle you must use USB as transport, which you have done by setting the correct configurations, so you will get logging through this, and not RTT. So you should connect to it using a terminal emulator instead, such as Tera Term or PuTTY.

    When I debugged it, an error came out like this:

    Are you using an external debugger for programming and debugging the dongle? The dongle does not have an onboard debugger, so it is not possible to debug it unless you use an external debugger.

    Best regards,

    Marte

  • For the dongle you must use USB as transport, which you have done by setting the correct configurations, so you will get logging through this, and not RTT. So you should connect to it using a terminal emulator instead, such as Tera Term or PuTTY.

    But when I plugged it into my computer, nothing was detected.

    My OS is Windows 10.

    Are you using an external debugger for programming and debugging the dongle? The dongle does not have an onboard debugger, so it is not possible to debug it unless you use an external debugger.

    Yes, of course I am using an external debugger, and successfully debuged with other samples:

Reply
  • For the dongle you must use USB as transport, which you have done by setting the correct configurations, so you will get logging through this, and not RTT. So you should connect to it using a terminal emulator instead, such as Tera Term or PuTTY.

    But when I plugged it into my computer, nothing was detected.

    My OS is Windows 10.

    Are you using an external debugger for programming and debugging the dongle? The dongle does not have an onboard debugger, so it is not possible to debug it unless you use an external debugger.

    Yes, of course I am using an external debugger, and successfully debuged with other samples:

Children
Related