Hi,
I am trying to follow the OpenThread tutorial to build the nRF52840 NCP:
https://codelabs.developers.google.com/codelabs/openthread-hardware/#3
I installed the wpantund as the tutorial suggested, but when I try to configure the wpantund using the following command:
sudo /usr/local/sbin/wpantund -o Config:NCP:SocketPath /dev/ttyACM0 -o Config:TUN:InterfaceName utun7 -o Daemon:SyslogMask " -info"
I get the following errors:
wpantund[11303]: Starting wpantund 0.08.00d (Nov 14 2019 13:59:00) . . .
wpantund[11303]: SOURCE_VERSION = 0.07.01-327-g9e1c0da
wpantund[11303]: BUILD_VERSION = 0.07.01-327-g9e1c0da
wpantund[11303]: Configuration file "/etc/wpantund.conf" read.
wpantund[11303]: Ready. Using DBUS bus ":1.124"
wpantund[11303]: Running as root without dropping privileges!
wpantund[11303]: SpinelNCPInstance-Protothreads.cpp:412: Requirement Failed (IS_EVENT_FROM_NCP(event) && GetInstance(this)->mInboundHeader == mLastHeader)
wpantund[11303]: Resetting and trying again... (retry 1)
wpantund[11303]: SpinelNCPInstance-Protothreads.cpp:400: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[11303]: Resetting and trying again... (retry 2)
wpantund[11303]: SpinelNCPInstance-Protothreads.cpp:400: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[11303]: Resetting and trying again... (retry 3)
wpantund[11303]: SpinelNCPInstance-Protothreads.cpp:400: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[11303]: The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state.
wpantund[11303]: State change: "uninitialized" -> "uninitialized:fault"
I am not sure what should I do next. Anyone could give me some advice? Thanks a lot.
Best,
Zhonghao