Forum Discussion
10 Replies
- FawazJ_Altera
Frequent Contributor
Hello,
May I know which reference design are you referring to?
and which SoC device is this?
I cannot open the link above.
Thanks
- BPopa1
New Contributor
Hello,
Thank you for your response.
I'm referring to "Reference Design: Gen3x8 AVMM DMA - Arria 10". I want to run the software application on Linux for DMA transfer.
For your reference, I have attached the file here!
- rfeng6
New Contributor
Hello,
I can't find Windows_for_AVMM_DMA_On_Chip_Mem. Can you share it with me?Thanks.
- BPopa1
New Contributor
Hello,
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 make,
$sudo ./ install
and
$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.
Thanks!
- Ahmed_H_Intel1
Frequent Contributor
Hi,
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?
https://www.youtube.com/watch?v=CGs2Q3028ss
https://www.youtube.com/watch?v=lWcjItN4byU
Regards,
- BPopa1
New Contributor
Hi,
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.
Regards
- Ahmed_H_Intel1
Frequent Contributor
Hi,
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.
Regards,
- BPopa1
New Contributor
Hi,
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.
Thanks!
Regards,
- FawazJ_Altera
Frequent Contributor
Hello,
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.
Thanks
- rfeng6
New Contributor
Hello,
I can't find Windows_for_AVMM_DMA_On_Chip_Mem. Can you share it with me?Thanks