Open utterances-bot opened 2 years ago
:020000041FFF
Just in case someone needs it, in VBA:
Function IntelHexChecksum(MyData As String)
Dim checksum As Integer
checksum = 0
For a = 1 To Len(MyData) Step 2
checksum = checksum + CDec("&H" & Mid(MyData, a, 2))
Next
checksum = ((checksum Xor 255) + 1) And 255
IntelHexChecksum = Right(("00" & Hex(checksum)), 2)
End Function
The URL of the KEIL documentation has changed. Did you mean this page?
Calculate Intel HEX file checksum using Windows Calculator | A Mutable Log
A Mutable Log : A Mutable Log
https://tewarid.github.io/2013/08/01/calculate-intel-hex-file-checksum-using-windows-calculator.html