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.

CCS5.1.1 printf() no ouptut in debug (using EK-LM3S1968 eval board)

Other Parts Discussed in Thread: EK-LM3S1968

I've just started using Code Composer Studio 5.1.1 (previously used a old version of Code Sourcery) and I can't get stdio to appear in the Console window (worked fine in CS). 

Note that Stellaris ek-lm3s1968 board examples appear to work fine but a simple  standard hello world...ie

#include <stdio.h>

/*
* hello.c
*/
void main(void) {
printf("Hello World!\n");

}

outputs nothing on the console window...

Note that "Enable CIO function use" is ticked.

Am I missing something obvious? 

thanks

  • Hi Timothy,

    a couple things you can initially check

    - what level of printf support do you have enabled

    - what size stack and heap

    - have you tried the latest ccs version?  (v5.3 also ships with a terminal plug-in similar to hyperterminal)

    You may find this thread to be helpful.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/236457/828090.aspx#828090

    Best Regards,
    Lisa

  • Hi Lisa, thanks for the quick reply...

    The problem appears to have been the version of CCS.

    I set all the settings as described in my version of CCS ( 5.1.1.00031) and it made no difference, so I uninstalled it and installed CCS 5.3.0.00090.

    Now stdio outputs to the Console as expected.

    Thanks again!

  • Hi Timothy,

    ok, great, thanks for the udpate and glad to hear you are now going as expected.

    Best Regards,
    Lisa