Hi,
We have a proto design based on MPC8569E.
A PCIe End Point(EP) device is connected to Processor (PCIe Root Complex). The EP device correctly gets enumerated on PCIe bus on power-up of the target.
The question is, does this EP device will get enumerated again on PCIe bus, if only the PCIe root complex (Processor) is given reset.
Regards
Ram
Yes, EP will be discovered and enumerated correctly in the described case.
Hi,
In our case the EP device is not getting enumerated on PCI bus in the case when only the Root complex(Processor) is given reset.
What could be the possible reason? What are the areas to look into for debugging ?
How exactly reset is applied to the processor?
Is the EP direcly connected to the processor?
What is the value of the PCIe controller LTSSM State Status Register—0x404 in case of failure?
Yes , EP is directly connected to processor and is capacitevely coupled.
>>What is the value of the PCIe controller LTSSM State Status Register—0x404 in case of failure?
I will share the results soon.
>>What is the value of the PCIe controller LTSSM State Status Register—0x404 in case of failure?
The value of LTSSM is 0x06 in case of failure.
The LTSSM value means that the PCIe interface can’t proceed on link training.
At least one lane previously detected a receiver doesn’t send correct TS1 or TS2 training sequence.
This means that EP device does not enter link training state in the discussed case.
The issue is still unresolved from our end.
Please suggest what should we look for to debug this issue.
Is it in the software or lies with the hardware ?
Regards
Ram
As I wrote in the previous response:
> This means that EP device does not enter link training state in the discussed case.
The issue could be resolved by applying reset signal to the EP.
Thanks for your reply.
>>The issue could be resolved by applying reset signal to the EP.
That is precisely we don't want to do, as this device is in data path which should not be disturbed. We want this EP to be re-enumerated when only the ROOT Complex(Process) comes up again after soft reset.
Can you suggest any PCIe registers in the root complex(Processor) side that may reflect the status or error condition. This could be the clue for further debugging.
If you have any other debugging suggestions please share.
Please suggest.
Regards
Ram
The issue is caused by the endpoint device - i.e. nothing has to be debugged at the processor's side.