after debugging a code is it possible to display the output on the screen for example if i do printf("hello world") its not displaying it on the screen how do i do this ??
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.
after debugging a code is it possible to display the output on the screen for example if i do printf("hello world") its not displaying it on the screen how do i do this ??
Printf statements in the code should appear in the CCS console window. Which version of CCS are you using and which device are you running on? Most often, if printf statements do not appear in the console, it is likely because of insufficient heap space. Try increasing your heap by going to Project Build Properties->C/C++ Build->Linker->Basic Options->Heap size.
Also please check this page for more tips: http://processors.wiki.ti.com/index.php/Tips_for_using_printf
Did you also go through the additional suggestions at http://processors.wiki.ti.com/index.php/Tips_for_using_printf?
What target are you running the code on? Are you running on simulator or target board?
What are your stack and heap size set to? Could you attach your code snippet here?