Hi all,
Anyone tried getting check8 to write the checksum into the bin file?
The command prompt reports the correct crc but the wrong value is written into the file??
Example 1
Bin file is: 0x00 0x20 0x30 0x40 check8 file /s0x1 /p0x0
returns the correct value of 0x90 but writes 0x70 to the first location....
Bin file is: 0x00 0xA0 0xB0 0xC0 check8 file /s0x1 /p0x0
returns the correct value of 0x10 but writes 0xF0 to the first location....
WTF!?
Your right!
Thanks for explaining it.
Try to add the printed value and the written value and see what you get.
I think you will find that it writes a value such that the checksum (including the written value) will always be zero.
View all questions in Keil forum