In this document
This is a simple example on how to use xSCOPE and debug prints forwarding via xSCOPE. While running, it should display a sinusoidal wave in xTIMEcomposer’s xSCOPE tab.
This app was originally provided by XMOS as an Application Note.
You need a SOMANET node consisting of at least a SOMANET CORE board connected to you PC via the XMOS XTAG adapter.
Note
In case you are using a SOMANET CORE C22 module, xSCOPE has to be activated by a hardware switch
Configure your Makefile with your SOMANET Core Board. e.g.
TARGET = SOMANET-C22
In the main.xc, include the board support package for your Core Board. e.g.
#include <CORE_C22-rev-a.bsp>
Enable your Real-Time xSCOPE in your xTIMEcomposer Run Configuration.
Run!