Forum Discussion
Altera_Forum
Honored Contributor
14 years agoA 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.
5 Replies
- Altera_Forum
Honored Contributor
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
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
thank you very much!
- Altera_Forum
Honored Contributor
--- 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
--- 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!