Other Parts Discussed in Thread: SYSBIOS, TMS320C28346
Hi,
We found this issue in our project development, when we use vsnprintf(), and reproduce it by using sprintf in TI's SYSBIOS idle example.
Our software environment is : CCSV5.2.0.00069 which inlcuds SYSBIOS 6.33.4.39 , XDC3.23.3.53, TI compiler v6.1.0
Our hardware enivroment is TMS320C28346 evolution board.
The attachment is the CCS project to reproduce this problem.
The steps to create the project is :
1. Create a CCS5 project by using SYSBIOS idle example.
2.Add the task and event support, and add a event and a user task.
3.Increase the idle task stack to 1024, and user task stack to 2048 to support the sprintf
4.make sure the printf compiler option was set to "full"
5.Using the send event in the timer ISR to drive the user task.
6.Add the following code in both idle and user task.
char tmpStr[128];
static unsigned int loopCnt;
sprintf(tmpStr,"%-12s : AppTask2 is looping for %u times in %s %f\r\n",
"DEBUG",loopCnt++, __FUNCTION__,8.8);
When run this project, it will run to abort().
Check the task and HWI stack, no overflow was detected.

