The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Hi all. I'm in the process of developing a KMDF PCIe driver and am having some trouble getting device->host/host->device DMA to work properly (it works perfectly fine when communicating with itself). As far as I can tell everything is being set up properly but the data is not being transferred from src to dst.
In the driver initialization I'm using WdfCommonBufferCreate and writing data to the virtual address obtained from WdfCommonBufferGetAlignedVirtualAddress.
I then have an application that should serve to initiate the dma, I initialize the dst buffer, write the src, dst addresses, and transfer size data to the AXI CDMA registers and then wait for the signal that the transfer has completed. The status & control indicate that things should have worked however when reading from dst nothing new has been written.
This is my first post and also first experience with driver development (I'm a Co-op) so I'd greatly appreciate as much detail as possible in answers & also apologize if I've not included enough information in this initial post.
Thanks in advance.
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Internals & Software Drivers||15 November 2021||Live, Online|
|Writing WDF Drivers||24 January 2022||Live, Online|
|Developing Minifilters||7 February 2022||Live, Online|
|Kernel Debugging||21 March 2022||Live, Online|