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
|
@ -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 New Issue