Question about XTAG4 and XU208

Technical questions regarding the XTC tools and programming with XMOS.
denny10079
Member
Posts: 9
Joined: Wed Jul 23, 2025 2:59 pm

Question about XTAG4 and XU208

Post by denny10079 »

Hi Seniors,

This is my first time with XMOS.
I have an XU208 board purchased from DIYINHK. Here is the link: https://www.diyinhk.com/shop/audio-kits ... ocket-null.

Currently, I have a simple project that I would like to flash onto the board using an XTAG4(with XSYS2).

I located the XSYS interface on the XU208 board and followed the “JTAG-only XSYS header” connection as described in the XU208 datasheet (screenshot below):
Image
After connecting, I checked with the XTC tool and got the following information:
Image

However, I'm confused about why the XTAG cannot detect the XU208 device. I have already powered the board with 3.3V.
Did I miss something? Should I instead use the “Full XSYS header”?
Image
Joe
Verified
Experienced Member
Posts: 126
Joined: Sun Dec 13, 2009 1:12 am

Post by Joe »

Looks like that board is designed for xtag3, not xtag4.

They have different interface connectors and pinouts. XTAG3 uses XSYS interface (20 pin 0.1" pitch 2x10 board to board header). XTAG4 uses XSYS2 interface (20 pin 0.05" pitch 2x10 header to cable). Pinout is also different.

Cheers,
Joe
XMOS hardware grey beard.
denny10079
Member
Posts: 9
Joined: Wed Jul 23, 2025 2:59 pm

Post by denny10079 »

Yes, the problem was due to the different pin definitions between XSYS and XSYS2.
I was finally able to download the program into the XU208.
I have also ordered the XK-EVK-XU316, and I hope it will work well with the XTAG4.
User avatar
Ross
Verified
XCore Legend
Posts: 1251
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

The EVK has a "built-in" XTAG so you won't need to worry about that.
Technical Director @ XMOS. Opinions expressed are my own
denny10079
Member
Posts: 9
Joined: Wed Jul 23, 2025 2:59 pm

Post by denny10079 »

Thanks. While waiting for the EVK to arrive, I have been testing the XU208 with a simple sample code.
The code is shown below.

Code: Select all

#include <platform.h>
#include <syscall.h>
#include <print.h>

port out p_leds = PORT_LEDS;

int main() {
    printstrln("Hello World!");

    if (!_is_simulation()) {
        // If running on hardware, flash the LEDs
        while (1) {
            p_leds <: 0x0;
            delay_milliseconds(100);
            p_leds <: 0xf;
            delay_milliseconds(100);
        }
    }

    return 0;
}
I noticed a strange output every 5 seconds — the output stays high for about 250ms.
Could this be a watchdog event?
Image

Zoom in
Image