AVB Endpoint Kit - redirect printf to uart

If you have a simple question and just want an answer.
Jack
Member++
Posts: 24
Joined: Fri Sep 05, 2014 4:41 pm

AVB Endpoint Kit - redirect printf to uart

Post by Jack »

Hi there,

I am using the AVB Starter Kit  boards (FW5.2.1) and Xtag2 and run in trouble to redirect the printf messages instead to the xtime composer console (via Xscope - seems to be default) directly to the uart pins (for using printf on com port on a standard console).
In my understanding, a default setting should route the printf directly to these designated uart pins.

What do I have to configure? (Disabling xscope in the code?, Settings in the makefile? ....)

Thanks a lot for your help.

Kind regards
Jack

 

 

User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

xSCOPE uses xCONNECT links to communicate print messages to the xTIMEcomposer console. In the earlier designs, the communication is done using a uart. But this communication is very slow and blocks the flow of the program. So, in all the new designs xSCOPE communication is done using high speed xCONNECT links. So, you can select the type of xSCOPE communication either using xCONECT links or via uart based on your design. You can select the option by navigating to the following settings:
1. Run As --> Run Configurations
2. select xSCope or Raw based on your design.