fl_getNextBootImage

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
aelder
Active Member
Posts: 33
Joined: Mon Sep 24, 2012 1:45 pm

fl_getNextBootImage

Postby aelder » Tue Jun 12, 2018 9:03 pm

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: 1255
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Tue Jun 12, 2018 9:14 pm

Is the source code for libflash available


viewtopic.php?t=1683
aelder
Active Member
Posts: 33
Joined: Mon Sep 24, 2012 1:45 pm

Postby aelder » Tue Jun 12, 2018 9:24 pm

Thanks.

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

Who is online

Users browsing this forum: No registered users and 33 guests