-
Notifications
You must be signed in to change notification settings - Fork 57
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
Nordic nRF52840DK - Unexpected RCP reset while running ot-daemon #296
Comments
I found a fix about removing a zombie wpan0 but it seems that I don't have it:
|
@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. |
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 ? |
@marcorussi Looks like You have problem when starting the RCP. Would it be possible for You to provide dmesg log? Also can You check And one more thing please meake sure that when You preform git operations on repo You always remove the build folder. |
@canisLupus1313 please find the dmesg log. I took the only part I think you'd need:
And yes, the device is present as you can see. Find also here lsusb:
Thank you. |
I have updated openthread submodule to a9b4e637f
No mention of TCP errors now but still "too many RCP failures". |
@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? |
@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. |
@marcorussi thanks for confirmation that this is HW issue. I think we can close this issue then. |
Hello all,
I have been trying to run a RCP on my nRF52840DK board for days with no success. I have also tried many commits from this repo and the sample provided by Nordic in their nRF Connect SDK with "partial" success.
Although I am going to raise an issue regarding the latest commit of this repo (ot-nrf52840) which represents the main issue I am facing at the moment.
I am on main branch commit id 83f2517 with openthread git submodule commit id 7dfde1f.
I have built openthread library (the git submodule) and the nRF52840 images as below:
openthread:
./script/cmake-build posix -DOT_THREAD_VERSION=1.2 -DOT_DAEMON=ON
nRF52840
./script/build nrf52840 UART_trans
and
I have flashed my nRF52840DK (PCA10056 / V0.9.0 / 2017.10):
nrfjprog -f nrf52 --chiperase --verify --program ot-rcp.hex --reset
and then disable MSD and UART HW flow control check on my board with the MSDDisable and SetHWFC Force JLink commands.
Finally I launched the OT daemon:
./openthread/build/posix/src/posix/ot-daemon 'spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=115200?uart-flow-control' --verbose
Here the result:
Thank you.
The text was updated successfully, but these errors were encountered: