Page 1 of 1

fl_getNextBootImage

Posted: Tue Jun 12, 2018 9:03 pm
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

Re: fl_getNextBootImage

Posted: Tue Jun 12, 2018 9:14 pm
by mon2
Is the source code for libflash available
http://www.xcore.com/viewtopic.php?t=1683

Re: fl_getNextBootImage

Posted: Tue Jun 12, 2018 9:24 pm
by aelder
Thanks.

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