AnsweredAssumed Answered

MQX USB Host MFS events

Question asked by Toe on Apr 23, 2014
Latest reply on May 1, 2014 by Toe

I have a MQX 4.1 project built from the MFS USB example and I'm having a hard time finding out why attach/detach events do not seem to occur properly.

 

Right now the project will mount a usb storage device ONLY if the device is present when the usb stack is initialized.  If the stack is initialized and then a USB stick is inserted the mass device event is never triggered.  The event never triggers on the removal of the device either.

 

Is there something I can look at that may be missing?  I assume there's an initialization step I missed either in one of the mqx libraries or in the usb stack.  When debugging I can see the host task is running and not starving or running out of stack space.

 

MCU is 52252 clocked at 60MHz.

Outcomes