I am getting error "Hex File parsing failure. Checksum of Main Flash does not match Hex Checksum record"

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

cross mob
ErieApps
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi, i am trying to modify a Soc in which the original company shut down. It is a vital part of several industries and would be great if we could get it going again. The great thing is all that needs modified is a static string stored in memory. I have found and located this string and updated it accordingly. At the end of the line I made sure to update the CRC. However I am having issues now with getting the entire files CRC correct. I have tried using the Hex Workshop CRC calculator but i keep getting the error of "Hex File parsing failure. Checksum of Main Flash does not match Hex Checksum record". I would love some help here. Thank you so much!

0 Likes
1 Solution
Sidramesh_S
Moderator
Moderator
Moderator
250 sign-ins 100 replies posted 25 solutions authored

Hi @ErieApps ,

The issue is similar to the following thread, kindly refer to it : https://community.infineon.com/t5/PSoC-4/Hex-checksum/td-p/276461

Warm regards

Sidramesh

View solution in original post

0 Likes
2 Replies
wisc_ece353
Level 3
Level 3
10 replies posted First question asked 10 sign-ins

From what I understand, you are trying to modify the hex file of a PSoC 4 device without rebuilding the project. The procedure to calculate the checksum of the hex file/modify the hex file is proprietary and I do not think Infineon supports that.

0 Likes
Sidramesh_S
Moderator
Moderator
Moderator
250 sign-ins 100 replies posted 25 solutions authored

Hi @ErieApps ,

The issue is similar to the following thread, kindly refer to it : https://community.infineon.com/t5/PSoC-4/Hex-checksum/td-p/276461

Warm regards

Sidramesh

0 Likes