Pages: [1]
Author Topic: M3.2-M3.8-M5.4-M5.9-Binary-to-asm-Project  (Read 3629 times)
ecuprog7
Full Member
***

Karma: +9/-0
Offline Offline

Posts: 78


« on: February 24, 2026, 07:20:22 AM »

Hi
I´ve done some more work on the old 87C196KR. I made a parser to generate asm files from a binary of the M3.2, M3.8, M5.4, M5.9.
Project is with sybmols to Jumps and Calls so just make changes and hit compile, rl96 and compiler script will do the magic for segment references.
Segment Jumps are detected but backjumps can be wrong. Data parsing is not done by now.
Checksums are also not done. Any information about checksum calculation on these old ecus would be nice.
https://github.com/EcuProg7/M3.2-M3.8-M5.4-M5.9-Binary-to-asm-Project
« Last Edit: February 24, 2026, 07:26:36 AM by ecuprog7 » Logged
_nameless
Hero Member
*****

Karma: +373/-3439
Offline Offline

Posts: 2989



« Reply #1 on: February 25, 2026, 08:25:20 PM »

Forked
https://github.com/ugtuner05-sys/UGT-MOTRONIC-DISASSEMBLER/releases/tag/UGT
Logged

If you are broke or expecting free handouts DO NOT message me. I'll probably put you on blast if you do.
eliotroyano
Hero Member
*****

Karma: +48/-12
Offline Offline

Posts: 837


« Reply #2 on: March 18, 2026, 11:32:20 AM »

Hi. Nice to see some work/projects with that old Motronics.....
Logged
overspeed
Sr. Member
****

Karma: +21/-5
Offline Offline

Posts: 403



« Reply #3 on: March 18, 2026, 12:02:05 PM »

Would be REALLY nice if someone could make it speed density instead of MAF based.

it´s a  pain in the ass to find original MAF sensor nowdays
Logged
error1997
Newbie
*

Karma: +3/-0
Online Online

Posts: 23


« Reply #4 on: March 18, 2026, 12:05:25 PM »

Would be REALLY nice if someone could make it speed density instead of MAF based.

it´s a  pain in the ass to find original MAF sensor nowdays
I just put one HFM5, calibrate it, fine tune with 2-3 files and its done.
Logged
eliotroyano
Hero Member
*****

Karma: +48/-12
Offline Offline

Posts: 837


« Reply #5 on: March 18, 2026, 12:10:47 PM »

Would be REALLY nice if someone could make it speed density instead of MAF based.
it´s a  pain in the ass to find original MAF sensor nowdays

Hi Junior, maybe I am dreaming but add wideband O2 support to that speed density idea and you have a nice, simple and robust ECU that could control big projects too.
Logged
overspeed
Sr. Member
****

Karma: +21/-5
Offline Offline

Posts: 403



« Reply #6 on: March 18, 2026, 12:23:59 PM »

I just put one HFM5, calibrate it, fine tune with 2-3 files and its done.

Did it sometimes in the past, but even those MAF are getting difficult do find, and cost are rising in my country

Hi Junior, maybe I am dreaming but add wideband O2 support to that speed density idea and you have a nice, simple and robust ECU that could control big projects too.

Don´t think there is the necessary HW on those to run a Wideband sensor
Logged
eliotroyano
Hero Member
*****

Karma: +48/-12
Offline Offline

Posts: 837


« Reply #7 on: March 18, 2026, 12:28:01 PM »

Did it sometimes in the past, but even those MAF are getting difficult do find, and cost are rising in my country
Don´t think there is the necessary HW on those to run a Wideband sensor

5V signal from a WB controller going into some ECU input.
Logged
marantzvieta
Full Member
***

Karma: +3/-1
Offline Offline

Posts: 91


« Reply #8 on: April 23, 2026, 06:53:03 AM »

Hi
I´ve done some more work on the old 87C196KR. I made a parser to generate asm files from a binary of the M3.2, M3.8, M5.4, M5.9.
Project is with sybmols to Jumps and Calls so just make changes and hit compile, rl96 and compiler script will do the magic for segment references.
Segment Jumps are detected but backjumps can be wrong. Data parsing is not done by now.
Checksums are also not done. Any information about checksum calculation on these old ecus would be nice.
https://github.com/EcuProg7/M3.2-M3.8-M5.4-M5.9-Binary-to-asm-Project

Hi agian mate, I just got hold of a flash emulator to use with these ECUs as well as ME7s, as I have been tuning big turbos lately and it speeds up the process a ton.

I haven't had the time to dig into your work, like the Minimon Core you built previously, but if I can contribute testing with the emulator and catch up from there to help you develop, please let me know. I've been looking forward to develop more for the M3.8 platform.

Congrats on your work! Best regards.
« Last Edit: April 23, 2026, 07:26:22 AM by marantzvieta » Logged
marantzvieta
Full Member
***

Karma: +3/-1
Offline Offline

Posts: 91


« Reply #9 on: April 23, 2026, 02:46:24 PM »

I have observed that, at least UGT's dissassembly tool does not analyze correctly the checksums for M3.8 bins.

I have no idea why but does not work with M3.8.2 nor M3.8.3 with good known files.

Could this be improved by disassemblying the WinOls checksum dll? (Which I have)

Best regards,
Logged
ecuprog7
Full Member
***

Karma: +9/-0
Offline Offline

Posts: 78


« Reply #10 on: April 24, 2026, 04:00:18 AM »

Hi, i´ve not done checksums by now, i found this ref:
https://github.com/olegm382/IronFelix/blob/master/Source/me3x_dll/module2.cpp
Any help on checksums would be nice.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.046 seconds with 15 queries. (Pretty URLs adds 0s, 0q)