Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

PCIe with DMA interface locks RD_DMA_LAST_PTR reaches 127 (7F)

Hi,

I have PCIe Hard IP with internal DMA interface (14.0 compiled). I wrote a PC window 7 device driver. When RD_DMA_LAST_PTR reaches 0x7Fsoftare writes 0x7F and the last descriptor ID to the PTR. The DMA completes the operation and status has been set to 1, and interrupt is sent. But it locks up.

Anyone has any idea what is wrong.

Thank you,

David

4 Replies