Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21335 Discussions

Windows freezing with hard IP PCIe driver

Altera_Forum
Honored Contributor II
1,129 Views

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
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
475 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
475 Views

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.

0 Kudos
Reply