This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32L - USB HID and Windows 8.1

Hi,

I have developed a USB device based on STM32L151, working with Keil pro (v4.60) USB stack, and it was working great with Windows XP, 7 and 8. But since the PC was updated to Windows 8.1, the RTX Kernel crashes and my USB device goes to os_error() with a OS_ERR_FIFO_OVF as soon as Windows accesses it (for instance when I refresh the list of the devices in the peripheral manager)

It seems that the usb_init() function fails, and thus the device crashes when it receives a usb command.

The odd thing is that when I try to access it with my hid application on PC it works, provided I send the first commands as soon as I've plugged the device (I guess I don't let the time to Windows to handle the device).

Am I the only one to get this behavior ? Is there a solution to make Keil's USB stack compliant with Windows 8.1 ?

Thank you

0