Force xflash to write mismatched image?

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
Hooligan
Member++
Posts: 16
Joined: Mon May 02, 2011 12:39 pm

Force xflash to write mismatched image?

Post by Hooligan »

I have a master/slave board pair with L2 devices on each board. Both are
in the same power domain and the slave is configured to boot from the
link. Each board has a separate jtag connection. I would like to flash an
image which includes all four cores but xflash complains that the architecture
doesn't match the flash image. I'm guessing this is because the jtag chain
only shows the master L2.

Does anyone have an idea of how to force xflash to write the image ignoring
the jtag configuration?


User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm
Contact:

Post by Bianco »

You could try to write it to a factory image file and then write the image file to the flash.
User avatar
Hooligan
Member++
Posts: 16
Joined: Mon May 02, 2011 12:39 pm

Post by Hooligan »

Bianco wrote:You could try to write it to a factory image file and then write the image file to the flash.
Sorry for the delay. One thing drives out another.

Thanks Bianco, that was my first thought. I have the binary image generated with this command line:

Code: Select all

xflash --noinq --boot-partition-size 16384 --factory test.xe -o /tmp/test.bin
I'm working on a program to put the raw binary into the flash using libflash. I can't see a way to get xflash to do it directly.
Post Reply