Boot Time Program. Run on power on.

All technical discussions and projects around startKIT
Post Reply
jfrankl8
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
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm
Contact:

Post 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
xflash button
Screenshot_2016-05-11_13-59-28.png (5.66 KiB) Viewed 5134 times
xflash button
xflash button
Screenshot_2016-05-11_13-59-28.png (5.66 KiB) Viewed 5134 times
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.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post 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:
Post Reply