Quality RTOS & Embedded Software

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




Loading

RX62N debug console

Posted by Ratheesh on January 11, 2013
HI,

In my new project based on RX62N + Renesas compiler I am trying to use debug console, which files I need to add for using function "vPrintString"?

Regards,
Ratheesh.K

RE: RX62N debug console

Posted by Richard on January 13, 2013
Where did the vPrintString() come from (maybe the book examples?).

If you are using semi hosting then the C libraries need to be configured to route output to the debugger. If you are not using semi hosting then normally functions like printf() need a thin port layer to perform the actual character input and output (that part being very application dependent).

Regards.

RE: RX62N debug console

Posted by Ratheesh on January 14, 2013
HI,

Using the FreeRTOS Real Time Kernel - A Practical Guide , creating tasks example . 1 has vPrintString();
What is "Semi hosting"??

Thanks for the help.

Regards,
Ratheesh.K

RE: RX62N debug console

Posted by Richard on January 14, 2013
According to the text the messages should appear in the debug console of the IDE. That is semi-hosting, the output is shown on the host rather than via a peripheral on the target.

Are you using the configuration as described in the text? The HEW IDE with the E1 emulator?

Regards.

RE: RX62N debug console

Posted by Ratheesh on January 14, 2013
Hi,

I am using HEW IDE with E1 emulator, But when I add vPrintString() in code I am getting the following error.

L2310 (E) Undefined external symbol "_vPrintString" referenced in "P:\Codes\Bewo\Bewo\Bewo_Phase1_FreeRTOS_1112013\Bewo_Phase1_FreeRTOS_1112013\Debug\Bewo_Phase1_FreeRTOS_1112013.obj"

Regards,
Ratheesh

RE: RX62N debug console

Posted by Richard on January 14, 2013
vPrintString() is part of the demo code that comes with the books, not part of FreeRTOS. It is defined in basic_io.c, and just calls printf() wrapped in schedule disable/enable calls to ensure mutual exclusivity.

Regards.

RE: RX62N debug console

Posted by Ratheesh on January 14, 2013
Hi,

where can I get basic_io.c?
Thanks for your help.

Regards
Ratheesh.K

RE: RX62N debug console

Posted by Ratheesh on January 14, 2013
Hi,

I downloaded basic_io.c and added it to project, which solved the issue, thanks for your help.

Regards,
Ratheesh


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists