Entire application CRC in PSoC5 bootloader

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

cross mob
michaelym
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

From what I'm able to understand the "Bootloader application validation" option checks an 8bit checksum. This is not enough for my application since I need a proper CRC. The problem is that with an error in the flash there is a 1/256 chance of not detecting the error.

Is there a way to change this to a CRC16?

If there isn't a built-in option is there an example or application note explaining how to do this?

Basically, I would need to insert a CRC into the metadata as a linker step and then replace the "checksum check" in the bootloader with a CRC.

0 Likes
2 Replies