Altera_Forum
Honored Contributor
11 years agoDE0-Nano Ethernet add on board
Dear all
I'm student of electrical engineering in university of tehran. Recently i designed an add on board for DE0-Nano board which provide it Ethernet interface. http://www.alteraforum.com/forum/attachment.php?attachmentid=10012&stc=1 I have used DM9161AEP as a physical layer and connected it to Altera TSE MAC layer (small 10/100 MAC) via MII interface. after creating essential system in Qsys (according to 'using_triple_speed_ethernet.pdf') and testing system, a strange problem appeared! When i connect my board to PC via CAT5 cable and send some string (in jtag_uart console), the TX path of system (form board to PC) works fine. and i can see that a LLC packet received by my PC (watching packets in wireshark). but nothing is received! in other word, RX path of board does not work correctly. here is snapshot of wireshark and Nios2 console that show successful transmission of LLC packet: http://www.alteraforum.com/forum/attachment.php?attachmentid=10015&stc=1 http://www.alteraforum.com/forum/attachment.php?attachmentid=10016&stc=1 For ensuring of PHY layer, i use a SignalTap II logic analyzer in RX pins. (RX_DATA,RX_DV,RX_ERR,RX_CLK) every things is good! i can see digital data receied by PYH (which sent form my PC) and match them by packet i saw in wireshark! It's amazing! here is snapshot of SignalTap II logic analyzer that show received ARP packet by PHY layer: http://www.alteraforum.com/forum/attachment.php?attachmentid=10017&stc=1 Now,i know that PYH layer is working correctly and there is problem in connection of PHY to MAC in RX path. but i can't understand what is this problem! help me please. this project is very important to me. (if needed, i can provide you project files like Schematics, Quartus project and any other files) Regards, Arash