Can't get the real-time XSCOPE to work Topic is solved

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
Posts: 28
Joined: Tue Mar 26, 2019 8:38 am

Can't get the real-time XSCOPE to work

Postby niektb » Mon Aug 19, 2019 8:38 am

Hi there!

I'm trying to develop a program for a custom XUF208 board but I can't get AN00196 Getting Started with Real-Time xSCOPE in xTIMEcomposer Studio to work...
I've added -fxscope to the makefile and modified the xn file to the following (as instructed in chapter 18 of the XTimeComposer User Guide):
<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns=""
<Name>XUF208-256-TQ64-C10 Device</Name>

<Declaration>tileref tile[1]</Declaration>
<Declaration>tileref usb_tile</Declaration>

<Package id="0" Type="XS2-UFnA-256-TQ64">
<Node Id="0" InPackageId="0" Type="XS2-L8A-256" SystemFrequency="500MHz" OscillatorSrc="1">
<Source Location="bootFlash"/>
<Tile Number="0" Reference="tile[0]">
<Port Location="XS1_PORT_1B" Name="PORT_SQI_CS"/>
<Port Location="XS1_PORT_1C" Name="PORT_SQI_SCLK"/>
<Port Location="XS1_PORT_4B" Name="PORT_SQI_SIO"/>
<Node Id="1" InPackageId="1" Type="periph:XS1-SU" Reference="usb_tile">
<Link Encoding="5wire">
<LinkEndpoint NodeId="0" Link="8" Delays="52clk,52clk"/>
<LinkEndpoint NodeId="1" Link="XL0" Delays="1clk,1clk"/>
<Link Encoding="2wire" Delays="4,4" Flags="XSCOPE">
<LinkEndpoint NodeId="0" Link="XL0"/>
<LinkEndpoint RoutingId="0x8000" Chanend="1"/>

<Device NodeId="0" Tile="0" Class="SQIFlash" Name="bootFlash">
<Attribute Name="PORT_SQI_CS" Value="PORT_SQI_CS"/>
<Attribute Name="PORT_SQI_SCLK" Value="PORT_SQI_SCLK"/>
<Attribute Name="PORT_SQI_SIO" Value="PORT_SQI_SIO"/>

<JTAGDevice NodeId="0"/>


It all compiles and runs without errors but when switching to the Real-Time XSCOPE perspective it shows 'disconnected' in the Control tab and no sine wave :(
Does anybody have some pointers where I could take a look at? Thanks in advance! :)
View Solution
User avatar
XCore Legend
Posts: 1804
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Mon Aug 19, 2019 11:16 am

Posts: 28
Joined: Tue Mar 26, 2019 8:38 am

Postby niektb » Mon Aug 19, 2019 7:49 pm

already did that :) but I stumbled across the actual solution! i didn't specify the oscillator frequency in the XN file :)

Who is online

Users browsing this forum: No registered users and 4 guests