Posts

Showing posts from March, 2026

Inspecting Uniden BC-246T firmware

Image
run BearMock to get decoded Motorola S-record format file https://techcoderadio.blogspot.com/2025/04/bearmock-for-python-3.html CPU is probably M16C/60N Ghidra:    

Inspecting Uniden BC796D firmware

Image
run BearMock to get decoded Motorola S-record format file https://techcoderadio.blogspot.com/2025/04/bearmock-for-python-3.html CPU is probably M16C/60N Ghidra:    

Inspecting AOR AR5700D firmware updater

Image
AR5700Updater.exe Detect It Easy   Lots of Motorola s-record inside exe. Too many strings for the Detect It Easy Strings feature. Linux strings cmd works. strings AR5700Updater.exe | grep -E "S[0-9]+" > AR5700.txt remove non S-record format lines in head and tail and in the middle (find with e.g. srec_info tool). srec_info:  Termination records (S9) should be last => use e.g Python to get data blocks into several files. n = 1 print("start") s = "" f = open("ar5700.txt", "r") lines = f.readlines() for line in lines:     s = s + line     if line[:2] == "S9":         with open("ar5700-" + str(n) + ".txt", "w") as w:             w.writelines(s)         print("ar5700-" + str(n) + ".txt")         n = n + 1         s = "" f.close() print("end")   => 10 files of S-Records Some maybe DSP code and four which are highly probable SuperH SH-2 code ...