Hello:
In my application, I seem to be having issues with task stacks.
My application aborts after running for a short period of time.
My application uses TI-RTOS on the TM4C123GXL launchpad.
The SYS/BIOS version is 6.35.4.50
The application is intended to read various data via ADCs as well as from an accelerometer accessed via I2C.
I have been able to access, set up and read the MEMS accelerometer.
My plan is to use Timer2 to trigger the ADC, and use the ADC interrupt as well as a GPIO interrupt to signal that data is ready. I have tested and verified that these HWIs are entered and data is read.
So here is the problem. The program runs for a short time and aborts. The logs show that it will access the I2C and clear interrupts as to be expected. However, instead of running continuously. it will suddenly abort. It always aborts in Task.c when checking stack pointers. I have attached a screen capture of the CCS Debug screen showing error messages and the point in Task.c when execution was aborted.
To try to solve this, I commented out various functions in my code. I also disabled the ADC interrupt. However, the problem persists. I don't understand the code in Task.c, and the ROV logs do not give me any hints as to what is causing this fault.
Thank you
Dale