This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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
  • 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.

Reply
  • 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.

Children