I'm having a problem in running the DMA transfer example on my Linux (Ubuntu 16.04) system.
According to the README:
command - sudo ./install -- gives me en error " ./altera_dma.ko: No such file or directory". Initially when I untar the files, I see the altera_dma.ko file present in the directory but install command happens to delete it.
Please help me in this situation, I couldn't find any updated files on the same.
I found a way around the problem I was facing but I'm stuck with another one now. Hoping to get some help!
By giving the commands: ( After programming the fpga and restarting the system )
$sudo ./ install
$sudo ./ run
I am able to run the application on linux. But if I try to start the DMA transfer by giving '1', the system crashes and doesn't respond anymore.
Also tried working with Windows on this problem, I am able to launch the GUI but once I 'start' the DMA transfer for read and write for 100 iterations (default), the system restarts and gives a "928 Fatal PCIe Error ".
Would really appreciate if some help is provided regarding the problem I'm facing.
I will be following this issue with you. What I aim is to make sure there is no missing step while creating your project. Please confirm first and let me know. Did you watch the following videos that will help you to review the steps?
Thank you for your response.
I have seen these videos and there's nothing I've missed from them. After programming the FPGA and rebooting the system, the FPGA is detected in both Linux and Windows, but the application abruptly stops. when trying to run a DMA transfer.
Please provide your suggestions to solve the issue.
Great to hear that the design is working after following the provided resources. Can you please share what error you see if you have? more info will help us to understand the new issue.
The design is working fine without any problems. I am having problems in running the DMA transfer (read and write) to the board and back.
Could you please share some steps how we can debug this issue. I tried understanding the Linux code and making some changes but nothing works.
As soon as I "Start DMA" by entering '1' and 'Enter' the application and the Linux OS stops responding.
Similarly in Windows when I click on start I get a PCie error shown in the figures attached above.
The only debug method that would help us in this case would be the signaltap. By adding the DMA signals to be traced in SignalTap, we might get a glimpse on the root cause of this issue.
I suspect its either the DMA is hanging somewhere or the PCIe is not functioning properly. With Signaltap we can segregate the root cause.