AnsweredAssumed Answered

Composite HID MSC - Periodic reset when SD not present

Question asked by onester on Dec 18, 2014
Latest reply on Dec 20, 2014 by onester
I'm developing a composite HID and MSC device. The MSC is backed by a uSD card and FatFS.

Everything is working great when the uSD card is present but if there is no uSD present DCD_HandleUsbReset_ISR is getting called twice in quick succession about every 30 seconds. If there are HID reports being sent/received when this happens they are failing. I'm not looking to be able to hot plug the uSD or anything like that but I need for it to be optional to have it installed.

Again, if the uSD is inserted everything works great. I'd really appreciate some ideas about where to start fixing this please!

Using STM32_USB-Host-Device_Lib_V2.1.0 on StdPeriph
No Cube or HAL