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

ModusToolbox™ General Forum Discussions

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Dear Sirs and Madams,

 

We have a question about the checksum of the HEX file generated by Modus Toolbox.

Does "03B1" in the HEX file below correspond to the checksum?

Also, is this checksum little endian like ARM Cortex in general?

MaMi_1205306_0-1658206579252.png

We confirmed for help menu of ModusToolbox and user guide (002-29893) but did not hit "checksum".

Please let us know if you have any documents that explain the checksum.

 

Regards,

0 Likes
1 Solution
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306 :

There is no entire HEX file checksum in MTB HEX file.

Best Regards,

Colin

View solution in original post

4 Replies
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306 :

I think you can refer to intel HEX file format to analyze it.

Each row has one byte checksum.

Attachment is the description of Intel Hex file format, please check it.

Best Regard,

Colin

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Colin-san,

 

 I'm sorry for my question was wrong.

 

The PSoC programmer had the ability to check the checksum of the entire HEX file.

However, the Cypress Programmer does not have a GUI checksum item.

Does Modus Toolbox or Cypress Programmer not have the concept of an entire HEX file checksum like the PSoC Programmer?

 

Regards,

 

0 Likes
Qi_Colin
Moderator
Moderator 10 likes received 50 replies posted 10 solutions authored
Moderator

Hi @MaMi_1205306 :

There is no entire HEX file checksum in MTB HEX file.

Best Regards,

Colin

MaMi_1205306
Level 6
50 solutions authored 25 likes received 250 sign-ins
Level 6

Colin-san,

 

Thank you for your answer.

I understood that Modus Toolbox should consider other methods because checksums are generally used for version control of HEX files generated by projects.

 

Regards,

0 Likes