Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Problem in configuring DMA Transfer On PCI Express

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.