Notices
ECU Flash

dma logger + live tune

Thread Tools
 
Search this Thread
 
Old Dec 1, 2019 | 02:32 PM
  #1  
pisyakot's Avatar
Thread Starter
Newbie
 
Joined: Jun 2014
Posts: 96
Likes: 44
From: Russia
Red face dma logger + live tune

Hi guys.
For the past 5 years I have been fond of tuning Mitsubishi. During this time, a huge number of add-ons have been written for the stock control unit.
I was fundamentally not happy with the speed of logging parameters of existing loggers.
It turns out that almost all stock firmware have the ability to use DMA logging (evo 6-10) and for this purpose I wrote my logger about a year ago.
Avaliable 100Hz (100 frames per second 48 bytes or 24 parameters of 2 bytes each), 200Hz, 800Hz, Cas interrupt, etc.
It supports address requests for RAM addr values and mut tables (engine + AT)

100 Hz log example: https://cloud.mail.ru/public/5FSC/2dU2Ls9as

Now I am working on improving my dma logger.. added some plots, dash and etc.
https://www.facebook.com/groups/2638...8259224558681/

Also, for my new project, I am working on a live tune client.
It parses the Ecuflash definition xml and adds all possible tables for the tracer (2d, 3d + all scaling for correct view and edit). Some tables are already available for editing online.
https://www.facebook.com/groups/2638...8263204558283/

some live map tests in car on ugly camera


If this is interesting to anyone, I would be happy to hear suggestions for revision my program
Reply
Old Dec 1, 2019 | 06:35 PM
  #2  
CDrinkH2O's Avatar
EvoM Guru
15 Year Member
Liked
Loved
Community Favorite
iTrader: (7)
 
Joined: Nov 2006
Posts: 1,147
Likes: 161
From: San Francisco
pisyakot - looks very interesting.
Where can I get a copy? I've been looking for something like this since ziad stopped supporting his .NET live tune app years ago. EvoScan can only log at 10Hz and you need greater definition in many cases.
Reply
Old Dec 6, 2019 | 07:30 PM
  #3  
wreckleford's Avatar
Evolved Member
iTrader: (2)
 
Joined: Jun 2003
Posts: 1,171
Likes: 11
From: Jamaica
Following the links in your signature, you have done a lot of development with the stock ECU. Are you selling any of these features you have developed?
Reply
Old Dec 18, 2019 | 11:24 AM
  #4  
Tomtom88's Avatar
Newbie
 
Joined: Apr 2014
Posts: 4
Likes: 0
From: Malaysia
Airtrek Turbo live tuning

Originally Posted by pisyakot
Hi guys.
For the past 5 years I have been fond of tuning Mitsubishi. During this time, a huge number of add-ons have been written for the stock control unit.
I was fundamentally not happy with the speed of logging parameters of existing loggers.
It turns out that almost all stock firmware have the ability to use DMA logging (evo 6-10) and for this purpose I wrote my logger about a year ago.
Avaliable 100Hz (100 frames per second 48 bytes or 24 parameters of 2 bytes each), 200Hz, 800Hz, Cas interrupt, etc.
It supports address requests for RAM addr values and mut tables (engine + AT)
https://www.facebook.com/groups/2638405116210760/permalink/2788217817896155/

100 Hz log example: https://cloud.mail.ru/public/5FSC/2dU2Ls9as

Now I am working on improving my dma logger.. added some plots, dash and etc.
https://www.facebook.com/groups/2638...8259224558681/

Also, for my new project, I am working on a live tune client.
It parses the Ecuflash definition xml and adds all possible tables for the tracer (2d, 3d + all scaling for correct view and edit). Some tables are already available for editing online.
https://www.facebook.com/groups/2638...8263204558283/

some live map tests in car on ugly camera https://www.youtube.com/watch?v=MqncvVgQCMQ

If this is interesting to anyone, I would be happy to hear suggestions for revision my program
I'm interested with the live tuning and can u send me a mail to tomtom8118@yahoo.co.uk.

Cheers
Reply
Old Feb 11, 2020 | 12:52 PM
  #5  
Construct's Avatar
EvoM Guru
15 Year Member
Liked
Loved
Community Favorite
iTrader: (4)
 
Joined: Nov 2009
Posts: 1,730
Likes: 161
From: Utah
Originally Posted by pisyakot
It turns out that almost all stock firmware have the ability to use DMA logging (evo 6-10) and for this purpose I wrote my logger about a year ago.
Avaliable 100Hz (100 frames per second 48 bytes or 24 parameters of 2 bytes each), 200Hz, 800Hz, Cas interrupt, etc.
It supports address requests for RAM addr values and mut tables (engine + AT)
https://www.facebook.com/groups/2638405116210760/permalink/2788217817896155/

100 Hz log example: https://cloud.mail.ru/public/5FSC/2dU2Ls9as
Did you find DMA logging in stock firmware, or did you patch the firmware for DMA logging?
Reply
Old Feb 22, 2020 | 11:58 AM
  #6  
pisyakot's Avatar
Thread Starter
Newbie
 
Joined: Jun 2014
Posts: 96
Likes: 44
From: Russia
Originally Posted by Construct
Did you find DMA logging in stock firmware, or did you patch the firmware for DMA logging?
Yup, dma it`s stock feature
Reply
Old Feb 25, 2020 | 06:25 AM
  #7  
Construct's Avatar
EvoM Guru
15 Year Member
Liked
Loved
Community Favorite
iTrader: (4)
 
Joined: Nov 2009
Posts: 1,730
Likes: 161
From: Utah
Originally Posted by pisyakot
Yup, dma it`s stock feature
Oh, you're using the out of band debug port for this, right?
Reply
Old Feb 28, 2020 | 08:56 AM
  #8  
pisyakot's Avatar
Thread Starter
Newbie
 
Joined: Jun 2014
Posts: 96
Likes: 44
From: Russia
Originally Posted by Construct
Oh, you're using the out of band debug port for this, right?
Nope. Openport 2.0 with k-line
Reply
Old Feb 28, 2020 | 12:57 PM
  #9  
Construct's Avatar
EvoM Guru
15 Year Member
Liked
Loved
Community Favorite
iTrader: (4)
 
Joined: Nov 2009
Posts: 1,730
Likes: 161
From: Utah
You're saying you're getting 48 byte * 800HZ DMA logging through the Openport 2.0 K-line interface on an Evo VIII/IX with stock, unmodified firmware?

Originally Posted by pisyakot
It turns out that almost all stock firmware have the ability to use DMA logging (evo 6-10) and for this purpose I wrote my logger about a year ago.
Avaliable 100Hz (100 frames per second 48 bytes or 24 parameters of 2 bytes each), 200Hz, 800Hz, Cas interrupt, etc.
Something doesn't add up. 800Hz * 48 bytes would require a bitrate of over 300kbps. Even 100Hz * 48 bytes is 38.4kbps, significantly higher than the default baud rate.

In the past, we've seen patches to add DMA logging functionality to the firmware, but I've never seen any mention of DMA logging functionality built-in to the factory firmware. Surely one of the past firmware modders would have found it by now.

Last edited by Construct; Feb 28, 2020 at 01:02 PM.
Reply
Old Mar 1, 2020 | 11:10 AM
  #10  
Construct's Avatar
EvoM Guru
15 Year Member
Liked
Loved
Community Favorite
iTrader: (4)
 
Joined: Nov 2009
Posts: 1,730
Likes: 161
From: Utah
Did some searching. Found the OP's other posts on a Russian forum:

https://www.drive2.ru/l/529841185481...age=0#comments (Use Google Translate)

Key section via Google Translate:

And I remembered that at the beginning of any firmware lies a code associated with the exchange of data. And it’s especially nice that this is on all mitsu machines, i.e. be it H8 percent - evo 5-6 \ galanti \ vry, or SH7052 / 55 - evo 7-9, lancers 9, tracks or even m32r - Evo x, lancer X, etc.I really did not want to disassemble this hell. But the party said it was necessary!

Dismantled everything to the cog and realized the scale of the tragedy. From the factory there is the possibility of logging at higher speeds, but what really is there. space, Japs damn geniuses 😀
There are a huge number of DMA logging modes, I counted 7-8. Until filling in the interruption of the crankshaft sensor. But we are interested in the main 3, namely 100Hz, 200Hz and 800Hz logging. Which ~ is equivalent to 100, 200, 800 frames with data per second, and this is sooo fast. What is more than enough for any of the possible tasks.
And the best part is that you can log data from the MUT table, as well as any RAM memory addresses without any flashing. And this is a very nice bonus.
If I'm reading this correctly, the claim is that there is a DMA logger common to many Mitsubishi ECUs. The only evidence is the OP's videos on YouTube though. Would be great if we could get some more information.

Last edited by Construct; Mar 1, 2020 at 11:36 AM.
Reply
Old Mar 2, 2020 | 05:00 AM
  #11  
pisyakot's Avatar
Thread Starter
Newbie
 
Joined: Jun 2014
Posts: 96
Likes: 44
From: Russia
Originally Posted by Construct
You're saying you're getting 48 byte * 800HZ DMA logging through the Openport 2.0 K-line interface on an Evo VIII/IX with stock, unmodified firmware?
Something doesn't add up. 800Hz * 48 bytes would require a bitrate of over 300kbps. Even 100Hz * 48 bytes is 38.4kbps, significantly higher than the default baud rate.
Default connection speed for DMA is 65k it`s not obd or mut protocol. There is a limit on the number of variables for each speed (100hz 24vars 2byte, 200hz 24 vars 1byte, 800hz 2 vars 2byte + 6 vars 1byte, 800hz 5vars 2byte and etc)

Originally Posted by Construct
In the past, we've seen patches to add DMA logging functionality to the firmware, but I've never seen any mention of DMA logging functionality built-in to the factory firmware. Surely one of the past firmware modders would have found it by now.
No one studied the firmware code deeply, so most of the functionality is not known. I spent a lot of time learning and modifying the code. Therefore, a huge number of mods are made: true speed density, advanced launch contol (fuel\spark cut 3D table with random cut (aka motec randomizer), progressive change of the ignition angle 3D table (error between the target map and the current, error between target rpm and current)) and same for rolling launch. Flat foot shifting with -50* retard + spark cut. Advanced antilag. Soft + hard rev limiter. Drive by wire throttle control. GPS traction control. Per cylinder knock control and many many others features.
I don’t think anyone did this. :-D


Originally Posted by Construct
Did some searching. Found the OP's other posts on a Russian forum:

https://www.drive2.ru/l/529841185481...age=0#comments (Use Google Translate)

Key section via Google Translate:
If I'm reading this correctly, the claim is that there is a DMA logger common to many Mitsubishi ECUs. The only evidence is the OP's videos on YouTube though. Would be great if we could get some more information.
Nice translation Yes, that's right. H8, SH7052/7055, m32r. I plan to release a logger with some donation. Because all of this took me a ton of time
Reply
Old Mar 2, 2020 | 05:14 AM
  #12  
4G1620's Avatar
Newbie
 
Joined: Mar 2020
Posts: 1
Likes: 0
From: Amarillo,TX
Originally Posted by Tomtom88
I'm interested with the live tuning and can u send me a mail to tomtom8118@yahoo.co.uk.

Cheers
i do not have an evo yet. I am also new to a forum thread so not sure how it works. But i am interested in learning how to tune as well if this is what is being provided?
Reply
Old Mar 2, 2020 | 08:28 AM
  #13  
Construct's Avatar
EvoM Guru
15 Year Member
Liked
Loved
Community Favorite
iTrader: (4)
 
Joined: Nov 2009
Posts: 1,730
Likes: 161
From: Utah
Originally Posted by pisyakot
Nice translation Yes, that's right. H8, SH7052/7055, m32r. I plan to release a logger with some donation. Because all of this took me a ton of time
All credit to Google for the translation.

Very cool stuff. I'll follow along eagerly. I'd be happy to send a donation if the fast logger stuff can be shared. If I get some time I'll fire up IDA and poke around again.
Reply
Old Mar 2, 2020 | 09:04 AM
  #14  
ronaldo9's Avatar
Evolved Member
iTrader: (2)
 
Joined: Oct 2008
Posts: 809
Likes: 26
From: New Jersey
I'm also very interested in your software if available and will gladly donate for all of your efforts.
Reply
Old Mar 25, 2026 | 10:10 AM
  #15  
Project_Evo970's Avatar
Newbie
 
Joined: Mar 2026
Posts: 1
Likes: 0
From: Oxford UK
Originally Posted by pisyakot
Nope. Openport 2.0 with k-line
Nice one, are you planning on releasing this program?
I have a JDM E7 ECU running 90556701 Tephra SD rom but would be really cool to have live mapping via Openport 2 at least. It's the only major bug bear I have with it having to reflash instead of livemap.
I see my rom has DMA patch code, but not sure how to use it as think it's only available on Openport 1.3 normally (which I don't have the cable so never tried).
Some of the other features such as DBW support, ignition vs fuel cut limiters, per cylinder knock control, warning alarms etc. would be really cool too if they can be merged alongside tephra but I guess this is not possible.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Evo8Guy
ECU Flash
8
Aug 8, 2019 12:15 PM
ChrisWantsBoost
ECU Flash
8
Oct 2, 2015 10:57 AM
xBoostx
ECU Flash
2
Jul 9, 2013 10:37 AM
RS200Z
ECU Flash
18
Jan 12, 2013 06:42 PM
eficker
ECU Flash
4
Dec 13, 2006 10:12 PM




All times are GMT -7. The time now is 12:34 AM.