Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[radio] ot-daemon cannot start with nRF52840 RCP device. #71

Closed
wgtdkp opened this issue Jun 7, 2021 · 2 comments
Closed

[radio] ot-daemon cannot start with nRF52840 RCP device. #71

wgtdkp opened this issue Jun 7, 2021 · 2 comments
Assignees
Labels
bug Something isn't working p1

Comments

@wgtdkp
Copy link
Member

wgtdkp commented Jun 7, 2021

Starting ot-deamon fails with RadioSpinelNoResponse when using the nRF52840 DK as a RCP device.

  • ot-daemon/openthread commit: 87e6cf59913a9b247086a81f3d4c58205bc34725
  • ot-nrf528xx commit: b00c50f

Steps to reproduce:

  1. Build nRF52840 RCP (DK):
cd ~/ot-nrf528xx
./script/build nrf52840 UART_trans -DOT_SRP_CLIENT=1 -DOT_ECDSA=1
  1. Build ot-daemon:
cd ~/openthread
cmake -S . -B build -GNinja -DOT_PLATFORM=posix -DOT_THREAD_VERSION=1.2 -DOT_COMMISSIONER=ON -DOT_BORDER_AGENT=ON -DOT_JOINER=ON -DOT_SRP_SERVER=ON -DOT_ECDSA=ON -DOT_SERVICE=ON -DOT_DAEMON=ON -DOT_BORDER_ROUTING=ON -DOT_BORDER_ROUTER=ON -DOT_DAEMON=ON -DOT_BORDER_AGENT=ON -DOT_COMMISSIONER=ON -DOT_REFERENCE_DEVICE=ON -DOT_FULL_LOGS=ON
  1. Start ot-daemon and fail:
sudo ./build/src/posix/ot-daemon -d 6 -v -B wlan0 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=115200'
./build/src/posix/ot-daemon[25914]: Running OPENTHREAD/20200818-00989-g87e6cf599; POSIX; Jun  7 2021 11:46:00
./build/src/posix/ot-daemon[25914]: Thread version: 3
./build/src/posix/ot-daemon[25914]: [DEBG]-MAC-----: Idle mode: Radio sleeping
./build/src/posix/ot-daemon[25914]: [DEBG]-PLAT----: Wait response: tid=2 key=2048
./build/src/posix/ot-daemon[25914]: [CRIT]-PLAT----: HandleRcpTimeout() at ../src/lib/spinel/radio_spinel_impl.hpp:2190: RadioSpinelNoResponse
@wgtdkp wgtdkp added bug Something isn't working p1 labels Jun 7, 2021
@jwhui
Copy link
Member

jwhui commented Jun 7, 2021

@wgtdkp , I was able to start ot-daemon successfully with the steps you provided.

Did you disable Mass Storage Device?

@wgtdkp
Copy link
Member Author

wgtdkp commented Jun 8, 2021

@wgtdkp , I was able to start ot-daemon successfully with the steps you provided.

Did you disable Mass Storage Device?

@jwhui Thanks! It is exactly the Mass Storage Device issue. The daemon works perfectly after disable it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p1
Projects
None yet
Development

No branches or pull requests

3 participants