Apologies if this is a known problem and I haven’t dug in far enough.
I have a board modeled on the ea3131 but running with a slightly different XTAL.
The board normally runs with some non-RTOS code but I want to play with the uIP stack on it and hence am trying to get FreeRTOS running.
If I have a single task created and start the scheduler all seems well. The task runs, I get print out on the serial port, xTickCount increments nicely, LEDs seem to flash at the correct rate.
However, if I create two tasks before starting the scheduler, I get xTickCount = 1 and end up in vApplicationStackOverflowHook. Looking at the stacks, they don’t appear corrupted or too large.
There appears to be something wrong in how the interrupts handle the context switching.
Has anyone seen anything like this before?
I’m running in Preemptive mode.