When running FreeRTOS with uIP on TM4C1294XL, I see the following:
- the code faults in the routine uxListRemove
- my attempt to look at the stack appear to show that the uxListRemove method was interrupted by an Ethernet interrupt
- the FreeRTOS source code has a comment in the list methods to the effect that if the code blows up here, a likely cause is bad interrupt priorities
- the FreeRTOS reference has an item called configMAX_SYSCALL_INTERRUPT_PRIORITY which sets the priority level at which it is safe to make xxxFROMISR calls
- when I look at the registers when running the code, all NVIC_PRIn registers are 0, indicating that all interrupts are equal high priority, violating the above config item
So, I think the fault issues are a result of our not setting up interrupt priorities correctly. Any suggestions?
Thanks,
Shawn