Boot Time Program. Run on power on.

All technical discussions and projects around startKIT
New User
Posts: 2
Joined: Wed Feb 10, 2016 10:49 pm

Boot Time Program. Run on power on.

Post 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.

User avatar
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm

Post by ers35 »

Load an xe binary into the startKIT's on board flash memory with the xflash button in xTIMEcomposer:
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.
You do not have the required permissions to view the files attached to this post.
User avatar
XCore Legend
Posts: 1912
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 » ... 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: