11-25-2019 08:46 PM
I'm trying to build a xdma driver with two boards.
How I can seperately send data to each board?
Thanks in advance!
12-04-2019 11:54 PM
If I do not misunderstand the question, different access is possible if different addresses are assigned to each BAR.
12-05-2019 08:39 AM
I think there are no details for assigning different addresses to each BAR in a document.
Is there any reference for that?
12-08-2019 07:57 PM
Address assignment to BAR is done by host system/software. During enumeration, if the host find the devices uder the PCIe bus, BAR in the device is given the unique BASE address in the PCIe bus system. For example, even if two of the same board are plugged on the bus, each BAR has the different address.
Driver should find your two boards and obtain each of the bar and address range.
This is a fundamental behavior and the PCI Express base specification, PCI-SIG describes.