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.
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?
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?
Programming XUF208-128-TQ64-C10 chip
-
- Active Member
- Posts: 36
- Joined: Sat May 31, 2014 6:39 am
-
- Active Member
- Posts: 48
- Joined: Mon Oct 19, 2015 2:12 pm
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
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
-
- Active Member
- Posts: 36
- Joined: Sat May 31, 2014 6:39 am
Sounds good, thank you! I never thought to look at the schematics for the dev board for some reason...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
-
- Active Member
- Posts: 36
- Joined: Sat May 31, 2014 6:39 am
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?
-
- Active Member
- Posts: 48
- Joined: Mon Oct 19, 2015 2:12 pm
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.
https://www.xmos.com/download/private/X ... 3274B).pdf
Regards,
Matthew.
-
- Member
- Posts: 14
- Joined: Thu Apr 13, 2017 4:50 pm
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.
-
- Active Member
- Posts: 48
- Joined: Mon Oct 19, 2015 2:12 pm
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
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
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
I fixed the URL for you usingmatthew1 wrote:Hi,
it looks like the link got mangled, not sure how.
Matthew.
XMOS
Code: Select all
[url]http://....[/url]