PCIE error PEX_ERR_DR[CRST]

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCIE error PEX_ERR_DR[CRST]

1,732 Views
t_alex
Contributor III

We configured our custom P3041 board as root complex mode, and connect via PCB to another PCIe device.

From u-boot, when we do enumeration, we can see another bus appear (bus 1).

Trying to read from configuration space of the other device will result in 0xffffffff no matter which address.

And error PEX_ERR_DR[CRST]  is detected.

What should I do to know more about the error details to troubleshoot the problem?

Labels (1)
Tags (2)
0 Kudos
3 Replies

853 Views
lunminliang
NXP Employee
NXP Employee

Quote from the chip reference manual:

pastedImage_0.png

The controller always retries the transaction as soon as possible until a status other than CRS is returned. However, if a CRS status is returned after the configuration retry timeout(PEXCONF_RTY_TOR) timer expires, then the controller aborts the transaction and sends all 1s (0xFFFF_FFFF) data back to requester.

So I think you need to determine that something is wrong with the target of the request

853 Views
t_alex
Contributor III

The value of LTSSM State Status Register is 0x16 (state L0) which means link training is successful.

Does it mean that communication with the target is fine ?

So it seems when we start configuration space access then the target does not reply.

0 Kudos

853 Views
lunminliang
NXP Employee
NXP Employee

From the specification, "L0 is the normal operational state where data and control packets can be transmitted and received. All power management states are entered from this state."

I am not expert on PCIE, IMHO, this indicates the physical commnication is fine. Your request target (EP) should has problem. You may send your complete U-boot log to look into.

0 Kudos