Page 2 of 2

Re: Multiple vendor JTAG devices

Posted: Sun Oct 22, 2017 5:45 pm
by jambun
Hi mon2,

See attached xn file.

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

Regards,

Stuart.

Re: Multiple vendor JTAG devices

Posted: Sun Oct 22, 2017 9:42 pm
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.

Re: Multiple vendor JTAG devices

Posted: Sun Oct 22, 2017 10:02 pm
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.

Re: Multiple vendor JTAG devices

Posted: Mon Oct 23, 2017 12:34 pm
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.