mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
remote/comm_udp: Add padding bytes to Etherbone probe.
Now required with LiteEth dropping exceeding payload.
This commit is contained in:
parent
027f7aa645
commit
60c6077c32
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ class CommUDP(CSRBuilder):
|
|||
packet = EtherbonePacket()
|
||||
packet.pf = 1
|
||||
packet.encode()
|
||||
packet.bytes += bytes([0x00, 0x00, 0x00, 0x00]) # Add Padding as payload.
|
||||
self.socket.sendto(packet.bytes, (ip, port))
|
||||
|
||||
# ...and get/check server's response.
|
||||
|
|
Loading…
Reference in a new issue