Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
No need to use RTOS thread msdTask().
I wrote a test program to check if USBHost function can work without using RTOS Thread msdTask () in the program.
The test program works fine, detecting USB Flash Drive and writing to a file time and date values read from internal Real Time
Clock (RTC) after one second interrupts. Also the test program detects if USB Flash Drive is disconnected.
The test program source code is included here.
/media/uploads/Elianco_ES/usb_test_program.txt