-
Notifications
You must be signed in to change notification settings - Fork 1
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
Suddenly stops receiving #4
Comments
Hi, |
unfortunately it didn't help me. Also I see infinite loop: what does it mean |
Unfortunatelly I do not have time to debug it. Try increase LAN8720_RX_FRAME_COUNT. Maybe it is necessary to receive more that two (current value) packets at one time. |
Hi, I've added 1 ms timeout in line 210 lan8720.c (changed from 0 to 1). After that it's working stable |
If you added sleep() function there, it is not good idea, because it is called in the interrupt handler. |
LAN8720_RX_FRAME_COUNT didn't give the result, but I left it =6 and also changed line 210 Now I've rewrited it so the "trystart" called before "process_frame" |
Sometimes it stops receiving. Usually when I'm trying to access web page.
I added a LED flashing when RX PIO is working (on instruction address changing), and turned on all debug output. I started a ping task in background and tried to access to web page, after this pico stops answering for ping requests. I see in the serial output that pico is working, but PIO RX not flashing. I found the rx pio not always in work, sometimes there is commands to start or stop pio (I added in those places output to the log messages like "START PIO", "STOP PIO")
I see the last time the PIO is stopped but not restarted, after that it doesn't receive any packages. I've tried to add restarting PIO ("PIO RESET" in log) but it doesn't help me.
putty_1.log
The text was updated successfully, but these errors were encountered: