Hi TI
A customer experienced a problem when attempting to transfer the PCIe initialization code from the SBL to the application area in an RTOS running environment.
If the initialization code of the same sequence is executed in the SBL, it works well, but if you move to the App area, the initialization is not completed.
They checked the PCIe LTSSM Status values at the time of the problem, and it is as follows.
They tracked it by referring to the initialization routine of TRM, and after setting LTSSM_EN to 1 in STEP13, the EP Register value is changed to Reset value.
The strange thing is that the PCIe_SS1_EP_CFG_DBICS Registers have been configured , then set LTSSM_EN to 1 and check Link-up as final step, so I'm asking because it's strange behaviuour that the registers are changed to Reset values.
I'm attaching the code they used,
Please check their PCIe initialization code called in the app area, e.g. pcie()
Then let us know if there's anything need to reflect in the code.
Thanks.
Best Regards,
Jack