Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

DE2_UDP example for download here free (feedbacks are wellcomed)

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.

94 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Use Signaltap to check what is happening between the MAC and the DMA on the receive path. The big problem with UDP streams is that they are unreliable. If your software is too slow to receive the UDP packets then it will miss some. If it stops completely to receive any data it probably means that your software crashes, and you should use a debugger to see what it is doing.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    hi, I modified your project for DE2-70 Board, but since nothing come in and out on the board, I could not make the connection between the board and my PC.

    Please help me (Urgent)

    Here I attached my project.

    http://cid-70829448936b989b.office.live.com/embedicon.aspx/Public/NET^_PART.zip

    http://cid-70829448936b989b.office.live.com/self.aspx/public/net%5e_part.zip

    --- Quote End ---

    Dear thangdc01_02,

    some time ago you were working on a connection between PC and DE2_70 board via UDP. I´m now working on a similar project and because I´m new to this, it would be big help if you could send me your code to that project (if it still exists) because it´s not online anymore...

    you would save me a lot of time and i would really appreciate it! :)

    thx!

    greetz

    bob
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all,

    I have a part in my project to send and receive data using Ethernet

    I am working on DE2_115

    Could you help me in this, about which topics I should read and from where I should to start

    Tanks in advance
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, I'm trying to have a simple example to the DE1-SoC board. I need to transfer data from the FPGA to the PC throught ethernet. In your zip I didn't found the qsys file, could you send me this file? I want to do the porting to the DE1-SoC board. Thank you. My email is gianlucavicidomini@gmail.com