Tag: XMOS startKIT

XMOS startKIT running on Crunchbang
20/12/2013
Wanted to look at xTimecomposer and the XMOS startKit so I dived into crunchbang again.
You need to do the following first:
Create a file “/etc/udev/rules.d/99-xmos.rules” with the following contents:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
SUBSYSTEM!="usb|usb_device", GOTO="xmos_rules_end" ACTION!="add", GOTO="xmos_rules_end" # 20b1:f7d1 for xmos xtag2 ATTRS{idVendor}=="20b1", ATTRS{idProduct}=="f7d1", MODE="0666", SYMLINK+="xtag2-%n" # 20b1:f7d3 for xmos startkit ATTRS{idVendor}=="20b1", ATTRS{idProduct}=="f7d3", MODE="0666", SYMLINK+="startkit-%n" # 0403:6010 for XC-1 with FTDI dual-uart chip ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", SYMLINK+="xc1-%n" LABEL="xmos_rules_end" |
Note: The ATTRS, MODE and SYMLINK stanzas must be all on one line, as each rule can only be on one line.
Now tell udev to reload to ensure the new rules file is added:
1 |
service udev reload |
It is also necessary to unplug and re-plug the USB cable to allow udev to recognise the device with the new rules. Alternatively trigger a re-plug in udev with either the “udevadm trigger” or “udevtrigger” command, depending on the version of udev in your Linux distribution.
Copied from: http://www.xcore.com/questions/1973/how-enable-usb-drivers-linux-development-tools
Anyway,
Te code examples are nice for now. It just shows you enough to want more.
Share the post "XMOS startKIT running on Crunchbang"

XMOS startKIT build error 1073741790
20/12/2013
Got this XMOS startKIT. Now it looks like you can do some nice things with it. It comes with xTime Composer 13.0.1 (installed on Windows 8.1 64bit) but whenever I try to build an example project I get this error:
1 2 3 4 5 |
**** Build of configuration Default for project app_spinning_bar **** xmake all Creating dependencies for main.xc xmake: *** [bin//app_spinning_bar.xe] Error -1073741790 |
Posted it on the xmos forum but who know someone will read it here and knows how I can fix this.
Update: 21-12-2013
Found out the problem.. Google is your friend and showed me an Avast page: Source
Error code 0xC0000022. (-1073741790) is given when user system files are tried to move to the Virus Chest
So so tried to put the XMOS install folder to the exclude items (bitdefender) and now I can build, debug and flash it to the startKIt.
Share the post "XMOS startKIT build error 1073741790"