Forum Discussion

SScib1's avatar
SScib1
Icon for New Contributor rankNew Contributor
6 years ago

Cannot read Vendor ID of ARRIA 10 PCIe Root Port AVMM IP on CRA bus

The PCIe RP Ip is in LO state, Sync is ok.

My first acces is to read the Vendor ID of the PCie RP IP.

When I sent the following sequence on the CRA bus I never get an answer:

​Add=2000h Data=0400_0001

​Add=2004h Data=0000_010F

​Add=2008h Data=0000_0001

Add=2000h Data=0000_0000

Add=2004h Data=0000_0000

Add=2008h Data=0000_0002

Then reading

Add=2010h

Never get Data(0)=1 meaning a TMP answer has been received.

I can provide a test case.

Thnaks.

Serge

5 Replies

  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor
    Hi Serge, Are you trying to read the vendor ID of the end points that connected to the root port? From the CRA sequence above, both request ID and BDF = 0? Could you please confirm if the BDF is all zero? Regards -SK
  • SScib1's avatar
    SScib1
    Icon for New Contributor rankNew Contributor

    Hello SK,

    I answered you by email but I do not know if you received it so I answer here as well:

    No I am trying to read the Vendor ID of the Root Port as it is made in the simulation file attached, line 170.

    That is why ID Bus Device Function = 0, this is to access the Vendor ID of the Root Port.

    I can send you a test case if you want.

    Can you have a look to the Signal Tap file attached you will see the sequence.

    Thanks for help.

    Serge

  • SScib1's avatar
    SScib1
    Icon for New Contributor rankNew Contributor

    ​And so how do you write to configuration space registers of the Root Port ?

    This is my purpose.

    Thanks.

    Serge

  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor
    Hi Serge, As per the user guide, you can access the Root Port configuration Space registers with a Type 0 Configuration TLP in Root Port mode. To further understand the problem, are you able to read/write the End point configuration space? Or able to access the address offset like 14'h3C68 or 14'h3C6C for the read only configuration space. Regards -SK