Forum Discussion
Altera_Forum
Honored Contributor
18 years agoPCI Express SOPC flow hardware ready example with README
When I tried PCI E SOPC flow for the first time, I got stuck a little bit. So I put some tips for the SOPC flow in the README file. Hope the combination of README and example will help someone g...
Altera_Forum
Honored Contributor
18 years agoThank you. There are some very helpful points here that I shall give careful consideration to. I was basing my notion that DMA had completed successfully on the final state of the status register.
I have made one significant discovery which may be helpful to novices like me, however, since posting the note. When locking memory for DMA within Windriver, the call returns three pointers (more for scatter/gather DMA.) I was mistaking the kernel mode pointer for the physical address pointer. Because the context-sensitive auto-complete element of my programming environment was hiding the physical memory pointer array, I didn't see it at first. The physical pointers appear in an array at the end of the DMA structure. Kind regards