How to use the xscope server? Topic is solved

If you have a simple question and just want an answer.
babazaroni
Experienced Member
Posts: 94
Joined: Sun Feb 10, 2013 4:47 am

How to use the xscope server?

Post by babazaroni »

I am writing a console app on a Mac that is intended to collect the data packets coming from the xscope server.

I start the xscope server by using the xrun command, giving the xe file to load, and the ip address and port to use.  My console program uses the common_init command from xscope_host_shared.c to connect to the server.  So far, so good.

But, the target does not run.  The target will run when my console app exits.  It seems the server is waiting for a command to allow the target to run.  However, I can't find any documentation or an example to give such a command.   Furthermore, how am I supposed to get the setup information that is setup with xscope_register on the target?

Is there more documentation or a project that would help me?

Thanks for any info.



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

Post by sethu_jangala »

The document and the usage examples for using the xSCOPE are not yet released. You can have the following example as a good starting point:

The following example contains host side application to communicate between xCORE and host:

https://github.com/xcore/sw_ethernet_ta ... avb_tester

Host module for running xscope is available in the following link:

https://github.com/xcore/sc_xscope_support 

For running realtime scope, use the following command:

xrun app.xe --xscope "-realtime localhost:12345"

12345 indicates port number. More information on xSCOPE is available in the xTIMEcomposer userguide.