AnsweredAssumed Answered

OTG_FS_IRQHandler host fault when slave device removed during operation

Question asked by curran.danny on Jan 9, 2012
Latest reply on Jan 9, 2012 by Clive One

has anyone come accross a fix for when the end user removes a USB slave device from a
STM32F2XX while its part way through an read/write operation eg

USB memstick plugged in and the user removes because they can.
In testing I can now repeatadly cause a fault where the OTG_FS_IRQHandler is callled endlessly and this in effects locks up the system.

At the moment I have a simple system that says if I get a certain number of consectutive ISR calls I reset the hardware but I am looking for a something a little more elegant.