xflash verify bin

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
MyKeys
Active Member
Posts: 33
Joined: Mon Jul 03, 2017 9:41 am

xflash verify bin

Post by MyKeys »

Anyone use an xTag for production programming?

Using xflash to program an .xe file seems to go through several steps and can take some time.

Creating a bin output file first can save time when programming multiple devices, but I don't see how to perform the verification that happens when using the xe file.

Is the verify possible?

Generate bin:
xflash --factory build.xe --noinq -o factory.bin

Write bin:
xflash --target-file board.xn --write-all factory.bin

Thanks,
Mike.


User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

If the device boots then the firmware image CRC-32 check is OK, so long as you didn't disable the CRC check when you built the image. I suppose that's not 100% certain you've got no errors in the flash image, but it's pretty darn close.
Post Reply