5.2 Check Status Byte

In this method the bootloader and the host application will communicate program status through a reset byte value, also known as a State Flag or Status Byte.

Overview

In the Check Reset Byte verification method, also known as a Check State Flag verification method, the bootloader will verify that the application image space was programmed successfully by checking for a pre-configured byte value at a pre-configured memory location that both the host and the bootloader have access to. This does not check the validity of the application image, it only checks to see if the bootloader populated the application image into the program memory and set the state flag value to the predefined "valid application" byte value.

Verification Flow

In Check Reset Byte verification, a very similar program flow to the flow discussed in Check Reset Vector verification is followed with a few small changes. The main difference is that instead of checking the reset vector for “non-blank” data, one specific byte in the reset vector will be checked for a value that either indicates “valid application” or “bootloader needed”. These status value are known by both the bootloader and the host application to communicate the end application’s state across the entire ecosystem. This method is also unable to perform integrity or authenticity checks and simply checks for a successful programming step.