I am having some issues with Cortex-M4 and FreeRTOS 7.3.0, 4 tasks and 1 interrupt handler.
Basicalyl I am stressing the board by sending patterns of data over 8 inputs that are configured to generate an interrupt and they all share teh same handler. The interrupts are generated 20uS apart and the lines are toggled at random.
The issue is that after an amount of time and data sent, say 10k samples or less, the content switchig is no longer happening. Being able to set a breakpoint on a task that had a call to xTaskGetTickCount the returned number was all the time the same. I wasn’t looking into FreeRTOS sources but if a counter is supposed to overflow in order to generate an interrupt that will awake the scheduler then that won;t happen.
The aplication does not hang, it’s just the task is not switching. I have the stack overflow handler in place and it’s not getting called.
Any idea what could cause a situation like the above, what is the mechanism that increases tick count, I remember reading about it but can’t recall at this time. What I would like to know is what kind of exception can causes it to stop working.