What checksum is stored in .cymeta?

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

cross mob
dafe_3707916
Level 1
Level 1
First like given

Hi there,

Anybody from cypress could clarify what kind of checksum is stored in ".cymeta" section by cyelftool, and what does it checksum?

It seems to change the third dowrd, the one at 0x90500008, from 0 to some 32bit number.

Regards

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

The metadata section contains data that is not programmed into the target device. Instead, it is used to check data integrity of the hex file and the silicon ID of the target device. PSoC Programmer uses each of these bytes and analyses if the hex file is corrupted. The methodology used by PSoC Creator is confidential.

Regards,

Dheeraj

View solution in original post

0 Likes
3 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

The metadata section contains data that is not programmed into the target device. Instead, it is used to check data integrity of the hex file and the silicon ID of the target device. PSoC Programmer uses each of these bytes and analyses if the hex file is corrupted. The methodology used by PSoC Creator is confidential.

Regards,

Dheeraj

0 Likes

So, if you cannot tell me how to calculate that checksum, could you tell me a way to skip that check by the programmer?

0 Likes

No, there is no such option available. The extra metadata added by PSoC Creator is required by PSoC Programmer to check it is programming the right target device. This meta data isn't programmed onto the target device.

If you are generating the hex file using some other tool than PSoC Creator, then you need to upload the program using the third party tool itself, it will work. You only need to make sure it follows the Intel Hex Format: Page 45 Appendix B (Link: http://www.cypress.com/file/409516/download )

Regards,

Dheeraj

0 Likes