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
You can only see the output of the UART in the uVision 'Debug (printf) Vewer' window if you are working with the simulator. If you run your application on a board, you can start any terminal program in parallel to µVision to see the output. Of course, the RS232 interface of your board must be connected to the RS232 interface of your PC.
Thanks :-)
I will spend no more time trying to figure that one out.