Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

How to check if PC regonized PCIe logic; Please Help

Hi,

I have a SOPC built system (PCIe compiler, DMA, and custom component), I have downloaded the .sof to the FPGA and have restarted the PC (I have a tethered mode, to make sure that opencore plus is not limited). I want to know if there is a way through the host PC that I could know if it has detected it, like the vendor ID, device ID, and offset from the BAR address.

Or is there anything else that needs to be done as far as settings or configurations are concered on the host PC?

Iam using a development board from Altera for PCIe, Stratix II GX PCIe development board (Stratix II GX EP2SGX90FF1508C3)

Thanks.

- EDA1

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would suggest using the provided Jungo driver wizard. Use it to run PCI scan and see if your device is detected. Remember that when you restart the computer, you only want to do a soft reboot so that the development board always has power supplied to it (so that the .sof file stays programmed on the FPGA). The vendor ID for Altera is 0x1172 I believe. Once the driver wizard confirms that the device is detected, you can use the same wizard to generate your skeleton driver code.

    Good luck!