How to print a message from FreeRTOS Task

leokyohan wrote on Friday, October 12, 2012:

Hi

I’m new to FreeRTOS.

I’m using ML507 Board with PPC440 and Xilinx XPS for building the project.
I would like to know if I’m giving a printf in a FreeRTOS Task, how to see that in hyperterminal or a console.

Kindly help

Thanks & Regards
LEO

rtel wrote on Friday, October 12, 2012:

Embedded development environments normally provide a stub for print routines that require you to complete the character output functionality.  You can provide a write function that outputs the character wherever you want, be that a UART, console, or whatever.  Other environments will support semi-hosting, where printed characters are sent to the debug interface and displayed in a console window in the debugger. 

I’m not sure exactly what the Xilinx tools provide, but the tools are comprehensive and will provide something.  Your best best is to look it up in the Xilinx documentation, or search the Xilinx forums for people doing the same thing.

Regards.