# RX62N debug console

**URL:** <https://forums.freertos.org/t/rx62n-debug-console/1297>\
**Category:** Kernel\
**Created:** [January 11, 2013, 8:15am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297 "2013-01-11T08:15:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 11, 2013, 8:15am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/1 "2013-01-11T08:15:21Z")

</div>

**[rkn92](https://sourceforge.net/u/rkn92/)** wrote on [Friday, January 11, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#f13e):

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

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 13, 2013, 5:04pm UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/2 "2013-01-13T17:04:41Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Sunday, January 13, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#5818):

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.&nbsp; 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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 14, 2013, 4:40am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/3 "2013-01-14T04:40:04Z")

</div>

**[rkn92](https://sourceforge.net/u/rkn92/)** wrote on [Monday, January 14, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#6e63):

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

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 14, 2013, 10:04am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/4 "2013-01-14T10:04:38Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, January 14, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#19b5):

According to the text the messages should appear in the debug console of the IDE.&nbsp; 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?&nbsp; The HEW IDE with the E1 emulator?

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 14, 2013, 10:17am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/5 "2013-01-14T10:17:39Z")

</div>

**[rkn92](https://sourceforge.net/u/rkn92/)** wrote on [Monday, January 14, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#a307):

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

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 14, 2013, 10:22am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/6 "2013-01-14T10:22:21Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, January 14, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#a45e):

vPrintString() is part of the demo code that comes with the books, not part of FreeRTOS.&nbsp; It is defined in basic\_io.c, and just calls printf() wrapped in schedule disable/enable calls to ensure mutual exclusivity.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 14, 2013, 10:26am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/7 "2013-01-14T10:26:05Z")

</div>

**[rkn92](https://sourceforge.net/u/rkn92/)** wrote on [Monday, January 14, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#3525):

Hi,

where can I get basic\_io.c?  
Thanks for your help.

Regards  
Ratheesh.K

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 14, 2013, 10:39am UTC](https://forums.freertos.org/t/rx62n-debug-console/1297/8 "2013-01-14T10:39:31Z")

</div>

**[rkn92](https://sourceforge.net/u/rkn92/)** wrote on [Monday, January 14, 2013](https://sourceforge.net/p/freertos/discussion/382005/thread/37d72245/#f7f3):

Hi,

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

Regards,  
Ratheesh
