Forum Discussion
Altera_Forum
Honored Contributor
8 years agoCan't get PCIe (avalon-MM) reference design to work on Arria 10 Dev Kit.
Hi all, Our research lab recently purchased an Arria 10 GX FPGA Dev Kit. We would like conduct some studies which require transferring data between the host computer and the FPGA via PCIe, so w...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I would suggest you use another system for testing out the FPGA Dev kit and one for programming it. Not sure if using the same system like this will help / work out. --- Quote End --- Hi @eapenabrm, Thank you so much for the suggestion. Now I am actually trying to use two separate computers to complete the task. Following the convention stated in this Altera document (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/an/an456.pdf), we refer the one where the FPGA's PCIe connector connects to as computer# 1, and the one for programming the FPGA as computer# 2. The steps we are taking now are (1) Power off computer# 1 -> plug FPGA to computer# 1's PCIe and ATX power supply (2) Connect one end of the USB blaster download cable to computer# 2, and the other end to the FPGA (3) Power on computer# 1 -> interrupt the booting of computer# 1 and make it enters BIOS screen (4) Use computer# 2 to program the reference design's bitstream (output_file/top.sof) into the FPGA. The progress bar shows "100% (successful)" (5) Exit the BIOS on computer# 1 -> press control+alt+del to soft reboot computer# 1 (6) After computer# 1 is booted, go to the software part of the reference design, execute sudo ./install
At this point I am still getting the error chmod: /dev/altera_dma: no such directory of file. executing ./run also failed because the device is still not found. May I ask if there's anything wrong in this sequence of steps? I tried to follow the official document as close as possible, but am still failing. Also, you mentioned in your reply that --- Quote Start --- The issue could also lie due to incorrect PCIe enumeration , coz you've not power-cycled the PCIe card after programming it. --- Quote End --- May I ask what it means? How should I see if computer# 1 has a correct PCIe enumeration? Any suggestion is much appreciated!