Modus Toolcox : Check SUM of HEX file

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @MiNe_85951 :

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

Best Regards,

Colin

View solution in original post

4 Replies
lock attach
Attachments are accessible only for community members.
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @MiNe_85951 :

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

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @MiNe_85951 :

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

Best Regards,

Colin

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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