Forum Discussion
Altera_Forum
Honored Contributor
15 years agoalt_avalon_sgdma_construct_mem_to_mem_desc()
hi: "alt_avalon_sgdma_construct_mem_to_mem_desc()"can only transmit the number of data smaller than 65535 bytes ,so if I want to transmit data which the number is larger than 65535,how I...
Altera_Forum
Honored Contributor
15 years agoUse the sync function. The second call probably fails because the SGDMA is still transferring the first bunch of data.
Just don't forget that the sync function's return value is different that the async function. It returns the SGDMA's status vector, so it won't be 0.