Hi,
I have CW 10.6, Coldfire M52259DemoMCU, standard main.c as shown below.
When I run it in the debugger, the output in the console window is as expected.
So I guess, basically everything is set up correctly.
But when I run it directly ("Run"), then not output can be seen in the console window.
Both, the run configuration and the debug configuration are at Console_RAM_OSBDM.
How do I get Console_IO in "Run" mode?
Thanks for an answer!
Regards Theodor
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
* main implementation: use this sample to create your own application
*/
#include "support_common.h" /* include peripheral declarations and more */
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
/* Standard IO is only possible if Console or UART support is enabled. */
#include <stdio.h>
#endif
int main(void)
{
int counter = 0;
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
printf("Hello World in C++ from MCF52259 derivative on MCF52259 board\n\r");
#endif
for(;;) {
counter++;
}
}