Page 1 of 1

XScope on port other than Tile 0, XL0

Posted: Tue Dec 06, 2016 12:55 am
by gcore
I have a hardware design that routes the XLink connections from the 20 pin xTag3 debug header to a XU216-256-TQ128-C20 device's XL3 port on tile 1. I'm working with the default XN file for the XU216-256-TQ128-C20 device, copied into the xTIMEcomposer project from C:\Program Files (x86)\XMOS\xTIMEcomposer\Community_14.2.1\targets\XU216-256-TQ128-C20. I'm trying to add in a section to the XN file that will configure XL3 as the XScope connection.

I have no trouble doing this with a board that has the XLink connected to XL0 on tile 0, using the following lines:

Code: Select all

  <Nodes>
    <Node Id="2" Type="device:" RoutingId="0x8000">
      <Service Id="0" Proto="xscope_host_data(chanend c);">
        <Chanend Identifier="c" end="3"/>
      </Service>
    </Node>
  </Nodes>
  <Links>
    <Link Encoding="2wire" Delays="4,4" Flags="XSCOPE">
      <LinkEndpoint NodeId="0" Link="XL0"/>
      <LinkEndpoint NodeId="2" Chanend="1"/>
    </Link>
  </Links>
Could anyone point me in the right direction for coaxing this to work for XL3 on tile 1?

Any suggestions welcome.

Cheers!

Re: XScope on port other than Tile 0, XL0

Posted: Tue Dec 06, 2016 7:43 am
by Redeye
It should be as simple as changing the line :

Code: Select all

<LinkEndpoint NodeId="0" Link="XL0"/>
to :

Code: Select all

<LinkEndpoint NodeId="0" Link="XL3"/>

Re: XScope on port other than Tile 0, XL0

Posted: Wed Dec 14, 2016 4:15 am
by gcore
Thanks Redeye, that is indeed all that is required. I had tried that already, but was being misled due to needing to also power the xtag device off and back on before the change takes effect.