After battling with trying to configure my custom board with similar settings on the demo (msd_fat_demo), stumbled
trying to make it recognize the USB stick. I finally discovered that the following two lines of code are needed for my
custom board to be able to work as the demo software.
Here are the two lines of code:
OS_Task_create(Task_Start, NULL, 4L, 4000L, "task_start", NULL);
I am not 100% sure about this but it seems that these two lines of code start a thread which locks the demo looking
into Task_Start() function.
1. Can someone confirm if this is true?
2. If the above question is true, if I remove these lines and call the Task_Start function at my own discretion could this
work as well? Please explain why?
3. If question #1 is false, then what are these two lines of code affecting the overall function of the demo?
Any help on this would be appreciated.