FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
6673 Discussions

Problem in configuring DMA Transfer On PCI Express

Altera_Forum
Honored Contributor II
1,711 Views

Hi, 

 

I am using HARD IP PCI express on CYCLONE IV. I am trying to configure Read and Write descriptor table for DMA Read and DMA Write between PCI device (FPGA) and PC. I am able successfully configure and do DMA Read from PC to Device (FPGA). As soon as I am configuring Write Descriptor table and giving start DMA command , PC gets crash.Any suggestions where could be the problem? 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
534 Views

I have similar problem, any advices would be much appreciated.

0 Kudos
Altera_Forum
Honored Contributor II
534 Views

Hi, 

Provide physical memory address to DMA Controller. Also check the number of bytes allocated for DMA Transfer. Allocate the physical memory four times the size you are passing in write descripter table.
0 Kudos
Reply