FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5931 Discussions

Example design: Agilex I-series devkit not detected by lspci (stuck in S_CFG_LINKWD_START)

alexislms
Valued Contributor I
1,256 Views

I've been trying to compile a PCI Express example design for the Agilex I-series devkit.

 

1. Nothing works on the projects provided here ES (21.2 or higher)

Found here: https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/agilex/i-series.html

Programming the sof present in the zip using Quartus Pro 21.2, rebooting the server, board not detected by lspci

alexislms_0-1654657476605.png

pcie_ed_inst0|dut|p0_ltssm_state_delay_o[5..0] seems to be stuck to 0x07=S_CFG_LINKWD_START

alexislms_2-1654657554934.png

The motherboard has no issues with any other PCIe cards.

 

2. Using Quartus Pro 22.1, I followed UG-20330 to generate from scratch the example design.

The compilation ends successfully but the board isn't detected either.

alexislms_3-1654657858092.png

 

Could you please provide a working example design for the intel devkit already compiled to be sure the problem isn't on the project?

Also what is S_CFG_LINKWD_START?

 

Regards,

0 Kudos
1 Solution
alexislms
Valued Contributor I
1,157 Views

I found the issue.

 

alexislms_1-1654740246650.png

The default position for the SW3 is defined in the UG as OFF/ON/ON/OFF, to use the refclk from the connector.

The board was received with OFF/OFF/OFF/OFF, to use the on-board refclk.

IMG_20220609_105903__01.jpg

I set the SW3 as documented and it's now enumerated by the bios and seen in lspci.

 

Why it doesn't work using the on-board refclks?

 

Devkit: DK-DEV-AGI027RES

Serial number: AGIPCIE8000248

 

Regards,

View solution in original post

0 Kudos
16 Replies
wchiah
Employee
1,240 Views

Hi,


Thank you for reaching out.

Just to let you know that Intel has received your support request and I am assigned to work on it.

Allow me some time to look into your issue. I shall come back to you with the findings.


Thank you for your patience.


Best regards,

Wincent_C_Intel


0 Kudos
alexislms
Valued Contributor I
1,230 Views

Hi @wchiah,

 

Thank you for your help, we are completely blocked due to this issue and have no way to debug it by ourselves.

Please let me know if you need anything more.

 

Best regards,

0 Kudos
wchiah
Employee
1,220 Views

Hi,

 

Can you try the file at the attachment.
also, I suggest trying another Motherboard which is Gen4x16 capable.

Let me know if the problem fixes.

Regards,

Wincent_C_Intel

alexislms
Valued Contributor I
1,218 Views

Hi @wchiah,

 

Thank you, it's currently compiling with Quartus Pro 21.2.

At this moment, I don't have a Gen4x16 capable motherboard available, only Gen3x16.

 

Regards,

0 Kudos
wchiah
Employee
1,216 Views

Hi,


Initially, I suspend R-Tile's different behavior on different Motherboard may be related to Preset negotiation between Motherboard and R-Tile.

Is okay, let see the result after you compile the file.


Looking forward to hear back from you.

Regards,

Wincent_C_Intel


0 Kudos
alexislms
Valued Contributor I
1,206 Views

It compiled successfully but the Programmer fails at 5%:

Error(18950): Device has stopped receiving configuration data
Error(18948): Error message received from device: External hardware access error. (Subcode 0x0032, Info 0x00040008, Location 0x00001800)
Error(22248): Detected a PMBUS error during configuration. Potential errors: VID setting is incorrect in the Intel Quartus Prime project. The target device fails to communicate to a smart regulator or PMBUS master on a board.
Error(209012): Operation failed 

 

alexislms_0-1654684730351.png

 

Just in case, I attached the archive of the example design (2. in my question) generated with 22.1.

 

Regards,

0 Kudos
wchiah
Employee
1,194 Views

Hi,

 

The example work fine in our server, in this case error might happen on the settings.

  1. Can you please, remove the card from the PCIe slot. Make sure the PCIe edge connector and the slot are clean. Try re-inserting and ensure the card is fully seated in the PCIe slot.
  2. Have you rebooted Linux after loading the .sof?
  3. For the Error (22248): Can you please check if the VID setting is appropriate ?
    You may refer the guide : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/agilex/ug-ag-pwr.pdf#pag...
  4. If not workable, Can you please try out other Agilex Design Example and see is it the error still the same ?
    https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-examples/design-store.html?s=Newest&f:guidetm83741EA404664A899395C861EDA3D38B=%5BIntel%C2%AE%20Agilex%E2%84%A2%20FPGAs%20and%20SoC%20FPGAs%5D

Looking forward to hear back from you. Please let me know if any other further clarification is needed.

Regards, 
Wincent_C_Intel

0 Kudos
wchiah
Employee
1,178 Views

Hi,

 

I receive a new update on R-tile bug issue, it might be one of the root causes of your problem.

Please refer the link below, download and install the patch, the problem shall fixed in future release

https://www.intel.com/content/www/us/en/support/programmable/articles/000090874.html

 

Let me know if this help, Looking forward to hear back from you

Regards,

Wincent_C_Intel

 

alexislms
Valued Contributor I
1,165 Views

Hi @wchiah,

 

  • I added the smartVID to your project and it programs successfully now.
  • I tried 3 different motherboards (up to Gen3x16) and no one detects the card with the 22.1 project and your project.
  • I checked several times the physical connection, no issues, it's fully in and it works with all the other PCIe cards we have. Nevertheless, I could only test in lab servers where the card is vertically plugged in due to the PCIe bracket being 1cm taller than the standard size.

Thank you for the patch, I installed it and the project is compiling.

 

Regards,

0 Kudos
alexislms
Valued Contributor I
1,158 Views

I found the issue.

 

alexislms_1-1654740246650.png

The default position for the SW3 is defined in the UG as OFF/ON/ON/OFF, to use the refclk from the connector.

The board was received with OFF/OFF/OFF/OFF, to use the on-board refclk.

IMG_20220609_105903__01.jpg

I set the SW3 as documented and it's now enumerated by the bios and seen in lspci.

 

Why it doesn't work using the on-board refclks?

 

Devkit: DK-DEV-AGI027RES

Serial number: AGIPCIE8000248

 

Regards,

0 Kudos
wchiah
Employee
1,153 Views

Hi,

 

Glad that you solve the issue, thanks for sharing with me as well

Seen that the problem happens on the refclks settings if follow Error Code 18948

https://www.intel.com/content/www/us/en/support/programmable/articles/000086828.html

 

With that, I am setting this case to close status at this time.

If you have a new question, feel free to open a new thread to get support from Intel experts.

Otherwise, the community users will continue to help you on this thread. Thank you

I would appreciate taking a moment to fill out the short survey with regards to your experience using Intel Forum.

 

Regards,

Wincent_C_Intel

 

0 Kudos
alexislms
Valued Contributor I
1,141 Views

Before closing the issue, I would like to understand why it doesn't work setting the on-board refclk in SW3.

 

There is something wrong somewhere, I don't get the Error Code 18948 with the example design since the board is successfully programmed and I can use SignalTap to see the internal signals (cf. the screenshot in the question). However, the board wasn't enumerated.

 

Is that a hardware issue of the devkit?

 

0 Kudos
wchiah
Employee
1,124 Views

Hi,

 

No worries, I will remain this case open.

As my understand from your previous reply, you mention that 

"the device is enumerated after you set the SW3 as documented, and seen in lscpci. "

 

As per mention, my understanding is it works as usual already, can I know why suddenly it cannot be enumerate?

Can you clarify more?

 

Regards,

Wincent_C_Intel

0 Kudos
alexislms
Valued Contributor I
1,112 Views

I'm just curious of the reason since it is supposed to work out of the box with both switch positions.

 

Using the same sof file, SW3[3] (PCIe refclk selection) set to:

OFF=On-board refclk Not working (hence my question); Programming OK but enumeration not working
ON=CLK from PCIe Connector Working

 

Why using the on-board refclk doesn't work? Is it a hardware issue? Maybe the clocks aren't populated in the PCB for this ES devkit?

Regards,

0 Kudos
wchiah
Employee
1,105 Views

Hi,

 

I wish to clarify your question,

But that is related to hardware design. Unfortunately, our team has no visibility on it.

Let me know if you have any further question.

 

Regards,

Wincent_C_Intel

 

 

0 Kudos
alexislms
Valued Contributor I
1,104 Views

Understood, thank you for your help.

 

Regards,

0 Kudos
Reply