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

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
keno
Member++
Posts: 16
Joined: Tue Jul 10, 2018 4:49 pm

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

Postby keno » Thu Aug 30, 2018 2:18 pm

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!
View Solution
User avatar
mon2
XCore Legend
Posts: 1347
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Fri Aug 31, 2018 10:04 am

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.
keno
Member++
Posts: 16
Joined: Tue Jul 10, 2018 4:49 pm

Postby keno » Fri Aug 31, 2018 11:51 am

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.
User avatar
mon2
XCore Legend
Posts: 1347
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Fri Aug 31, 2018 12:53 pm

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.
You do not have the required permissions to view the files attached to this post.
keno
Member++
Posts: 16
Joined: Tue Jul 10, 2018 4:49 pm

Postby keno » Fri Aug 31, 2018 2:19 pm

Thank mon2.
The XA-SK-XTAG2-SCH.PDF is exactly what I needed.

Who is online

Users browsing this forum: No registered users and 1 guest