Forum Discussion

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

UDP Offload on DE2-115

Hi guys,

Has anyone been successful in porting the Nios II UDP Offload Example (alterawiki DOT com/wiki/Nios_II_UDP_Offload_Example) to the DE2-115?

I'm not sure what functions to call to initialize the PHY, etc. Do I also need to use uC/OS even if the packets are not handled by NIOS?

Thanks.

4 Replies

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

    --- Quote Start ---

    Hi guys,

    Has anyone been successful in porting the Nios II UDP Offload Example (alterawiki DOT com/wiki/Nios_II_UDP_Offload_Example) to the DE2-115?

    I'm not sure what functions to call to initialize the PHY, etc. Do I also need to use uC/OS even if the packets are not handled by NIOS?

    Thanks.

    --- Quote End ---

    I have the same questions.:confused:
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Create the same hardware design for Your FPGA, change pins and compile the design. The software will fit as it is not dependent on the hardware.

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

    Thanks Socrates. I tried to build the software sources using the create-this-app script, but I'm getting these errors:

    In function `udp_demo_init': ...... : undefined reference to `install_menu'

    In function `display-build': ...... : undefined reference to `stooges'

    Any idea what's causing this? I'm using the script that came in the folder.

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

    --- Quote Start ---

    Thanks Socrates. I tried to build the software sources using the create-this-app script, but I'm getting these errors:

    In function `udp_demo_init': ...... : undefined reference to `install_menu'

    In function `display-build': ...... : undefined reference to `stooges'

    Any idea what's causing this? I'm using the script that came in the folder.

    Thanks

    --- Quote End ---

    To anyone having this same problem:

    This was caused by permissions in patching the source files. To build this correctly, you need to run Nios II Command Line as administrator and run ./create-this-app.