Products > Test Equipment

TH2830 vs TH2832

<< < (15/74) > >>

KungFuJosh:

--- Quote from: tv84 on June 29, 2023, 09:18:42 pm ---Attached is the FW with A0 and C0 bytes swapped, as requested.

--- End quote ---

Are those swapped in the hex file, or did you decompile / recompile?

On a quick search A0 (41 30) appears in both hex files exactly 12 times. C0 (43 30) appears in 2830 two times, and in 2832 seven times.

tv84:

--- Quote from: KungFuJosh on June 30, 2023, 06:18:29 pm ---
--- Quote from: tv84 on June 29, 2023, 09:18:42 pm ---Attached is the FW with A0 and C0 bytes swapped, as requested.

--- End quote ---

Are those swapped in the hex file, or did you decompile / recompile?

On a quick search A0 (41 30) appears in both hex files exactly 12 times. C0 (43 30) appears in 2830 two times, and in 2832 seven times.

--- End quote ---

Do a binary comparison between the files and you'll understand what I did. I just swapped the ones involved in that call-graph shown. Just as a proof-of-concept with no deep analysis behind.

KungFuJosh:

--- Quote from: tv84 on June 30, 2023, 09:16:13 pm ---Do a binary comparison between the files and you'll understand what I did. I just swapped the ones involved in that call-graph shown. Just as a proof-of-concept with no deep analysis behind.

--- End quote ---

I did a binary comparison in a hex editor (WinMerge), and the files are significantly different. Attached is a partial comparison of the patched fw and the stock fw (left side is stock, right side is patched).

Am I supposed to compare them a different way?

tv84:
Sorry, Josh.   :-[

I messed up big!  |O |O  That's what results when doing things in a hurry.

This is the correct patched file (with A0 and C0 swapped). Try this one.

Edit: This file had incorrect checksums. See my following messages where I share this file with correct checksums.

KungFuJosh:

--- Quote from: tv84 on June 30, 2023, 09:45:02 pm ---Sorry, Josh.   :-[

I messed up big!  |O |O  That's what results when doing things in a hurry.

This is the correct patched file (with A0 and C0 swapped). Try this one.

--- End quote ---

No worries my friend, I always appreciate your help!

However, are you sure that's the right file? It appears to be identical to the ST2832 stock file? I mapped the location of those references, and they are still the same:

2830 A0 (41 30) Appears:
000010
005ba0
010590
03b570
03b5f0
04e6c0
0525a0
0579c0
0ecd20
187850
1a3640
1bdba0

2830 C0 (43 30) Appears:
082170
19b270

2832 A0 (41 30) Appears:
000010
0058e0
00fb00
03af50
03afc0
04dc00
056b80
0779f0
0ec4f0
187030
1a2e10
1bd370

2832 C0 (43 30) Appears:
003fc0
0058f0
0075c0
007700
081940
175c70
19aa40

Edit: okay, something is different, the update failed instead of finishing and saying wrong firmware. The A0s were all the same, I'll check the C0s. Edit again: C0 also at the same lines. I didn't see anything different otherwise, so I don't know why it failed. 🤷

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod