12-08-2009 07:22 AM
I have a PCIe bridge implemetation setup with BME. I can transfer data back and forth to the host memory (known location that has been already allocated by our driver) in Windows 2000. Occsionally Windows will BSOD?
Anyone have this issue?
thanks.
12-11-2009 03:21 AM - edited 12-11-2009 03:35 AM
Pay attention to the BSOD. Is it a PAGE_FAULT_IN_NONPAGED_AREA?
Are you using a kernel buffer in the driver and virtual memory mapping in user space?
The physical address base you pass to the driver must be the one allocated to your board during configuration cycles.
Best,
JM
12-11-2009 03:21 AM - edited 12-11-2009 03:35 AM
Pay attention to the BSOD. Is it a PAGE_FAULT_IN_NONPAGED_AREA?
Are you using a kernel buffer in the driver and virtual memory mapping in user space?
The physical address base you pass to the driver must be the one allocated to your board during configuration cycles.
Best,
JM
12-11-2009 06:05 AM
Yes, we are using kernel memory in the driver.
Found this out late last night...
It turned out that the BSOD was caused by the application (that had made the call to the driver) was in the Studio Debugger, and the debugger was cleaning out the application pointer even though the driver has the memory locked.
Took the app out of the debugger and the BSODs stopped.
Thanks for your input.