Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Arria 10 GX Dev Kit DMA over PCIe

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-memory/), 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?

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

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

    Regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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