FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6379 Discussions

pcie read error on intel A10 FPGA

liny
Novice
452 Views

HI,everyone

We use the A10 card in the environment of "Linux 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux", after installing the driver, test the DMA read Write function, found that the operation error will make the machine hang.
1. We checked that the driver in the environment was successfully installed as can be seen in Figure 1.
2. Figure 2 is a screenshot when it hangs
3. We wrote a simple test program to start dma to read 8192 bytes. The first read is ok, and then it hangs again after the second read, causing the machine to restart. , Figure 3 shows the process of a simple test program

Figure 1

liny_0-1648612662429.png

Figure 2

liny_1-1648612689655.png

Figure 3

liny_4-1648616044831.png

 

 

 thank you

0 Kudos
2 Replies
skbeh
Employee
383 Views

Hi Sir

The suggestion is you can use this AN 829: PCI Express Avalon -MM DMA Reference Design to test on your system.

Below is the document and design link:

https://www.intel.com/content/www/us/en/design-example/714948/arria-10-pcie-gen3-x8-dma.html


The design includes a high-performance DMA with an Avalon-MM interface that connects to the PCI Express Hard IP core. It transfers data either between on- chip memory and system memory or external memory and system memory. The reference design includes Linux software drivers that set up the DMA transfer. You can also use the software driver to measure and display the performance achieved for the transfers. 


0 Kudos
liny
Novice
379 Views

Okay thank you. We will re-verify according to the manual

0 Kudos
Reply