4g61t.org

Specializing in the 3g CSM
It is currently Wed Dec 02, 2020 4:35 pm

All times are UTC-05:00




Post new topic  Reply to topic  [ 21 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Sun Jun 28, 2020 6:45 am 
Offline
Newbie

Joined: Fri May 08, 2020 1:11 pm
Posts: 26
Will you believe what I did? I hacked the ECU code so I can log faster! With the engine not running I can log 44 samples per second. When logging during normal operation (load cell, RPM, injector duty cycle, O2 sensor, ...) it decreases to 3-6 samples. Not that much.
I hacked the code and now I can log with 125 sampls per second with the engine off!
I've yet to test it in practice with the engine running. But that should translate to 8-20 samples per second.
Maybe I can increase logging speed even more!
It works perfectly fine with my active USB cable.


Top
   
PostPosted: Sun Jun 28, 2020 9:08 am 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9499
Location: Ottawa, ON, Canada
Pioneer!

Keep on going, as this could help many down the road.


Top
   
PostPosted: Sun Jun 28, 2020 2:25 pm 
Offline
Newbie

Joined: Fri May 08, 2020 1:11 pm
Posts: 26
Definately I will keep on going. This hack will also work on DSMs. Maybe even Evo 1-3. It still has to prove its usefulness in practice though. Then I'll try higher speeds. Hypothetically 125000 bits per second should be possible which translates to roughly 40 - 50 samples PER SECOND during ordinary driving.

Meanwhile I looked around for the rev limiter. I think I found it but have yet to prove it. The code ist much more like the Evo code rather than the 1G DSM's.
Stupid disassembler constantly kept misinterpreting opcodes although I have to admit Motorola 68XX instruction sets appear to me as an utter bloody mess!


Top
   
PostPosted: Mon Jul 13, 2020 8:37 pm 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9499
Location: Ottawa, ON, Canada
I can only imagine what DSMlink/ECMLink was like to code because of having to deal with the chip set these ECU's use.

It is funny because all the stuff we get was a year or two behind Japan, so C50 cars were out in 1987 but we only saw them in 1989.

Heck they were racing them for two years before we got to see them!


Top
   
PostPosted: Tue Jul 14, 2020 7:43 am 
Offline
Newbie

Joined: Fri May 08, 2020 1:11 pm
Posts: 26
Those guys must be 68HC11 wizards. The Mitsu ECU code doesn't make sense sometimes. They use the index registers at points where I had rather used the accumulator(s).

I found the rev limiter for sure. Tried it out and thit the limiter which I set to 2000 revs.


Top
   
PostPosted: Sun Nov 29, 2020 6:43 am 
Offline
Newbie

Joined: Fri May 08, 2020 1:11 pm
Posts: 26
Well apparently I'm not a pioneer: those guys from ECMlink log at 1000 samples/second. That's much quicker than my 125 samples/second. They probably run at a much higher baud rate. Like 115 kbaud.

Nonetheless those logs grow in size quick. A 45 minute drive makes up apx. 10-15 Mb file size at 50 samples/sec.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 21 posts ]  Go to page Previous 1 2

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited