RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 7:14 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 376 posts ]  Go to page Previous  1 ... 20, 21, 22, 23, 24, 25, 26  Next
Author Message
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Sun May 05, 2024 2:06 am 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
I looked at the first attached default.bin. That is a successful ROM dump. Not sure why it appeared not to work. If you post up the logfile.txt I can have a look. I didn't look at the second attachment - I assume this is a duplicate?

It's a 5EAT Hitachi M32R TCU 512KB
SYS ID: A61022
CAL ID: 91A0217400

It probably won't have the ability to change shift pressures via SSM / FreeSSM (so far I've only seen Denso TCUs with that ability).

The list of pointers to the switching tables is at 0x170fc. That should give you a start on finding the shift tables and the specific ones you want to change. Usually there are loads of switching tables for the various drives modes and drive conditions. Might need to do some logging to really nail things down.


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Sun May 05, 2024 4:32 am 
Offline
Newbie

Joined: Sun Feb 24, 2019 9:39 am
Posts: 13
Ok awesome! Yeah it just kept on reading data with no end in sight so not sure what happened there?

Ive added the log, It has all the previous attempts. The last one was the one that was successful.

That makes sense, Ive tried changing the available values on FreeSSM and it fails.

Have you got any recommendations for software to define and edit those tables or resources on how to do so. Complete noob at this but would like to learn.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Mon May 06, 2024 2:45 am 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
From the log, it looks like comms dropped out occasionally. Might be loose connection, cable drivers, software interrupts... hard to know. The good thing is it worked. Unreliable comms will make flashing risky, so it could still be worth trying to find out what is causing the flaky comms.

The Hitachi ECU/TCUs use a different table format from Denso ECU/TCUs. Most of the software out there (eg: Romraider) only works with the Denso table format. Not sure about Scoobyrom, I suspect it also only works with the Denso table format. The Hitachi table format is described in this thread a while back. One approach is to export the table data to Excel and use Excel to create the shift curves. That step is reasonably straightforward. The tricky bit is the reverse engineering to figure out which table is used in which circumstance (drive mode etc)...

Any changes made to the ROM will also require the ROM's checksum to be updated.


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Mon May 06, 2024 6:48 am 
Offline
Newbie

Joined: Sun Feb 24, 2019 9:39 am
Posts: 13
Yeah definitely wouldn't feel comfortable flashing unless the connection is 100%, I'm going to try again with the Openport and see if the results are better. Will only be able to later in the week. Currently the car is in a few pieces while I build a new set of headers for it.

Will give the whole thread a read through again.

Thanks for the info and patience!


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Sat Jun 29, 2024 10:57 pm 
Offline
Newbie

Joined: Tue Jan 09, 2024 4:20 pm
Posts: 5
Hello, ive managed to get my TCU ROM dump, but i dont know where to go from there, can i get like a guide for dummies?

TCU ID: AD E0 23 60 00
Using hitachi kline


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Mon Jul 01, 2024 8:59 am 
Offline
Newbie
User avatar

Joined: Tue Apr 05, 2022 12:57 pm
Posts: 58
Waselon wrote:
Hello, ive managed to get my TCU ROM dump, but i dont know where to go from there, can i get like a guide for dummies?

TCU ID: AD E0 23 60 00
Using hitachi kline


Looks similar to the JDM 06/07 LGT 5EAT. Where to go depends on what your goal is... something not working right or just want to tinker for performance or something else?

_________________
2000 Subaru Impreza 2.5RS EJ251 5MT TY754
2005 Saab(aru) 9-2x Linear EJ253 5MT TY754
2014 Subaru Tribeca EZ36D 5EAT TG5D


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Mon Jul 01, 2024 10:23 pm 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
Waselon - at this stage, TCU tuning relies on someone digging through the ROM, finding relevant parameters to change (by a combination of reverse engineering and logging), changing the parameters, updating the ROM checksum and then flashing it back. In the longer term, as we get familiar with how the ROMs work, we'll be able to standardise key tables & parameters that become easy to find, similar to how it currently operates for ECUs. But that requires some folks keen enough to spend the time on the journey with me and others...

Let me know if you want to volunteer!


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Tue Jul 02, 2024 12:19 am 
Offline
Newbie

Joined: Tue Jan 09, 2024 4:20 pm
Posts: 5
jimihimisimi wrote:
Waselon wrote:
Hello, ive managed to get my TCU ROM dump, but i dont know where to go from there, can i get like a guide for dummies?

TCU ID: AD E0 23 60 00
Using hitachi kline


Looks similar to the JDM 06/07 LGT 5EAT. Where to go depends on what your goal is... something not working right or just want to tinker for performance or something else?


I want to tune line pressure to improve shift speeds. Other way would be buying a reprograming kit, but that involves getting soaked in ATF so i thought i would try this first.

rimwall wrote:
Waselon - at this stage, TCU tuning relies on someone digging through the ROM, finding relevant parameters to change (by a combination of reverse engineering and logging), changing the parameters, updating the ROM checksum and then flashing it back. In the longer term, as we get familiar with how the ROMs work, we'll be able to standardise key tables & parameters that become easy to find, similar to how it currently operates for ECUs. But that requires some folks keen enough to spend the time on the journey with me and others...

Let me know if you want to volunteer!


I did some decoding with IDA, got some functions and data... but again i have no idea of what to do with all that as i have limited knowledge and no experience in reverse engineering.


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Tue Jul 02, 2024 2:01 am 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
There is a way to adjust line pressure across the board (and/or each clutch/brake) without flashing. See around p18 of this thread.

This relies on the TCU ROM having this capability. You can find out by trying (no harm done if it doesn't have the capability).


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Tue Jul 02, 2024 3:19 am 
Offline
Newbie

Joined: Tue Jan 09, 2024 4:20 pm
Posts: 5
rimwall wrote:
There is a way to adjust line pressure across the board (and/or each clutch/brake) without flashing. See around p18 of this thread.

This relies on the TCU ROM having this capability. You can find out by trying (no harm done if it doesn't have the capability).


SSM has only 4wd pressure correction for my tcu, and it is not permanent afaik?


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Tue Jul 02, 2024 3:39 am 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
FreeSSM doesn’t support the changes described on p18 of this thread.

I suspect SSM proper also doesn’t support it because I couldn’t find any mention in the SSM-III manual.

Try the extra menu item in v0.28 of FastECU from the repo and see if you are able to change the values.

I can also look in your ROM to see whether it has the capability, but trying v0.28 will be faster.


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Tue Jul 02, 2024 11:51 am 
Offline
Newbie

Joined: Tue Jan 09, 2024 4:20 pm
Posts: 5
rimwall wrote:
FreeSSM doesn’t support the changes described on p18 of this thread.

I suspect SSM proper also doesn’t support it because I couldn’t find any mention in the SSM-III manual.

Try the extra menu item in v0.28 of FastECU from the repo and see if you are able to change the values.

I can also look in your ROM to see whether it has the capability, but trying v0.28 will be faster.


All corrections in RR logger read 0
And additional menu to set params doesnt pop up


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Wed Jul 03, 2024 10:23 pm 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
Hmmm... interesting.

Waselon's ROM is Hitachi. Had a quick look at it. It does not have the pressure adjustments at the same SSM offsets as I have so far seen in Denso ROMs. However, it looks like there *are* some sort of pressure adjustments at a different SSM offset. But tracking it all down and how it works will take a long time...


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Fri Sep 06, 2024 1:04 pm 
Offline
Experienced

Joined: Sun Oct 26, 2014 2:59 pm
Posts: 244
Location: Russia
STI TG5 2011


You do not have the required permissions to view the files attached to this post.

_________________
https://vk.com/cortin_ecu


Top
 Profile  
 
 Post subject: Re: 5EAT TCM JECS ROM Image
PostPosted: Tue Sep 10, 2024 11:20 pm 
Offline
Experienced

Joined: Fri Aug 21, 2020 6:05 am
Posts: 315
An update: I've now worked out most of the process that controls the brake / clutch pressure profiles during gear changes to get profiles like the attached pic (this is from a Nissan AT similar to the 5EAT). It's very complicated. Each brake / clutch can be in one of 34 different states, and there are different calculations for each state, different pathways through the states and different values used for each particular gear change. Many of these states are abnormal or error states of various types. This results in a multitude of different tables.

In each state the basic approach is to calculate a target pressure (for that state), and the number of steps to reach that target pressure. Then pressure is increased accordingly. Therefore, the simplest approach to getting faster changes would be to reduce the number of steps. This should essentially compress the time axis of the below charts.

Attachment:
GearChange.JPG


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 376 posts ]  Go to page Previous  1 ... 20, 21, 22, 23, 24, 25, 26  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl