Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,413 Views

A question about SG-DMA in simple socket server example

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 I
48 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 I
48 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 I
48 Views

thank you very much!

Altera_Forum
Honored Contributor I
48 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 I
48 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