I am trying to interface with a EVK1100 AVR Development board which I have written custom software for. When I use the libusb library on XPsp2 I can open the package but as soon as I try and set a valid configuration windows BSOD "Stop: 0x0000007F 0x00000000 0x00000000 0x00000000 0x0000000" which apparently is caused by a division by zero see http://support.microsoft.com/kb/137539/en-us
I have found it occurs when my usb device returns a ZLP(zero length packet) during the status phase to the computer, to signal that then operation was successful.
I have borrowed this code from sample applications provided and it seems to work with the standard device drives from windows that they use.
Any Suggestions? Or methods to debug the situation?