- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I've been using the example project AN86526 to learn how to push a bootloadable from a host to my psoc. I've come across an issue with the checksums: regardless of whether I choose standard summation or crc-16 for the bootloader the cyacd file only has the standard summation checksum at the end of each line. I would like to employ the crc-16 check instead, is there a setting I'm missing?
Thanks
-Andrew
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can choose the option Packet checksum type in bootloader Component-
This parameter has a couple of options for the type of checksum to use when transferring packets of data between the host and the bootloader. The default value is Basic summation.
The basic summation checksum is computed by adding all the bytes (excluding the checksum) and then taking the 2’s complement. The other option is CRC-16CCITT ‒ the 16 bit CRC using the CCITT algorithm.
In this KBA-
It is mentioned that
The header record specifies the device revision and has the following format:
[4-byte SiliconID][1-byte SiliconRev][1-byte Checksum Type]
1 byte Checksum will indicate the Checksum type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can choose the option Packet checksum type in bootloader Component-
This parameter has a couple of options for the type of checksum to use when transferring packets of data between the host and the bootloader. The default value is Basic summation.
The basic summation checksum is computed by adding all the bytes (excluding the checksum) and then taking the 2’s complement. The other option is CRC-16CCITT ‒ the 16 bit CRC using the CCITT algorithm.
In this KBA-
It is mentioned that
The header record specifies the device revision and has the following format:
[4-byte SiliconID][1-byte SiliconRev][1-byte Checksum Type]
1 byte Checksum will indicate the Checksum type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks ANKS, that's what I assumed was happening.