Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThe issue was very simple:
alt_avalon_sgdma_construct_mem_to_stream_desc( &sourceDesc[0], // descriptor I want to work with &nextSourceDesc[0], // pointer to "next" (alt_u32 *)ActualData, // starting read address (length), //# bytes 0, // don't read from constant address 1, // generate sop 1, // generate endofpacket signal 0); Parameter 5 should be 0 (zero) - don't read from constant address. Now all eth packets are transmitted correctly. So, thanks, everyone, for clarifications and suggestions. As actually I need to receive raw ethernet frames, I'll try to modificate the project for such a purpose.