How to build a flash image with bootloader and xb binary fil

If you have a simple question and just want an answer.
User avatar
breakersun
Junior Member
Posts: 6
Joined: Thu Mar 27, 2014 2:53 pm

How to build a flash image with bootloader and xb binary fil

Post by breakersun »

Dears,

Now I have a project witch contains one bootloader and serveral xb binary,

How to build a flash image with beside files with command line?

 

B.R.

Leo



User avatar
Ross
XCore Expert
Posts: 968
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

You can use the --upgrade option to xflash to flash multiple XE files.  E.g. 

xflash factory.xe --loader loader.o --upgrade 1 upgrade1.xe --upgrade 2 upgrade2.xe
 
Previously I have use my own script to merge XB files (e.g. for a DFU image) as I do not believe the -o option will do the concatenation for you..