Part Number: PROCESSOR-SDK-J721E
Other Parts Discussed in Thread: TDA4VM, J784S4XEVM
Hi,
I have got a PCIe driver working under FreeRTOS on TDA4AH. However it is only properly working for the PCIe cable connected in slot 1. When I try slot 0, it succeeds link training, but will not transfer any data to the other side, which is also a TDA4AH.
I moved the PCIe window from 0x18000000 (PCIE1_DAT0) to x10000000 (PCIE0_DAT0).
The driver sets up address translation for the data, configuration, and interrupt areas.
I believe that the problem is to do with the memory mapping/address translation - that the address values I have are hard-coded to work with slot 1 but not slot 0.
For the Inbound Base Address for the RC (and Outbound for the EP) I have 0x70000000.
For the Oubound Base Address for the RC (and Inbound for the RC) I have 0x90000000.
Please can you explain the use of the locations as, looking at the memory map, they are assigned to other things.
Thanks,
Simon