Forum Discussion
Altera_Forum
Honored Contributor
9 years agoOk, looks like my module works now (attached). There was a PHY problem. My orginal setup was two linux virtual machines in VMWare Workstation Pro, with a TerASIC DE2-115 passing the traffic (Cyclone IV FPGA/Marvel 88EE1111 PHY). I had a Microsoft Surface Dock and UGREEN 1Gbps USB adapter to provide Ethernet I/O:
Kali Linux VM <-----> MS Surface Dock <-----> DE2-115 <-----> UGREEN Dongle <-----> Kali Linux VM I got a hold of another UGREEN 1Gbps dongle for $13 on Amazon (http://a.co/aad7tr): Kali Linux VM <-----> UGREEN Dongle <-----> DE2-115 <-----> UGREEN Dongle <-----> Kali Linux VM I really don't understand why. I had set the TSE Control Register to 0x1b (PROMIS_EN, ETH_SPEED, RX_ENA, TX_ENA) and MDIO Control Register to 0x1140 (1GBPS speed, AUTO_NEG_ENABLE, FULL_DUPLEX) and completed a PHY MDIO software reset. I would think that autonegotiation would allow easy communication with the Microsoft Surface Dock gigabit Ethernet adapter, but it seems not so. I would really like to find out why the Microsoft Surface Dock wasn't communicating, but using the same USB dongles seems to work: --- Quote Start --- Dropped packets on ETH0-H: 0 Dropped packets on ETH1-N: 0 TSE_H_BASE aFramesRecievedOK: 50 | aFramesTransmittedOK: 122 TSE_N_BASE aFramesRecievedOK: 122 | aFramesTransmittedOK: 50 Outbound EPD. Processed: 50. Dropped 0: Inbound EPD. Processed: 122. Dropped 0: Outbound C2 DISCARD IPv6 OTHR CH3 CH4 CH5 CH6 TOTAL Count: 0 50 0 0 0 0 0 50 Enable: 0xff Total packets seen: 50 UDP Checksum Error Count: 0 IPv6 Checksum Error Count: 9 Last Checksum computed: 0xffff --- Quote End ---