Hi,
I'm using MQX 3.5.1 with USB Host, at first for testing USB, I have used the \mfs\examples\mfs_usb demo. In this demo using printf on the UART0 I had never seen the Detach event.
If there is a mass storage I see only Attach Event and Intf Event but when I remove my mass storage from the host the Detach event doesn't appear. This is strange so without the Detach event the filesystem isn't uninstalled.
Thanks for the support.
I overwrite the old one and compile the libs but I get 3 errors:
Error : undefined identifier 'KHCICFG_THSLD'khci.c line 673 HWTICKS_CONST_THLD = KHCICFG_THSLD * HWTICKS_PER_MSEC / 1000; Error : function has no prototypekhci.c line 1021 *((uint_32*)BD_PTR(0, 1, ep_ptr->tx_bd) + 1) = HOST_TO_LE_LONG((uint_32)buf); Error : function has no prototypekhci.c line 1072 bd = LONG_LE_TO_HOST(*pipe_desc_ptr->bd_ptr);
Thanks for answering so fast!
Inserting mass storage in my usb host I see only attach + intf event and after a removing of my mass storage I don't see event so if I repeat the operation of inserting and removing the mass storage my usb it isn't still detected.
I'm using 52259DEMO the external MRAM is necessary for using this demo?