I have a c6678 EVM LE connected to a PEX8606 RDK (PCIe switch) which is also connected to a motherboard (to supply power and refclk). I have set the upstream port on the PEX RDK to the port the TI c6678 EVM is plugged into. It is my understanding that I must enumerate the PCIe bus in order to communicate between c6678 and PEX PCIe switch. I have some example code that was sent to me to enumerate the bus but I am having a difficult time debugging it, because I am unclear on what exactly enumerating the bus means, and why it is necessary. Are there any relevant code samples that show how to enumerate the PCIe bus from the c6678?
Thanks!
-Scott