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.

CCS Ver. 5.2.0.00044 - printf() no ouptut in debug console

Other Parts Discussed in Thread: MSP430F6638

Hello,

I am trying to get a "Hello World\n" in my console by generating/running the following program:

#include <msp430f6638.h>

#include <stdio.h>

unsigned char i = 0;
char static_array[BUFSIZ];

int main( void )
{
    WDTCTL = WDTPW + WDTHOLD;

    setvbuf(stdout, static_array, _IOLBF, sizeof(static_array));

   __enable_interrupt();

    for (i=5; i>0; i--) {
        delay(50000);            // just performs "nops"

        printf("hello\n");

    }
}

a) I have set the heap and stack sizes both to 512 bytes (I have tried with 1000bytes)

b) I use --printf_support=minimal

c) I use now setvbuf() like recommended in document slau132f.pdf on page  140 (without succes).

I see in static_array[] the written string but no output in the debug console.

Am I still missing a setting?

Thanks in advance!

Tech.