Hi
When I plug usb device mode into PC as MSC, the call back function can report : USB_EVENT_CONNECTED.
uint32_t USBDMSCEventCallback(void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgParam, void *pvMsgData)
And the device can working well like a usb flash dongle to read write SPI nor flash.
But when I remove from PC, the USB_EVENT_DISCONNECTED doesnt issued and stay in "g_eMSCState = MSC_DEV_READ;"
I use this example code from sample code :https://github.com/yuvadm/tiva-c/tree/master/boards/dk-tm4c129x/usb_dev_msc
Any idea which steps I have confused or doing wrong?? BTW, i am working on 1294XL EVM.