I am using zynq xc7z045 and want to access pcie endpoint's bar space from zynq with AXI Memory Mapped To PCI Express core.
I configured zynq as root complex and run xaxipcie_rc_enumerate_example as succesfully.
My PCIE:BARS Configuration:
My AXI:BARS Configuration:
My Address Editor:
End Point's BAR space size is 128 kb and I configured BAR0 with 0x61000000 via XAxiPcie_WriteRemoteConfigSpace function and read same value.
I try to read offset 0x10 with following commands:
But program crashes in "readData=*some_reg" line.
Could you help about this problem.
have you checked the bus master bit yet?