Board contains mysterious microcontroller from XMOS. This board is not available in our lab, however few of us have it. In case you want to experiment with this board, you can try to ask us.
If you have discovered anything useful about programming tile[0] (or any other undocumented feature of startKIT) just add it to this page or contact Fosfor. (Also any English corrections are welcomed )
Basically there are (should be) two ways of uploading your own code into tile[0] - by the bootloader burned into OTP of tile[0] or by the JTAG connected to TP1 board-edge connector. The first one is working for us, the second don't.
xobjdump
with option -s –strip
. (My binary to use is named image_n0c0_2.bin.)XMOS_XTAG2_PID
from 0xf7d1 (for XTAG2) to 0xf7d3 (for StartKIT). You will also need this USB binaries.run_dynamic_xe
to read your binary instead of int burnData[]
from header file. This can be achieved by converting your bin file into array of ints or (better) by learning run_dynamic_xe
to read it from file.run_dynamic_xe
. DO NOT run any other XMOS tool before loading your binary.run_dynamic_xe
automatically soft-reset USB after your binary is loaded, so you do not need to unplug it from your PC. When you unplug USB cable from PC, startKIT will loose its power and it will forget your code. On next reconnect the bootloader will be again active presenting itself as „XMOS startKIT“. So it seems to be unbreakable STARTKIT.xn
and XS1-U16A-128-FB217-C10.xn
.(This should work, but it doesn't. We are able to identify two L tiles on the JTAG, we are able to query its actual PC/stack/registers state, but we are unable to run any application by this method.)
xTAG-2 XSYS | startKIT TP1 | ||
---|---|---|---|
pin | description | pin | description |
1 | 5V power | 5 | 5V power |
3 | JTAG Test Reset - Active Low | M | MSEL (MODE[2], MODE[3]) |
5 | JTAG Test Data (to target) | I | TDI |
7 | JTAG Test Mode Select | S | TMS |
9 | JTAG Test Clock | K | TCK |
11 | Debug | D | DEBUG_N |
13 | JTAG Test Data (from target) | O | TDO |
15 | System Reset - Active Low. | R | RST_N |
20 | Ground | G | Ground |