This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652R: ROM bootloader checking for image valid

Part Number: CC2652R
Other Parts Discussed in Thread: CC2538

Hi,

Does the ROM bootloader run some kind of CRC check to check the integrity of the firmware image in flash before entering the application?

I'm concerned that the flash could become corrupted by a hardware issue (e.g. supply voltage problem or something similar).

In that case, I would like the chip to enter the ROM bootloader, so a new firmware image can be downloaded.

According to the diagram, it checks the "image valid" field, but that field contains the starting address of the flash image vector table. 

I would like to know if the bootloader checks if the image in flash is valid before jumping to the ID_IMAGE_VALID address.

Thank you,

Emmanuel

  • Hi Emmanuel,

    The calculateCrc32/CMD_CRC32 SBL Function is supported for all CC2538/CC26x0/CC26x2 devices for the purpose of verifying that the firmware was successfully programmed into the Flash memory.  You can refer to Section 4.3.6 of SWRA466 for more information.  Once the firmware has been written and verified by the bootloader, it will not jump to the application until a CMD_RESET is applied.

    Regards,
    Ryan