FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [January 2013 Threads] RX62N debug consolePosted 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 consolePosted 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 consolePosted 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 consolePosted 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 consolePosted 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 consolePosted 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 consolePosted by Ratheesh on January 14, 2013 Hi,
where can I get basic_io.c? Thanks for your help.
Regards Ratheesh.K
RE: RX62N debug consolePosted 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
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|