We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
For the moment I got rid of the crash by simply removing the RTOS of my program, since it's not mandatory for this device. It seems to work like a charm, additionnal tests are currently being performed.
The other projects that need an RTOS will be self powered, so I assume the first solution you suggested will be enough.
Not the finest ending, but I can't spend more time on it for the moment.
Thank you again for your help Tsuneo, it has been really appreciated,
Regards