Bootloadable Application Checksum

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Good afternoon (o;

According to the "Bootloader and bootloadable datasheet" the application checksum is defined as:

"The basic summation checksum is computed by adding all the bytes (excluding the checksum) and then taking the 2’s complement ."

So for the SCB_Uart example it writes in the checksum field the byte 0x60...

But when I walk through the hex file and sum up all bytes I get "0x8F"...

Does "excluding the checksum" mean it includes the other meta fields at address 0x7FC0 as well like application length and so on?

0 Likes
1 Solution

Bootloader datasheet says

Bootloadable Application Checksum:

This is the basic summation checksum that is computed by adding all the bytes of the bootloadable application image (excluding the metadata section)

Bob

View solution in original post

0 Likes
7 Replies