xflash verify bin

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
MyKeys
Member++
Posts: 30
Joined: Mon Jul 03, 2017 9:41 am

xflash verify bin

Postby MyKeys » Wed Apr 07, 2021 11:19 am

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
Respected Member
Posts: 510
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Wed Apr 07, 2021 6:21 pm

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.

Who is online

Users browsing this forum: No registered users and 0 guests