Debugging an xtag2 xith an xtag2

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
Ross
XCore Expert
Posts: 966
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

I also stumbled across this which I hadn't realised was public

https://www.xmos.com/en/download/public ... -XTAG2.pdf


User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am

Post by segher »

To make a "blank" XTAG2, one way is to replace the L1 chip
by one that doesn't have its OTP programmed. While you have
your soldering iron out, also change the boot mode and/or add
an SPI rom (if you plan to boot it standalone) and/or add some
UART wires (if you like to debug that way).

I can confirm this works :-)

For light-weight debugging, you can just run your program via
the USB loader (as in the doc Ross just posted the link to),
and connect the debugger. Less convenient in various ways,
but cheaper and easier.