Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT


How to print a message from FreeRTOS Task

Posted by LEO K YOHAN on October 12, 2012

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

RE: How to print a message from FreeRTOS Task

Posted by Richard on 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS