Hello,My goal is to send video over IP using the DE2 kit with nios-2/f. I tried to use Altera's CD demonstration called DE2_NET. I managed to send packets to a directly connected PC using the DM9000A and the driver supplied in the demo: DM9000A.C. My problem is that the maximum number of received packets,which are 1518 Bytes each, is only 30 per second, that is about 45KBps. I noticed that DM9000A.C TransmitPacket() function contains a sleep() routine before copying each byte to the DM9000A TX buffer. My questions are: 1. What is the reason for this poor rate and how can I acheive a rate of ~80Mbit/s? 2.Are the 20 micro-sec sleep() routines needed? Thank you very much, tr.
Hi.Did you download my code from http://www.alteraforum.com/forum/showthread.php?t=3947 Just I´m planning to do that, and I get about 1.2Mbytes/sec in PC side. Nobody answer me, how to speed up that code. Regards. Alberto.
There's an Altera application note AN440 discussing the bootlenecks and potential improvements with NIOS II ethernet communication. According to this literature, the intended 80 Mbps data rate seems to be illusional with a 10/100 Mbps interface.
@suitcaseYes, I´ve modified the DM9000.C and more, I´ve reduce the delays times, testing them carrefully. I´ve also add a UDP header, and checking it with the wireshark software. Just only try it, and let me know if you´ve got some improvements. Ideas, etc. Maybe between us we could get a better aproximation of the target. @Frank. Thanks so much for the application note data, sounds interesting.
Hello and thank you very much for your answers.BTXSistemas, I used your code and it seems like I got an impoovement! According to Ethereal, the packet rate is now about 28Mbit/sec. I'll keep updating you, Thank you, TR.
I use DE2 kit, room, web editor 6.0 Nios II IDE version 6.0 for my project "Control over Ethernet."but I failed so far eviar package or any data. I thank I might work with some sort of structure in Nios II to work, because until now I'm starting to ncursionar on this issue. Thank you