t-crest / patmos

Patmos is a time-predictable VLIW processor, and the processor for the T-CREST project
http://patmos.compute.dtu.dk
BSD 2-Clause "Simplified" License
135 stars 72 forks source link

ethlib and ethernet demo #97

Closed epsilon-0311 closed 3 years ago

epsilon-0311 commented 3 years ago

During setup of patmos and Ethernet I found a set of bugs:

  1. ethlib does not configure the initial RX Buffer Descriptor as empty, therefore the Ethernet MAC assumes the buffer is full and no package is written into the systems RAM.
  2. ethlib_demo UDP Checksum calculation blocks CPU: added line to skip broken packet
  3. eth_wr and eth_rd are dedicated for EMAC io device and not for EthMac. To make this more clear a disclaimer would be helpful.