cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

michaelym
New Contributor

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
Alakananda_BG
Moderator
Moderator
0 Likes
michaelym
New Contributor

Thanks for your reply,

What you are referring to is the validation of communication packets during programing.

I apologize I wrote "Bootloader application validation" instead of "bootloadable application validation"

I am talking about the entire application checksum that is checked on every reset of the device.

The "bootloadable application validation" uses an 8bit checksum and I need something more robust.

 

0 Likes