Other Parts Discussed in Thread: EK-TM4C1294XL
Tool/software: TI-RTOS
Hello
I have application that performs usbstick operation with TM4c1294 using TI-RTOS which can write and read file from usb flash drive. I am using USBMSCHFatFs drivers to perform operation.
Program check for USB is connected (using USBMSCHFatFs_waitForConnect) before executing any read write operation. It has 10 second delay in USBMSCHFatFs_waitForConnect.
if USB flashdrive is not connected and delay expires, it quits the operation.
The problem is once that happens next time when I connect USB flash drive and try to read or write it receives NULL from USBMSCHFatFs_open.
I tried re-initializing USB driver but did not work. Also tried closing USBMSCHFatFs (USBMSCHFatFs_close) did not helped. Only way I can make that work is using Power reset.
Thanks