Page 1 of 1

Boot Time Program. Run on power on.

Posted: Wed May 11, 2016 6:14 pm
by jfrankl8
I am trying to figure out a way to load an xmos c .xe executable (or the related binary) into the startKIT's on board memory such that the executable program will run as the device is powered on without the overhead of running it through the xTIME Composer Studio. This should be possible, and simple, but I can not seem to find a decent tutorial on how to do this. Links, tips, advice would all be greatly appreciated.

Re: Boot Time Program. Run on power on.

Posted: Wed May 11, 2016 7:09 pm
by ers35
Load an xe binary into the startKIT's on board flash memory with the xflash button in xTIMEcomposer:
Screenshot_2016-05-11_13-59-28.png
This uses the xflash command line tool like so:

Code: Select all

xflash binary.xe
After flashing the program runs the next time the device is powered on without requiring the xTAG or xTIMEcomposer.

Re: Boot Time Program. Run on power on.

Posted: Wed May 11, 2016 7:17 pm
by mon2
https://www.element14.com/community/gro ... e-programs

Code: Select all

Programming the FLASH

To permanently store the program in FLASH, select Run->Flash Configurations. In the window that appears, double-click on xCORE Application as shown here: