-
Notifications
You must be signed in to change notification settings - Fork 28
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
Ethernet starts breaking after no response to inbound packets on the port #137
Comments
May or may not be a hardware issue. I've also seen ethernet break (see the issues on the hardware repository) and there was one case where apparently the phy rst and tx lines where shorted. |
Are you using a PoE (Power-over-ethernet) switch? The RJ45 connector can also supply power to the board, so you may be powering it before you are aware. We have also observed stabilizer not function properly with PoE switches. See sinara-hw/Stabilizer#76
This sounds a lot like sinara-hw/Stabilizer#76
The entire TCP layer got reworked in recent firmware. |
Thank you for the replies. @ryan-summers I'd like to give the following response:
This sounds a bit weird. With only the Cat-6 cable plugged into RJ45 without other power supply, measurement at the various Test Points shows there is no voltage fed to the board, and no LEDs (including the indicators on the RJ45 port) light up.
Thanks for the link, I came across it before posting and I understand the situation. However, as I wrote in my first paragraph, when Ethernet breakage wasn't happening before, even if I use the front-end with firmware v0.4.x, I would still at least get a
I understand re-work is ongoing so perhaps this particular Ethernet breakage problem could be a result from it? By the way, when I run
I get that the request packet format has been changed between v0.3 and v0.4, but such a difference should only result in a |
@jordens I've checked my RST and the TX/RX pins, they don't seem to be shorted. |
Just to be more clear, it is always fine by just Pinging without trying to use |
After numerous testing, this issue might've come from the CPU's failure to send a reply after receiving any packets on the port. I commented out all the calls to the I do notice an error will raise on this line of the |
server::json_reply()
raises error after receiving packets on the port
I'm closing this issue and open 2 new issues, addressing two different Ethernet symptoms:
|
server::json_reply()
raises error after receiving packets on the port
Prior to the emergence of this Ethernet issue, I was able to correctly flash various tagged versions of the firmware to the board. For those cases, Pinging is reliably successful and proper responses can be received from the board. For example, considering that
stabilizer.py
hasn't been updated since v0.3.0, using this frontend would get anok
on v0.3.0, or aparse error
on v0.4.0 / 0.4.1.However, some time after numerous reflashing the board, the Ethernet begins to break.
stabilizer.py
to send something on the TCP port (1235), the script would hang at trying to poll for the response.stabilizer.py
; but this could sometimes be reproduced by killingstabilizer.py
and re-running it.Below is the
tshark
dump while these issues happen (I hardcoded the board IP as 192.168.1.79, and following lines with###
are my annotations):The text was updated successfully, but these errors were encountered: