Multiple vendor JTAG devices

Technical questions regarding the XTC tools and programming with XMOS.
jambun
Member
Posts: 9
Joined: Tue Jun 24, 2014 12:42 pm

Post by jambun »

Hi mon2,

See attached xn file.

Yes the I can perform a full debug with the Altera part bypassed.

Regards,

Stuart.
Attachments
XCORE-EHDRTR.xn
(1.48 KiB) Downloaded 126 times
XCORE-EHDRTR.xn
(1.48 KiB) Downloaded 126 times


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Use a standard file editor (notepad++ is good) and alter the posted XN file from:

lines 39-41

Code: Select all

<JTAGChain>
    <JTAGDevice NodeId="0"/>
  </JTAGChain>
to read as:

Code: Select all

<JTAGChain>
    <JTAGDevice NodeId="0"/>
    <JTAGDevice NodeId="1"/>
  </JTAGChain>
save and replace the original xn file and test again. Post your results. Believe that the issue is that the XMOS tools are not yet informed that you have the Altera FPGA in the JTAG chain. Lacking this detail, the XMOS tools expect only the single XMOS device to operate which it does when bypassing the Altera FPGA.
jambun
Member
Posts: 9
Joined: Tue Jun 24, 2014 12:42 pm

Post by jambun »

Hi mono,

Thanks I will try that tommorow.

It is normal for JTAG tools to establish the chain length automatically by looking for and identifying each device. This is not hard to do and removes the task from the developer.

Regards.
jambun
Member
Posts: 9
Joined: Tue Jun 24, 2014 12:42 pm

Post by jambun »

Hi mon2,

That didn't work, wouldn't compile '.././XCORE-EHDRTR.xn:41 Error: XN11032 Node "1" referenced in JTAGDevice not found.'

Note that running xrun -l gives:
ID Name Adapter ID Devices
-- ---- ---------- -------
0 XMOS XTAG-3 RNW7cDtT O[0]

and xrun -lb gives:
ID Name Serial Type
-- ---- ------ ----
0 Unknown 0x00000000 0x00000000

with both devices in the chain. However I get the same results above if only the XMOS device is in the chain.

Stuart.
Post Reply