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.
Hi there,
I'm having sprintf problems with CSS 6.0 with 5.2 compiler. I've read some of the solutions but they seem to apply for version 4. I was wondering if there were solution for the latest CSS.
Thanks
Matt
Have you had a look at this wiki page? The concepts are equally applicable to all versions of CCS.
http://processors.wiki.ti.com/index.php/Tips_for_using_printf
One of the most common reasons for printf family of routines to not work is insufficient stack and heap sizes.
There is usually a default stack and heap size set by the tools, however that may not be sufficient depending on the needs of the application. This wiki page contains some additional information about stack and heap requirements.
Where is the tcf file for my project? I can't find it anywhere. I'm trying to edit the stack for the DSP/BIOS section.
This example is not a BIOS project, hence does not have a tcf file. A .tcf file only exists in BIOS5 projects. For non-BIOS projects, you can set the stack and heap sizes by going into Linker settings as indicated here.