Using XFLASH from XDE

Technical questions regarding the XTC tools and programming with XMOS.
Redeye
XCore Addict
Posts: 131
Joined: Wed Aug 03, 2011 9:13 am

Using XFLASH from XDE

Post by Redeye »

I'm doing some experiments with using the bootloader with factory/upgrade images and using XFLASH from the command line it all seems to be working fine.

What I'd like to do is create a run configuration to be able to create my upgrade images from XDE, but I'm having a bit of trouble and I can't find any documentation on creating flash images from XDE like this. What I'm trying to reproduce is :

xflash --upgrade 1 file.xe -o upgrade_file_v1.bin

If I create a "Flash Programmer" run configuration with "Output to file" checked with a filename added, then add "--upgrade 1" in the "Other XFlash options" bit then I get :

Error: F03019 Unrecognised option "--upgrade 1".

Can anyone shed any light on what I'm doing wrong?