Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21588 討論

UDP Offload on DE2-115

Altera_Forum
榮譽貢獻者 II
1,139 檢視

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 積分
4 回應
Altera_Forum
榮譽貢獻者 II
409 檢視

 

--- 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
榮譽貢獻者 II
409 檢視

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
榮譽貢獻者 II
409 檢視

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
榮譽貢獻者 II
409 檢視

 

--- 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.
回覆