cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yanghaofei@ni
Observer
Observer
1,428 Views
Registered: ‎10-09-2018

driver for PCI Express port

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 [16450])
        Subsystem: Xilinx Corporation Device 0007
        Flags: fast devsel, IRQ 17
        [virtual] Memory at df200000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [60] Express Endpoint, MSI 00
        Capabilities: [100] 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?

 

best regards

Tags (1)
0 Kudos
2 Replies
kkn
Moderator
Moderator
1,419 Views
Registered: ‎01-15-2008

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

 

0 Kudos
minnahuan
Visitor
Visitor
1,346 Views
Registered: ‎12-08-2018

Hello, yanghaofei@ni

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). 

You are more than welcomed to check out  user manual  or open a support ticket (you're entitled to full support during the evaluation period), in case you encounter any issues. 

Would you be able to provide me with your name and a phone number so we will be able to discuss your requirements?

WinDriver 是一套完整的PCI驱动程序开发工具,可以帮助您在没有DDK或是没有该操作系统的核心模式知识下开发设备PCI驱动程序。 您可以免费下载 WinDriver试用版进行30天试用评估。 同时,我建议您查看WinDriver 使用手册 或者在 Support Center 开技术单子(在试用期间遇到技术问题,您可以免费获得技术协助)。

如果您能够提供联系方式,我们可以进一步讨论相关的技术要求。 我的微信号: Jungo_WinDriver  电邮: minnah@jungo.com 

 

Minna Huang | Account Manager | Jungo Connectivity

minnah@jungo.com | P:+1 408-600-0851 

微信:Jungo_WinDriver
QQ:     2815315668
0 Kudos
 
0 Kudos