cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
grama1
Visitor
Visitor
4,275 Views
Registered: ‎11-09-2009

PCIe Bridge BSODs Windows Occasionally

Jump to solution

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.

0 Kudos
1 Solution

Accepted Solutions
jmonteiro-dme
Explorer
Explorer
5,169 Views
Registered: ‎05-15-2009

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

Message Edited by jmonteiro-dme on 12-11-2009 03:22 AM
Message Edited by jmonteiro-dme on 12-11-2009 03:35 AM

View solution in original post

0 Kudos
2 Replies
jmonteiro-dme
Explorer
Explorer
5,170 Views
Registered: ‎05-15-2009

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

Message Edited by jmonteiro-dme on 12-11-2009 03:22 AM
Message Edited by jmonteiro-dme on 12-11-2009 03:35 AM

View solution in original post

0 Kudos
grama1
Visitor
Visitor
4,241 Views
Registered: ‎11-09-2009

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.

0 Kudos