Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHello Hey Hey,
I'm trying to understand how all things tie together but cannot rely on the documentation alone, so thanks for seeing the actual implementation and explaining it. After I found how the reset the DMA controller (write 0x0000FFFF) from the code, I can now perform multiple DMA operations in a row. The open-source driver so far is here: http://www.linuxdriverproject.org/twiki/bin/view/main/prj012 I also found in the descriptor header, MSI and EPLAST_ENA bits seem reversed in the documentation. I am aware of the 64 byte BAR[0]. I stay out of that part. A 4096 bytes DMA loop back copy fails somewhere on word 0x30. Slowly getting there, thanks, Leon.