Forum Discussion

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

Windows freezing with hard IP PCIe driver

I have a small driver enumerating the BARs. It is general in nature and works perfectly on several other PCI boards.

When using it with a board containing the Cyclone IV GX, (Altera demo board for instance), it will access the board perfectly, however when releasing the device (shutting down the system or disabling the board) the system will freeze, or display a parity error, and thus dies without even a core dump.

This will happen even without any driver access to the board, excepting of course the enumerations and other accesses from Windows, that I have no control on.

Does anyone have any suggestion? or a skeleton driver talking to any register on the board?

Philippe Faucon

2 Replies

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

    I now tried with a Jungo-generated minimal driver, with the same result. It looks like the problem is coming from the way that I generated the PCIe interface?

    I can access correctly the registers on my board, or on the Altera evaluation board, however they both die when I try to disable the driver or shut down the system.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    after filing a service requests with Altera, it is a bug in the hard IP, they gave me a work around and everything works now.