UPDATE: I am able to see printf() on the CW debugging console by creating a bareboard project and selecting Debugger Console under the IO Support option. See image below. This works with either OSJTAG or PE Multilink Universal as the the debugging interface. What I am really trying to do is view UART IO message (printf(), puts()) in a terminal program or the terminal built into code warrior.
My source code looks like this:
#include "derivative.h" /* include peripheral declarations */
#include <stdio.h>
int main(void)
{
int counter = 0;
for(;;) {
counter++;
printf("Hello UART!");
}
return 0;
}
I am not sure what the difference is between selecting UART IO vs Debuggin Console IO. Does anyone know what this changes in the libraries that control the version of printf() is used? Similarly, Does anyone know what the default output of printf() is for an MQX 4.0.1 project is?
Thank you!
