I am using ccs 6.1.2, TIRTOS 2.16.0.08, compiler 5.2.7 and a TIVA TM4C1294NCPDT CPU.
The fdOpen() will fail if it is called at the start of a task but if I add a small delay before the fdOpen(), the fdOpen() will succeed.
Is there a reason I should have to use a delay? See below:
void MainTask(void)
{
int fdOpenResult;
Task_sleep(TEN_MILISECONDS); // why is this needed?
fdOpenResult = fdOpenSession(TaskSelf());
printf ("mainTask() fdOpenSession result = %d\n", fdOpenResult);
….