--- Quote Start ---
Hi all.
My goal is to get about 3Mbytes/sec data transfer rate from my DE2 board to PC.
Here in this example I get about 1.2 Mbytes/sec.
I'll accept comments about, how to speed up this, as well as suggests to improve the code, and some feedback from people that have interest in this theme. Could be in this thread or private.
You can download the full project from:
http://www.btxsistemas.com.ar/net2.zip I've used Quartus II 7.2 full suite. And the Wireshark software (
http://www.wireshark.org/) like a net sniffer, but also, I've included in the main project folder, a UDP reciever to test the comunication between the DE2 board and the PC, if you wont to download the wireshark.
Don't forget to specify your IP address and your MAC address in the NIOS hello_word "C" code to get it work properly.
The main project is a modification of the DE2_NET demostration code that comes with the DE2 board.
Have fun, and I'll be waiting for some comments.
--- Quote End ---
hello,dear BTXSistemas,today,I find your code and download it,when I open the NIOSII IDE and build the project,but the error come out,like that
No rule to make target `/cygdrive/c/altera/72/ip/nios2_ip/altera_nios2/HAL/src/crt0.S', needed by `crt0.o'
I use Quartus II 6.1,maybe this is why the error happen,so I modify the code ,like this
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>altera.components</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
</natures>
<linkedResources>
<link>
<name>Nios II Software Packages</name>
<type>2</type>
<location>
D:\altera\61\nios2eds\components</location>
</link>
<link>
<name>Newlib C Library/src</name>
<type>2</type>
<location>
D:\altera\61\nios2eds\bin\nios2-gnutools\src</location>
</link>
<link>
<name>Newlib C Library/include</name>
<type>2</type>
<location>
D:\altera\61\nios2eds\bin\nios2-gnutools\include</location>
</link>
<link>
<name>IP Device Drivers</name>
<type>2</type>
<location>
D:\altera\61\ip</location>
</link>
</linkedResources>
</projectDescription>
But the error is the same,How I should to do?Thanks Very much! My email is
yfgy18@qq.com,please tell me what to do if you do not busy!
file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.png