-
Notifications
You must be signed in to change notification settings - Fork 32
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
No output when using Makerdiary Pitaya Go #7
Comments
Is it the right serial port? You can run |
I think yes (from the computer point of view at least, I don't know if internally the Pitaya Go is routing a different uart). But here you have both outputs: dmesg for unplug + plug
And lsusb output
In case there is doubt I can access the port, I'm using this udev rules that already worked with nRF Connect/Programmer for DFU and with raccoon when opening the port:
By the way: raccoon was also tested from my user, using sudo and from root. All 3 return same data. |
It seems it's an issue on Linux. I just tried it on Ubuntu, which doesn't work. |
Did you test the full flow (build + DFU + write + raccoon), or board kept the same code and you just tested raccoon? I want to see if I can assume that my build + DFU + flash + reset is all OK, and only fails python stuff at the end, so I can narrow the debug focus :D |
I tested raccoon with another nrf52840 board at my hand. |
I'm just used to C, and to me that is a weird thing to think ... but I never did serial communications with python, so I cannot imagine what is happening there. In any case, do you think it is possible to ignore that kind of extra stuff at both parties, and "rearm" at some point? Thanks for your answers and invested time :) |
If you look at the Raccoon python code, it tires to synnc with the dongle : https://github.com/bluekitchen/raccoon/blob/master/pyclient/raccoon.py#L282 |
I encountered a similar issue. raccoon.py was hanging waiting for the response to the reset request. Disabling modem manager for the USB device fixed it. https://github.com/NordicSemiconductor/nrf-udev has instructions on how to do that. |
Hi!
I followed your guides with no problem at all until I try to actually sniff packets, moment in which I get nothing.
My config at
pyclient/config.py
Commands log
If I run raccoon just after plugging the board, I get this:
And as soon as I wait just a little, I can connect with no more errors ... but also with no more information:
> 1 $ ./pyclient/raccoon.py [+] Config: output trace.pcap (pcap), min rssi -80 dBm
After seeing the commit flow, I will reference both @mringwal and @xiongyihui, as I think they may be the right two to be asked hehehe
Do you have some idea on how to continue? Tell me whatever you need to debug it :)
Thanks a lot in advance
The text was updated successfully, but these errors were encountered: