Dialog Semiconductor customer support - CRC https://support.dialog-semiconductor.com/resource-keywords/crc en What happens if CRC Checksum is failed in Secondary Bootloader ? https://support.dialog-semiconductor.com/what-happens-if-crc-checksum-failed-secondary-bootloader

Hi,

The secondary bootloader's booting sequence is as follows, (from page 12 on UM-B-012's manual http://support.dialog-semiconductor.com/download/file/fid/949 )

Read the contents of the two image header to find the valid image with the highest imageid and load it into System RAM.
Calculate the CRC32 checksum of the code data and verify that it matches the value of the CRC header field.

Let's assume,
The image1 's imageid is higher than image2's, and the image1's data is corrupted then CRC will be not matched but the image2's CRC is correct.

Question.
The secondary bootloader try loading image 1 and then CRC check results fail.
If then, what will be happened the next?
I guess,
1. secondary bootlaoder automatically try loading the image2 even though the images2's imageid is lower than that of image1.
<- Is this right?
OR
2. secondary bootloader just fail and the DA14580 can not boot.
<- Is this right?

Device: 
Mon, 07 Sep 2015 06:27:13 +0000 igotit 1981 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/what-happens-if-crc-checksum-failed-secondary-bootloader#comments