FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5283 Discussions

Arria 10 GX Dev Kit DMA over PCIe

Altera_Forum
Honored Contributor II
1,004 Views

Hello everyone. I am trying to acquaint myself with the functionality of DMA over PCIe on the Arria 10GX Development Kit. I downloaded the reference design from the Design Store here (https://cloud.altera.com/devstore/platform/16.0.2/standard/an708-pcie-gen3x8-avmm-dma-with-external-...), and the driver/application from the altera wiki here (http://www.alterawiki.com/wiki/file:linux_for_avmm_dma_on_chip_mem.tar.gz). I was able to successfully compile the reference design on Quartus and program the board. I then installed the driver and application using the directions on the Altera wiki here (http://www.alterawiki.com/wiki/reference_design:_gen3x8_avmm_dma_-_arria_10). When I try to run the DMA driver, I get the following message on my terminal: Couldn't open the device. I am running CentOS 7 and the board is connected to the host through USB-Blaster II and PCIe. My guess is that the driver isn't able to detect/communicate with the device over PCIe. Any thoughts?

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
133 Views

Hi, 

 

You can check, if your device is listed under system PCI buses using 'lspci' command. 

 

Regards
Altera_Forum
Honored Contributor II
133 Views

 

--- Quote Start ---  

Hi, 

 

You can check, if your device is listed under system PCI buses using 'lspci' command. 

 

Regards 

--- Quote End ---  

 

The board doesn't show up in lspci. I found this other link on the forums about a similar issue, but it doesn't seem to have a conclusive result: https://www.alteraforum.com/forum/showthread.php?t=56902
Altera_Forum
Honored Contributor II
133 Views

 

--- Quote Start ---  

The board doesn't show up in lspci. I found this other link on the forums about a similar issue, but it doesn't seem to have a conclusive result: https://www.alteraforum.com/forum/showthread.php?t=56902 

--- Quote End ---  

 

 

Hi, 

 

If you are using a different quartus version rather than standard edition 16.0, make sure that you regenerate the qsys file of the PCIe HIP and successfully recompile the whole design. Also, make sure that you don't use an extension PCI cable to connect the FPGA to the motherboard.  

 

Hope this helps.
Reply