Comments (9)
I found a fix about removing a zombie wpan0 but it seems that I don't have it:
marco@marco-Latitude-5590:~/Pingeco/exp/ot-nrf528xx$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 8c:ec:4b:e5:90:08 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether a0:88:69:f5:22:9c brd ff:ff:ff:ff:ff:ff
4: nat64: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 500
link/none
5: otbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:12:ee:8d:eb brd ff:ff:ff:ff:ff:ff
6: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
link/ether 02:42:6a:2d:01:20 brd ff:ff:ff:ff:ff:ff
from ot-nrf528xx.
@marcorussi , thanks for raising this issue. I believe you are experiencing the same issue as in openthread/openthread#7552, which should be addressed by openthread/openthread#7570.
from ot-nrf528xx.
Hi @jwhui, that is what I thought as I commented on that issue before opening this one. The only thing that confuses me is the "Unexpected RCP reset: RESET_POWER_ON" message. Do you think it has to do with the same TCP error? If yes, should I try commit samkumar/openthread@a1721ea ?
from ot-nrf528xx.
@marcorussi Looks like You have problem when starting the RCP. Would it be possible for You to provide dmesg log? Also can You check lsusb
for nRF dk presence? Also please retest without uart-flow-control
.
And one more thing please meake sure that when You preform git operations on repo You always remove the build folder.
from ot-nrf528xx.
@canisLupus1313 please find the dmesg log. I took the only part I think you'd need:
[ 658.390253] usb 1-3: USB disconnect, device number 8
[ 664.366472] usb 1-9: new high-speed USB device number 11 using xhci_hcd
[ 664.515121] usb 1-9: New USB device found, idVendor=1366, idProduct=0105, bcdDevice= 1.00
[ 664.515126] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 664.515128] usb 1-9: Product: J-Link
[ 664.515130] usb 1-9: Manufacturer: SEGGER
[ 664.515132] usb 1-9: SerialNumber: 000683274154
[ 664.517095] cdc_acm 1-9:1.0: ttyACM0: USB ACM device
[ 873.142137] usb 1-9: USB disconnect, device number 11
[ 876.319043] usb 1-9: new high-speed USB device number 12 using xhci_hcd
[ 876.468307] usb 1-9: New USB device found, idVendor=1366, idProduct=0105, bcdDevice= 1.00
[ 876.468325] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 876.468331] usb 1-9: Product: J-Link
[ 876.468336] usb 1-9: Manufacturer: SEGGER
[ 876.468341] usb 1-9: SerialNumber: 000683274154
[ 876.471153] cdc_acm 1-9:1.0: ttyACM0: USB ACM device
And yes, the device is present as you can see. Find also here lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 1366:0105 SEGGER J-Link
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 0bda:5650 Realtek Semiconductor Corp. Integrated Webcam_HD
Bus 001 Device 010: ID 05ac:12a8 Apple, Inc. iPhone5/5C/5S/6
Bus 001 Device 004: ID 0a5c:5832 Broadcom Corp. 5880
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Thank you.
from ot-nrf528xx.
I have updated openthread submodule to a9b4e637f
and rebuilt ot-rcp nrf52840 image and ot-daemon/ot-ctl.
It fails with a different error now:
marco@marco-Latitude-5590:~/Pingeco/exp/ot-nrf528xx$ sudo ./openthread/build/posix/src/posix/ot-daemon 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=115200' --verbose
./openthread/build/posix/src/posix/ot-daemon[21864]: Running OPENTHREAD/thread-reference-20200818-1621-ga9b4e637f; POSIX; Apr 7 2022 22:11:14
./openthread/build/posix/src/posix/ot-daemon[21864]: Thread version: 3
./openthread/build/posix/src/posix/ot-daemon[21864]: 49d.17:40:41.436 [C] Platform------: Too many rcp failures, exiting
./openthread/build/posix/src/posix/ot-daemon[21864]: 49d.17:40:41.436 [C] Platform------: RecoverFromRcpFailure() at radio_spinel_impl.hpp:2259: Failure
No mention of TCP errors now but still "too many RCP failures".
NOTE: ot-nrf528xx is stil at 83f2517
from ot-nrf528xx.
@marcorussi I asked around internally about the revision of board that You are using. unfortunatelly those aren't available any whare in our offices since 0.9.0 was a preview revision. With my 2.0.1 this issue do not reproduce. Is there any chance that You can try this on newer version?
from ot-nrf528xx.
@canisLupus1313 sorry for the late reply but I had few days off and meanwhile I got a new nRF52840 USB dongle. With this dingle I can run RCP reliably enough to say that the my problem had to do with the nRF52840 dev kit and probably with that specific revision. I came across another issues with the dongle though so I'll eventually raise another ticket about it. Would you like me to close this open ticket? I don't need to fix this particular issues anymore but I can investigate further in future if you like. Thanks.
from ot-nrf528xx.
@marcorussi thanks for confirmation that this is HW issue. I think we can close this issue then.
from ot-nrf528xx.
Related Issues (20)
- UART Abstraction hangs in otPlatUartFlush HOT 5
- Noob - Build options for OTBR RCP build HOT 6
- [C] Platform------: HandleRcpTimeout() at radio_spinel_impl.hpp HOT 8
- NRF52840 dongle RCP via UART HOT 2
- RCP fails on Nordic nRF52840 DK HOT 4
- Problem with attaching devices HOT 5
- Problem with flashing OpenThread on Adafruit Feather nRF52840 Express HOT 1
- Adafruit Feather nRF52840 not shown as USB Device HOT 2
- [mdk] Request to update mdk to an up-to-date version HOT 2
- Nordic's nRF5340 DK support Request #8268 HOT 1
- E104-BT5040u USB Stick does not enter DFU mode after initial flashing HOT 4
- cant flash nrf52 dongle using nRFconnect for desktop. HOT 2
- nRF52840-Dongle with dual-bootloader setup HOT 1
- Missing content in CLI output of an OpenThread FTD running on nRF52840 DK HOT 15
- OT_ERROR_NOT_FOUND when canonical names received from otDnsClientResolveIp4Address() HOT 7
- RCP unexcpected reset after starting ot-daemon HOT 2
- /opt/nrfjprog/: No such file or directory HOT 15
- How to make ot-br-posix enable OT_BLE_TACT? HOT 17
- The first compilation after git pull code fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ot-nrf528xx.