This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sysbios Idle task stack overflow

Other Parts Discussed in Thread: SYSBIOS

As I am new to Sysbios I created a simple, one task, LED toggle routine based on the clock module with a one second tick and a pend / post semaphore (the idle task is the default  provided by Sysbios and to my knowledge is empty).  (N.B. this is on the MSP-430F5438 experimenter board, CCS Version: 5.2.1.00018 and what I believe is Sysbios 6.33.06.05). The issue is the program runs fine for about an hour and then an idle task stack overflow occurs.

(ti.sysbios.knl.Task: line 334: E_stackOverflow: Task 0x480a stack overflow.  xdc.runtime.Error.raise: terminating execution)

If you periodically pause the program and use ROV to examine the peak stack value on the processes, the toggle task remains constant (at about 322 bytes) and the idle task's stack slowly grows to overflow (368 to 512 bytes).  Prior posts on the subject, that I saw, had the 'verified answer' of something of the effect of "removed idle task". 

Any thoughts or recommendations would be appreciated. 

(Also, for completeness, another minor change I made was in the configuration file. I changed the clock tick mode from the default Dynamic to Periodic to correct some odd behavior)