Foxyloxy has quit [Remote host closed the connection]
Foxyloxy has joined #litex
FabM has quit [Ping timeout: 256 seconds]
<joseng>
Hey everyone, I try to do some basic ethernet UDP packet sending and receiving on a Spartan6. Found the arty example where LED states and button presses are send via UDP and adapted this to my board. I use a Waveshare DP83848 PHY board. Receiving on the FPGA works mostly fine, sometimes it seems packets are dropped and the LED blinking is not regul
<joseng>
ar. But sending with the LiteEthUDPStreamer from the FPGA works only very infrequent. According to my understanding, I add a byte to the FIFO and this should send a packet. But I only receive a packet every few seconds, very infrequently. If someone could have a look, I put a more or less clean version here: https://gist.github.com/Wardstein/2cafca
<joseng>
e0d631b1c0c0938caed80b0aba
<joseng>
But in general the ethernet part seems to be a bit unreliable on my hardware/the gateware. I can ping it, but this sometimes breaks up and I get only "Destination Host Unreachable". When I reload the gateware into the FPGA it starts working again. Same for the LiteEthUDPStreamer, my "send LED" regularly stops blinking, meaning I cannot put any new
<joseng>
data into the send FIFO. Which I understand when the ethernet MAC? is not working again, nothing can be send out.
<Hoernchen>
did you try ping flooding? that was the magic that worked on the colorlight with somewhat similar eth issues, "standard" slow ping had issues
GNUmoon has quit [Remote host closed the connection]
ElfenKaiser has joined #litex
<joseng>
Funny thing is, that before I put in the transmit part of the LiteEthUDPStreamer, I could ping the board. Tested with 10Hz (no floodping, but -i 0.1 as argument). After I put in the send logic, pinging only occasionally works and quickly breaks up.