PCIe BAR Address Issue when Endpoint and RC memory is equal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCIe BAR Address Issue when Endpoint and RC memory is equal

489 Views
pushpamanjunath
Contributor I

Hi,

I am working on T2080 Custom board on which PCIe is connected to the upstream port of IDT PCIe switch (89PES4T4)and one of the downstream ports of the switch is connectd to Xilinx V7 FPGA (endpoint)

In the vxworks I have assigned 512MB of size to "memIo32Size" and FPGA has assigned 512MB of size to BAR0 address.
When pciHeaderShow is executed for FPGA, It shows wrong address which is not mapped to my "memIo32Addr"

But, when in vxworks if 512MB of size is assigned to "memIo32Size" and FPGA assigns 256MB of size to BAR0 address, address gets populated properly in pciHeaderShow

Why isn't the address not populated properly if RootComplex and Endpoint pcie memory size is equal

Regards,

Pushpa

0 Kudos
1 Reply

372 Views
ufedor
NXP Employee
NXP Employee

You wrote:

I have assigned 512MB of size

Please ensure that base address of this area is aligned to the 512MB boundary (i.e. it is equal to N * 512MB where N is a whole number).

Please consider that aforesaid is a requirement of the Power Architecture.

0 Kudos