Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

strange behaviour with printf/MSP430F5438

$
0
0

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


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>