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.

strange behaviour with printf/MSP430F5438

Other Parts Discussed in Thread: MSP430F5438A, CODECOMPOSER

Hi,

I'm using CodeComposer Version: 5.4.0.00091 with MSP430F5438A. I have a simple helloworld program:

---

int main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer

printf("Hello World!\n");

while(1);
return 0;
}

If I step through the code, I get a "Hello World" in a Console Window, but if I run free, I don't see the "Hello World" message. I'm using 512 for stack and heap, but it's the same behaviour for larger sizes of stack and heap.

How do I get printf() to work without stepping through the code, which defeats the purpose.

Thanks!

Jai