Forum Discussion

Sijith's avatar
Sijith
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

API calls failed while running PCIe DMA transfer example design

Hi,

I was working the PCIe DMA transfer example design for Arria 10. I have added a counter custom IP which counts upto 1000, and An Avalon FIFO IP with the design. My intention is to write the data created in counter to DDR4 and then use the DMA API call (provided by Terasic in Demonstrations/PCIe_SW_KIT/Windows/PCIe_DDR4/PCIE_DDR4.cpp) to read them from PC.

Even if I follows the steps given in the User manual of DE5a_DDR4_NET (attaching the manual. The chapter-7 section 7.6 is what I was following), the DMA API calls to read data fails. I would like to know why I could not run Read DMA API from the PC.

The It would be great if someone could give any helping hand. I am attaching the error message (Crash_op.PNG).

I am just listing the procedure I followed,

1. Installed both DDR4 2400 4GB SODIMM on the FPGA board.

2. Connected the FPGA board with PC through PCIe.

3. Configured FPGA with DE5A_NET.sof (here the design .sof having PCIe DMA transfer example design + Avalon FIFO + Counter custom IP) by executing the test.bat.

4. Restart Windows

4. I could see the PCIe driver in the device manager (Windows has detected the FPGA Board).

7. Executed the PCIE_DDR4.exe. Then in the menu putting the options 3, 4 and 5 gives the failure.

FYI: I have been using Quartus Prime Pro 18.1 in Windows 10.

34 Replies