- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
May I know which reference design are you referring to?
and which SoC device is this?
I cannot open the link above.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I can't find Windows_for_AVMM_DMA_On_Chip_Mem. Can you share it with me?Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I can't find Windows_for_AVMM_DMA_On_Chip_Mem. Can you share it with me?Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page