Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

A question about SG-DMA in simple socket server example

Altera_Forum
Honored Contributor II
1,481 Views

I run simple socket server example on DE2-115 board. I can't fine the code to initial and use the sgdma(Scatter-Gather DMA) and tse_mac(Triple-Speed Ethernet MegaCore), such as alt_avalon_sgdma_do_sync_transfer() function.Could you help me?Thank you very much.

0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
116 Views

If you use the uCOS operating system and the Interniche TCP/IP stack, like in the simple socket server example, then you don't need to worry about the sgdma transfers. Those are done by the IP stack. Just use the standard sockets API.

Altera_Forum
Honored Contributor II
116 Views

The source code is located with the altera ip in the altera installation. The easiest way to locate the relevant code snippets is to use a search engine and look for function names.

Altera_Forum
Honored Contributor II
116 Views

thank you very much!

Altera_Forum
Honored Contributor II
116 Views

 

--- Quote Start ---  

If you use the uCOS operating system and the Interniche TCP/IP stack, like in the simple socket server example, then you don't need to worry about the sgdma transfers. Those are done by the IP stack. Just use the standard sockets API. 

--- Quote End ---  

 

 

thank you very much!
Altera_Forum
Honored Contributor II
116 Views

 

--- Quote Start ---  

The source code is located with the altera ip in the altera installation. The easiest way to locate the relevant code snippets is to use a search engine and look for function names. 

--- Quote End ---  

 

 

thank you very much!
Reply