Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21588 Discussions

UDP Offload on DE2-115

Altera_Forum
Honored Contributor II
1,140 Views

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.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
410 Views

 

--- 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:
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
410 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
410 Views

 

--- 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.
0 Kudos
Reply