Page 1 of 1

Programming XUF208-128-TQ64-C10 chip

Posted: Thu Dec 15, 2016 9:48 am
by asid61
I'm attempting to make my first custom XMOS board for general purpose microcontroller usage, and settled on the XUF series for the USB functionality and ROM. However, I'm not exactly sure how to program it.
Here's an image of the simplified schematic in the data sheet.
Image
It appears that all I need for the microcontroller itself to function is a 3.3v and 1v regular, plus some discrete components.

My question is, can I just design with the above schematic in mind and program via that USB connection at the bottom using the XTime Composer tools, or do I need to break out the JTAG somehow and program using the XTAG adapter?

Image

If it's the latter, where do TDO, TCI, TCK, and TMS on the XUF need to connect to on the XTAG? Do I need to use something other than the XTAG to program it, or is there an easier way to program that I'm overlooking?

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Thu Dec 15, 2016 11:42 am
by matthew1
Hi asid61,

I presume you're referring to programming the integrated flash? If this is small volume prototyping then you will need to programme using the XMOS tools, specifically the xflash utility, via the XTAG. Please refer to section 11 and section G of the chip datasheet for information on how the JTAG signals are wired up, you could also take a look at the schematics for any XMOS development board which show how it's done, e.g.:

https://www.xmos.com/support/boards?pro ... nent=18627

Hope this helps,

Matthew.
XMOS

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Thu Dec 15, 2016 11:42 am
by asid61
matthew1 wrote:Hi asid61,

I presume you're referring to programming the integrated flash? If this is small volume prototyping then you will need to programme using the XMOS tools, specifically the xflash utility, via the XTAG. Please refer to section 11 and section G of the chip datasheet for information on how the JTAG signals are wired up, you could also take a look at the schematics for any XMOS development board which show how it's done, e.g.:

https://www.xmos.com/support/boards?pro ... nent=18627

Hope this helps,

Matthew.
XMOS
Sounds good, thank you! I never thought to look at the schematics for the dev board for some reason...

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Thu Dec 15, 2016 11:41 pm
by asid61
If I want to do volume programming or want to run programs from a computer, what are the best methods for doing so? Do I need any ROM memory if I'm just running programs from the computer?

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Mon Dec 19, 2016 12:32 pm
by matthew1
If you are running programs from your computer (i.e. attached via an XTAG), then use the xrun command. If you want the board to run your code immediately when powered up (i.e. not attached to a computer) then you'll need to programme the binary into the flash. You could take a look at this for starters:

https://www.xmos.com/download/private/X ... 3274B).pdf

Regards,

Matthew.

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Wed May 10, 2017 4:42 pm
by anhn@nytec.com
hello, the link to the pdf is not accessible. I tried the link and login and I get an "access restricted" notice. can you provide the pdf to me at anhn@nytec.com. thank you.

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Fri May 12, 2017 10:31 am
by matthew1
Hi,

it looks like the link got mangled, not sure how. Try manually entering:

https://www.xmos.com followed by /download/private/XFLASH-Command-Line-Manual(X3274B).pdf

I wonder if splitting up the URL will stop the forum software doing weird stuff to the link.

Regards,

Matthew.
XMOS

Re: Programming XUF208-128-TQ64-C10 chip

Posted: Fri May 12, 2017 3:14 pm
by Bianco
matthew1 wrote:Hi,

it looks like the link got mangled, not sure how.

Matthew.
XMOS
I fixed the URL for you using

Code: Select all

[url]http://....[/url]