Page 1 of 1

Help Wiring xTAG port on board, and with .xn files

Posted: Thu Aug 30, 2018 2:18 pm
by keno
Hi,
Im trying to lay out a board using XU216-512-FB236 basing the design on the XP-SCK-X200 slice kit. The schematic for this board shows all of xLink 1, pins 49 through 58 going to the XLINK/DEBUG Up connector J5. There is a small adapter board that is used between Slice Kit and xTAG. The xTAG appears to only use a 2 wire connection.
So which 2 wires are used (2 up and 2 down 4 physical wires) ?
Can anyone point me to a schematic of the adaptor board XA-SK-DEBUG 1v0?
I want the final board to have a 20 pin connector we can plug an xTAG adaptor into much like the xCORE-200 MC AUDIO board.

Any pointers on the <Links> section of the SLICEKIT-X200.xn ?
My best guess so far:
Node 0 is both tiles?
Node 1 is USB?
Node 2 is xTAG?

Code: Select all

  <Node Id="2" Type="device:" RoutingId="0x8000">
      <Service Id="0" Proto="xscope_host_data(chanend c);">
        <Chanend Identifier="c" end="3"/>
      </Service>
    </Node>
This is linking Node 0 to xTAG?

Code: Select all

  <Link Encoding="2wire" Delays="5clk" Flags="XSCOPE">
      <LinkEndpoint NodeId="0" Link="XL1"/>
      <LinkEndpoint NodeId="2" Chanend="1"/>
    </Link>
Using a 5 wire link for 2 wire connection, I guess we are only using the first 2 wires up and down?
X1D53 = L1 0 in
X1D52 = L1 1 in
X1D54 = L1 0 out
X1D55 = L1 1 out
These map to XL1_DN0, XL1_DN1 , XL1_UP0, XL1_UP1 ? Is "in" same as "down"?

Thanks for your help!

Re: Help Wiring xTAG port on board, and with .xn files

Posted: Fri Aug 31, 2018 10:04 am
by mon2
Use xTimecomposer to build a new project but select one of the target kits of your choice to allow the toolchain to auto-generate the .xn file with xlink support.

Re: Help Wiring xTAG port on board, and with .xn files

Posted: Fri Aug 31, 2018 11:51 am
by keno
Thanks mon2,
Im trying to figure out which wires in the 5 wire xLink connection used with XP-SCK-X200 are actually used by the XTAG.
I dont understand how a new xTimecomposer project helps.

Re: Help Wiring xTAG port on board, and with .xn files

Posted: Fri Aug 31, 2018 12:53 pm
by mon2
I believe what you are after is attached to this post. You can download the gerbers & schematic for this PCB from here:

https://www.xmos.com/support/boards?pro ... 5&secure=1

Last download -> files folder -> xtag2

Please confirm.

Re: Help Wiring xTAG port on board, and with .xn files

Posted: Fri Aug 31, 2018 2:19 pm
by keno
Thank mon2.
The XA-SK-XTAG2-SCH.PDF is exactly what I needed.