Micro vision: Cannot print to "Debug (printf) viewer" screen

My processor is LPC2378.

Presently my fputc function sends the char to UART0.

int fputc(int ch, FILE *f) {

   while (!(UxLSR & 0x20));

   return (UxTHR = ch);

}

How can I change it so that it displays on IDE debug window?

I am using uVision IDE 5.41

Thanks

Parents Reply Children