Discussion:
Is there any max size limit for PCIe IO BAR for windows ?
(too old to reply)
Neo
2014-03-28 07:41:01 UTC
Permalink
I have a simeple PCIe controller device, this is a simple pcie endpoint device with 2 BARS BAR0 - Memory BAR of 2K size and BAR2 - IO BAR with 2K size, but when it is inserted and powered on the machine it gives Device Manage code 12 "This device cannot find enough free resources that it can use".

Why is this so, my driver is loaded and only DriverEntry and AddDevice are being invoked and Adddevice is returned with status success.

Except these two no other driver function have been invoked.

Is there any limit with IO BAR size with windows ?
is 2K IO BAR size is not allowed ?

Thanks,
Sandilya
Neo
2014-03-28 10:30:48 UTC
Permalink
Post by Neo
I have a simeple PCIe controller device, this is a simple pcie endpoint device with 2 BARS BAR0 - Memory BAR of 2K size and BAR2 - IO BAR with 2K size, but when it is inserted and powered on the machine it gives Device Manage code 12 "This device cannot find enough free resources that it can use".
Why is this so, my driver is loaded and only DriverEntry and AddDevice are being invoked and Adddevice is returned with status success.
Except these two no other driver function have been invoked.
Is there any limit with IO BAR size with windows ?
is 2K IO BAR size is not allowed ?
Thanks,
Sandilya
One more update,
it works on another machine without any changes.
i want to understand why is this behavior in windows machine.
i need to understand before the design goes into silicon.
they have planned to have 2K IO Port size will this be any issue on windows machine.
Neo
2014-04-02 12:51:20 UTC
Permalink
Any idea please help

Loading...