...
- If Link is Down
- Check if FSBL/boot firmware is downloaded into the board.
- Check if EP is connected properly.
- If using a switch, check if switch settings for the slot are correct or not. Try changing switch slots
- Try changing EP device
- Ensure you are using updated design/fsbl/boot firmware
- If none of above works, try reading link status registers through xsct console. (To get link mask, refer the appropriate IP product guide)
- Endpoint not detected/enumerated
- Try using a different endpoint device.
- If using a switch, check if switch settings for the slot are correct or not. Try changing switch slots
- Ensure that tcl parses parameter correctly from the design.
- This can be checked by getting the list of parameters from tcl file and matching corresponding values in xparameters.h with the one in design.
For eg; in xdmapcie code, xdmapcie.tcl parses below attributes for peripheral psv_pciea_attrib_0:
NUM_INSTANCES, DEVICE_ID, C_NOCPSPCIE0_REGION0, C_CPM_PCIE0_AXIBAR_NUM, C_CPM_PCIE0_PF0_AXIBAR2PCIE_HIGHADDR_0,
C_CPM_PCIE0_PF0_AXIBAR2PCIE_BASEADDR_0, C_CPM_PCIE0_PF0_AXIBAR2PCIE_HIGHADDR_1, C_CPM_PCIE0_PF0_AXIBAR2PC.
- This can be checked by getting the list of parameters from tcl file and matching corresponding values in xparameters.h with the one in design.
...