12-04-2018 06:37 AM
I am new learning PCI Express bus. Now i am using IP 7 Series FPGAs Integrated Block for PCI Express v3.3 (pg054) and its example design which is PCIe end point IP with PIO. The information provided by lspci -vs is below:
02:00.0 Serial controller: Xilinx Corporation Device 7011 (prog-if 01 ) Subsystem: Xilinx Corporation Device 0007 Flags: fast devsel, IRQ 17 [virtual] Memory at df200000 (32-bit, non-prefetchable) [size=64K] Capabilities:  Power Management version 3 Capabilities:  MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities:  Express Endpoint, MSI 00 Capabilities:  Device Serial Number 00-00-00-00-00-00-00-00
so the memory base address is df200000 and the size is 64k.
my question is how to write a driver to achieve data read and write in memory space? i have no idea about driver. Is there any existing pcie driver to be used?
12-04-2018 06:59 AM
you can use the XDMA IP and test with the drivers provided in AR65444
check the datasheet if your device is supported in https://www.xilinx.com/support/documentation/ip_documentation/xdma/v4_1/pg195-pcie-dma.pdf
driver details https://www.xilinx.com/support/answers/65444.html
12-08-2018 11:41 PM
I saw your post and I would like to suggest to try out WinDriver - the driver development tool by Jungo Connectivity.
WinDriver is a device driver development toolkit which automatically generates a driver that is specific to your hardware. It enables you to access your hardware and implement your device functionality without having to develop in the kernel mode.
The program includes variety of samples that demonstrate how to use WinDriver’s API to communicate with your device and perform various driver tasks. After you download WinDriver (you can evaluate it for free for 30 days).
Would you be able to provide me with your name and a phone number so we will be able to discuss your requirements?
如果您能够提供联系方式，我们可以进一步讨论相关的技术要求。 我的微信号： Jungo_WinDriver 电邮： firstname.lastname@example.org
Minna Huang | Account Manager | Jungo Connectivity
email@example.com | P:+1 408-600-0851