-
Notifications
You must be signed in to change notification settings - Fork 236
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
Problem with otbr-agent status. Init() at spinel_driver.cpp:82: Failure. #2412
Comments
Have you flashed the latest ot-rcp firmware for your |
Yes, I followed the same steps here in flashing the device. Is there a much newer version than this? Thanks! |
Could you provide logs of the otbr-agent? You can see the log via |
I'm getting the same error message, looking at the line the error message is referencing my best guess is there's a version mismatch between the border router and the RCP? |
Here are the logs too: Aug 05 21:15:47 apollo otbr-agent[2373]: [NOTE]-AGENT---: Thread interface: wpan0
Aug 05 21:15:47 apollo otbr-agent[2373]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Aug 05 21:15:47 apollo otbr-agent[2373]: [NOTE]-AGENT---: Radio URL: trel://eth0
Aug 05 21:15:47 apollo otbr-agent[2373]: [NOTE]-ILS-----: Infra link selected: eth0
Aug 05 21:15:47 apollo otbr-agent[2373]: [INFO]-RCP_HOS-: OpenThread log level changed to 4
Aug 05 21:15:49 apollo otbr-agent[2373]: 49d.17:06:09.397 [W] P-SpinelDrive-: Wait for response timeout
Aug 05 21:15:49 apollo otbr-agent[2373]: 49d.17:06:09.397 [I] P-SpinelDrive-: co-processor self reset successfully
Aug 05 21:15:51 apollo otbr-agent[2373]: 49d.17:06:11.399 [W] P-SpinelDrive-: Wait for response timeout
Aug 05 21:15:53 apollo otbr-agent[2373]: 49d.17:06:13.401 [W] P-SpinelDrive-: Wait for response timeout
Aug 05 21:15:53 apollo otbr-agent[2373]: 49d.17:06:13.401 [C] Platform------: Init() at spinel_driver.cpp:82: Failure |
Hello, Here is our setup :
ot-agent are crashing and daemon isn't running. Logs :
|
I do have the same problem while using a ESP32-C6 with the most recent rcp image connected via USB
|
Perhaps you can refer to this link to try adding flow control parameters. |
@ihidchaos Thanks, I can confirm that this works! TLDR: edit OTBR_AGENT_OPTS="-I wpan0 -B eth0 spinel+hdlc+uart:///dev/ttyACM0?uart-flow-control trel://eth0" |
I cannot bring it to work with a Sonoff ZBDongle-E, too? 2024-12-09T18:42:54.433987+01:00 dspi otbr-agent[29507]: 49d.17:58:08.106 [I] P-SpinelDrive-: co-processor self reset successfully On a raspi 4. Adding the ?uart-flow-control did not make any change. |
I had the same problem when updating to GSDK4.4.5 using multi-protocol firmware.
|
@Mrz-creator : I could get it to work, after I inserted both parameters, the "flow control" and the correct "baudrate"! OTBR_AGENT_OPTS="-I wpan0 -B wlan0 spinel+hdlc+uart:///dev/ttyUSB0?uart-flow-control&uart-baudrate=460800 trel://wlan0" Sorry... It only worked with leaving out the uart-flow-control for the sonoff! And I used eth0 so: |
@StrippgenHTW Thank you for your reply, but I am using multi-protocol mode and do not have uart. I am using cpcd. My configuration must be changed to the following: |
Silabs' cpcd program also has a Instead of modifying |
@ihidchaos Thanks for your answer,I tried single protocol thread RCP with success. I want multi-protocol to work too, I modified cpcd.conf as you said and configured the firmware to support flow control, but the result is still frustrating. |
Hi,
I've come across with a problem regarding the connection of my nRF52840-DK board to my Raspberry Pi 4B to start the otbr-agent service. I followed the instructions indicated here: https://openthread.io/codelabs/openthread-border-router#1, but to no avail.
Are there any solutions to this? I can't run the succeeding commands, e.g., "sudo ot-ctl dataset init new".
Thanks!
The text was updated successfully, but these errors were encountered: