In the example USBD_MSC of the SDK14.0.0, when the USB is unplug the disk initialization failed.
In the example USBD_MSC of the SDK14.0.0, when the USB is unplug the disk initialization failed.
In the SDK14.0.0, the call to app_usbd_stop();
need a app_usbd_event_queue_process();
to be effective when APP_USBD_EVENT_QUEUE_ENABLE
is set at 1 in the sdk_config.h. So to avoid the failure of fatfs_init();
, app_usbd_event_queue_process();
can be added between app_usbd_stop();
and fatfs_init();
in the usb_connection_handle()
.
Hi Nicolas,
Thank you for reporting this. The issue have been reported internally, and should hopefully be fixed in the next release.