fl_getNextBootImage

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
aelder
Active Member
Posts: 37
Joined: Mon Sep 24, 2012 1:45 pm

fl_getNextBootImage

Post by aelder »

I've read the docs for fl_getNextBootImage()
fl_getNextBootImage provides information about the next upgrade image. Once
located, an image can be upgraded. Functions are also provided for reading the
contents of an upgrade image.
Are there checks whether or not the next boot image is corrupt, or not? Our testing seems to indicate there is a "CRC" type check on the image, but that is not documented.

If an update image is corrupt due to the previous update failing for some unknown reason, what sequence of libflash calls should be performed to locate the corrupt image and erase it?

Is the source code for libflash available - that might answer many the questions I have here.....

Thanks,
Andrew


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Post by mon2 »

Is the source code for libflash available
http://www.xcore.com/viewtopic.php?t=1683
aelder
Active Member
Posts: 37
Joined: Mon Sep 24, 2012 1:45 pm

Post by aelder »

Thanks.

Non broken link https://github.com/xcore/sc_flash
Post Reply