Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSimple DMA Avalon-to-PCIe Address Translation help needed
See attached SOPC recipe that I am using. I am using Simple DMA, and I am programming the registers directly to initiate a DMA transaction inside a Windows Driver. My Windows Driver is usi...
Altera_Forum
Honored Contributor
15 years agoI've figured out what I was doing wrong.
Inside the Interrupt event handler (EvtInterruptIsr) I was looking at the memory after checking that the Done bit in the Status register was set, which seemed reasonable. However, due to WDF using bounce buffers (to ensure a continuous buffer), I should have checked the memory after a WdfDmaTransactionRelease, as that's when the transfer buffers are copied to the destination memory.