Boot Time Program. Run on power on.

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

Boot Time Program. Run on power on.

Postby jfrankl8 » Wed May 11, 2016 6:14 pm

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

Postby ers35 » Wed May 11, 2016 7:09 pm

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.
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1847
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Wed May 11, 2016 7:17 pm

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:

Who is online

Users browsing this forum: No registered users and 0 guests