[Project source code] FPGA-based Gigabit Ethernet module UDP design example program
[Copy link]
1. Ethernet UDP protocol loopback transmission and reception test
There are two files, one is for ACM8211 to connect to AC620 development board, and the other is for ACM8211 to connect to AC601 minimum system. The programs are exactly the same, but the pin assignments are different.
https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU4MzQwfDg5ODA2YzdkY2EwOGNiOGI0MzI2ODdkNzQ3OTM0OGY5fDE3MzIyODI1MTU%3D&request=yes&_f=.rar
https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU4MzQxfGY3OGZiZjQyNzE2YmFkMTY5N2Q2Nzg1YWU2NDM3MmJlfDE3MzIyODI1MTU%3D&request=yes&_f=.rar
1. Connect the development board and ACM8211 according to the connection diagram.
2. Copy the project to a non-Chinese directory and open it. Note that it should be opened in a non-Chinese path without spaces.
3. Burn GMII_UDP_Loopback_Test.sof to the development board.
4. Plug one end of the network cable into the computer and the other end into the network port of ACM8211.
5. Check the network connection speed on the computer and make sure it is 1Gbps
6. Set the IP address of the computer wired network card to 192.168.0.3
7. Statically bind the development board IP address to its static IP (192.168.0.2).
8. Open the NetAssist.exe software. If prompted to update, please do not update as the new version has bugs.
9. Select UDP mode, local IP is 192.168.0.3, local port number is 6000
10. Click Connect
11. Manually modify the destination host IP to 192.168.0.2 and the port number to 5000
12. Click Send, the program can send data normally, the development board can receive the data and return the data to the computer intact.
13. You may need to turn off the firewall during use (note, it is the firewall, not the security software)
2. Gigabit Ethernet UDP camera image transmission program
https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU4MzQyfDE5YTI2ZDc4NDI2N2E2OGI0OWEwY2Q5YWMyMDg2ZGIxfDE3MzIyODI1MTU%3D&request=yes&_f=.rar
https://en.eeworld.com/bbs/forum.php?mod=attachment&aid=NDU4MzQzfDUxMTQxODQzNjFlZmRlNWYxYTE1ZmUzOTEyNzRkMWU4fDE3MzIyODI1MTU%3D&request=yes&_f=.rar
|