SHA_KHALEED
New Contributor
3 years agoUnable to read and write to FPGA memory using PCIe
Hi,
I have interfaced iMX8 Processor and FPGA using the PCIe Hard IP generated from intel Quartus Prime software v21.4.
When I do "lspci" on iMX8, the cyclone 10 device is being detected. However when I try to write and read from the Bar0 and Bar2 memory the below issues occur :
1. I am writing 0x012 in Bar0 viz., resource 0
setpci -s 01:00 COMMAND=0x02
./imx8_pcimem /sys/bus/pci/devices/0000:01:00.0/resource0 0x08 w 0x11
2. When I am reading in this location I should get 0x02. However, I am getting 0xFF as readback.
Looking for some solution on this. Support and solutions are much appreciated.!
Thanks.