I have a problem running an application that utilizes 10 timers and a single scheduled task on the TI Hercules RM48L852 processor. Specifically, running on the PGE package of this processor, not the ZWT one that ships on their Hercules HDKs.
I created my application by generating a PGE set of drivers using the TI Halcogen Tool.
I pulled over FreeRTOS OS files from the similar ZWT project I was using before our PGE production hardware was available. This incl. copying the demo projects from TI memory maps which are identical between ZWT and PGE variants of the processor.
Everything compiles and builds. However, once I start my timers on the PGE chip I get crashes.
I believe I have plenty stack for the application and the timers. One reason being that I have ran this successfully for a long time on the ZWT package.
The debugging of he call to xTimerStart that leads to the crash is as follows
call MPU_xTaskGetTickCount() : Successful
call xQueuGeneric Send()
step to os_queue.c line 613 xTaskRemoveFromEventList()
step to os_list.c in vListRemove line (pxlist->uxNuimberOfItems) –
pause debugger and you are in dabort with no RAM of Flash errors
step through to custom_dabort
then in the loop of being returned to instructions in os_list.c and then back to dabort
Note: I successfully create the timers.
I’m now in need of some assistance in tracing the reason why things fall apart after calling xQueueGenericSend(), is it the case that there is not enough stack?