xfash won't create output file without xtag

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
boeserbaer
Active Member
Posts: 51
Joined: Fri Jan 29, 2010 4:36 pm

xfash won't create output file without xtag

Post by boeserbaer »

bash-3.2$ xflash -o upgradeR19.image --upgrade 1 latest-release.xe
xrun: No available devices
Error: F03034 Failed to fully run flash inquisitor.

from xflash --help:
Programming Options:
-o <file> Place output <file> (disables programming)

I would have expected xflash -o to create the output file without looking for a target over JTAG.
As my project now updates over the serial port, this is an inconvenience. I can live with it, but the behavior is incorrect. This happens on both windows XP and OSX. Am I doing something wrong, is there a way to create the flash image without having the JTAG connected up?

Regards Mike


m_y
Experienced Member
Posts: 69
Joined: Mon May 17, 2010 10:19 am

Post by m_y »

You should give the option "--noinq" to xflash. This will stop it trying to contact a real device. Some warnings will likely be issued regarding information it is unable to discover.
User avatar
boeserbaer
Active Member
Posts: 51
Joined: Fri Jan 29, 2010 4:36 pm

Post by boeserbaer »

OK thanks:

xflash --upgrade 1 latest-release.xe -o upgradeR19.image --noinq
Warning: F03070 No sector information available; cannot check image alignment.

works. I performed a binary compare, of the --noinq vs having the xtag attached, and there was no difference.