Forum Discussion
Altera_Forum
Honored Contributor
13 years agoSGDMA not Sending
So i have been trying to use the SGDMA to send packet into a FIFO. I started with the reference design on the Altera wiki and even that one did not seem the send anything trough as the receiver DMA ...
Altera_Forum
Honored Contributor
13 years agoSo i have been working on this all Day now and still no luck. but here is a few more information i came up with:
-the first descriptor control register is 1000 0101 witch i think is good and the last one is 0 -the status register is 0 before and after the async transfer -the call back method never gets called -the actual bytes tranfered after the async call (even if i "sleep" a bit to let it work) is 0 -now if i call alt_avalon_sgdma_check_descriptor_status(&transmit_descriptors[0]) then i get the hex result 0xFFFFFF89 (not sure what this means) -i check my descriptors size and they are 32 bytes -the DMA dose open properly and gives me the right base address i am going to keep trying because i really need this DMA to work but any help or advice would be great