UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
6,475 Views
Registered: ‎06-08-2011

Linux driver for PCIe design

im a new to linux device driver  and i need a driver guide line to my circuit which is a simple read to a debug RAM through PCIe

i used PCIe v2.3 and Virtex 6 kit

thx in advaced

 

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
6,469 Views
Registered: ‎02-01-2008

Re: Linux driver for PCIe design

look at the driver included with xapp1052.

0 Kudos
Adventurer
Adventurer
6,398 Views
Registered: ‎06-08-2011

Re: Linux driver for PCIe design

I used the driver  provided with XAPP1022 to read and write to debug RAM and run the test code provided with the driver

but now I add DDR3 to my design witch now I have RAM + DDR3 connected to AXI4 bus I need to know how to read and write to each of them using the the same driver XAPP1022

from lspci I get the base address of each memory

my question is how to specify the base address of each memory in the test code and how I now which memory I access?

0 Kudos