Notices
ECU Flash

Evo Live Map 88590015 Download Ready

Thread Tools
 
Search this Thread
 
Old Jan 5, 2008 | 01:43 AM
  #61  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
For the programmers:

http://www.banks.myzen.co.uk/NewEvoL...0015Source.zip

Source for the latest PC logger/mapper I posted last night. Links also updated in post #1.
Reply
Old Jan 5, 2008 | 05:52 AM
  #62  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 132
From: Tri-Cities, WA // Portland, OR
Originally Posted by jcsbanks
Thanks mrfred, very good news. I should have explained that you start and continue the logging during all the mapping. ...

Questions:
1. Can you confirm that the fuel and timing maps that were read back from RAM matched your ROM? I suggest because there is no error checking that the changes are always read after writing and you make a quick visual scan that the fuel and timing map changes have taken and that the values are all safe. I've never had an issue at all except for the PC app crashing which should be much less likely on the new version without the graphing.

2."RPMs took a dip, but the car kept running." Presumably this was because you made a big change to timing and the ECU had to adjust it back or work the ISCV? I just want to be sure there were no ill effects due to the process of writing and that they were due to the new timing! This could be confirmed by making adjustments to the RAM map whilst still running from ROM, then switching to map #1 and seeing the same RPM dip as before.

...
I did start the logging process anytime I used the app while the car was running. That part I got. :-) I just wasn't immediately sure what to do about the mapping in the later tabs.

The timing values read back from RAM looked correct, but I did not explicitly compare to the ROM tables. I am pretty familiar with the general appearance of the timing and fuel tables, so I'm very confident that the tables first read into RAM matched the ROM values.

The rpms would only take a dip when the timing algorithm was pointed to bad timing values (in the RAM table). ISCV was undoubtedly compensating and bringing the rpms back up. When I bumped up the stock timing from 5 -> 10 deg at idle, the engine rpms increased and then drifted back to the target idle value, again undoubtedly from the ISCV.
Reply
Old Jan 5, 2008 | 08:28 AM
  #63  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
All sounds good to me! Thanks again.
Reply
Old Jan 5, 2008 | 05:03 PM
  #64  
codgi's Avatar
Evolved Member
Photogenic
Liked
Loved
Community Favorite
iTrader: (22)
 
Joined: Aug 2004
Posts: 2,493
Likes: 41
From: Atlanta, GA
Moved code comments to the other thread
Reply
Old Jan 28, 2008 | 06:28 AM
  #65  
MR Turco's Avatar
EvoM Staff Alumni
iTrader: (16)
 
Joined: May 2007
Posts: 3,233
Likes: 3
From: Massachusetts
John any new updates on this? I bought a wideband and once that is installed i would love to test this. I have to get direct boost control working too.
Reply
Old Jan 28, 2008 | 07:42 AM
  #66  
TouringBubble's Avatar
Evolved Member
iTrader: (2)
 
Joined: Jul 2006
Posts: 2,639
Likes: 3
From: Chelsea, AL
I'll do some testing for you when I get my car reassembled. Honestly, I was a little wary of this patch when it first hit so i hadn't tried it.
Reply
Old Jan 28, 2008 | 09:38 AM
  #67  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
I do not need any further testing on this patch. The only issue was a few bugs in the pc software which are fixed with the latest version I posted.

I will not be migrating this version to other ecus because I am moving it all to dma. I have it all working on my car. I need to add a timeout routine in the ecu in case the comms is interrupted during dma transfer. I know what I need to do for this.

The only other thing to decide which I raised in a recent tephra thread was how we would do the actual map switching to allow 1d and 2d maps in ram. I am thinking that it is best that we point the ecu to vectors we store in ram. These will point to the usual rom location of the maps or values or to anywhere else we want. We just need to add a routine to populate all these vectors from a rom copy when the ecu is reset or reflashed. Again I know how to do this.

So from here on it is a tidy up of loose ends and organisation as to how we want to arrange all the realtime maps. No technical challenges remain really.
Reply
Old Jan 28, 2008 | 09:59 AM
  #68  
MR Turco's Avatar
EvoM Staff Alumni
iTrader: (16)
 
Joined: May 2007
Posts: 3,233
Likes: 3
From: Massachusetts
Awesome news. Any idea when the dma version will be released?
Reply
Old Jan 28, 2008 | 11:02 AM
  #69  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
I don't want to give dates as it is my hobby. Waiting for a plane to the Maldives... so that might delay progress for a bit lol.
Reply
Old Jan 28, 2008 | 03:39 PM
  #70  
MR Turco's Avatar
EvoM Staff Alumni
iTrader: (16)
 
Joined: May 2007
Posts: 3,233
Likes: 3
From: Massachusetts
yeah just make sure you have a paypal account ready for donations when you release this thing. You may have completely negated the reason for getting an accessport.
Reply
Old Feb 4, 2008 | 06:46 PM
  #71  
MR Turco's Avatar
EvoM Staff Alumni
iTrader: (16)
 
Joined: May 2007
Posts: 3,233
Likes: 3
From: Massachusetts
John, will we have the ability to live tune MIVEC using this?
Reply
Old Feb 11, 2008 | 06:41 AM
  #72  
evo828's Avatar
Evolving Member
 
Joined: Apr 2007
Posts: 195
Likes: 1
From: Slovakia
John - will you also post some guide how to patch a ROM in order to make the DMA and live tuning available for other ROMs?

the latest version of the PC application is the one in this thread in post #1?
Reply
Old Feb 11, 2008 | 09:15 AM
  #73  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Yes I will once I finalise it.

The latest plan is that I will supply the code that hooks into three interrupts to run the DMA. I will post all the details when I've got it all together. I want to make two changes before then - 1. Reset the DMA operation if there is a MUT timeout. 2. Move the DMA setup code from the MUT routine to the serial receive interrupt - this will improve response times and also allow the code to be universal for all ECUs. I want to make it really easy to patch.

What I will end up producing is the PC stuff and the ECU patches to allow reading and writing of RAM areas in the ECU using DMA. Tephra seems to be happy to move his maps to RAM (fuel, timing, boost, and I'm sure MIVEC can be added) and will add a routine to his patches to copy ROM to RAM when the ECU is first powered up/reflashed. My stuff will then allow editing these.

I also need to look at the common register addresses between the SH7052 (7/8) and the SH7055 (9). If possible my DMA code will be common for all... we'll see what I can streamline. I have what I want to do pretty clear in my head now I've seen where Tephra is going with his stuff and I now know what I want to focus on as above.
Reply
Old Feb 11, 2008 | 09:28 AM
  #74  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
I have just confirmed from the hardware manuals that the hardware registers between all the Evo 7-9 ECUs are the same for:

DMA interrupts
DMA registers
Serial receive interrupt
Serial registers
Serial transmit end interrupt

All the above means that the same code should work on all ECUs as long as I can find a bit of ROM and RAM in them all that is always unused.
Reply
Old Feb 11, 2008 | 09:38 AM
  #75  
cossie1's Avatar
Evolved Member
 
Joined: Aug 2007
Posts: 569
Likes: 1
From: UK
Originally Posted by jcsbanks
I have just confirmed from the hardware manuals that the hardware registers between all the Evo 7-9 ECUs are the same for:

DMA interrupts
DMA registers
Serial receive interrupt
Serial registers
Serial transmit end interrupt

All the above means that the same code should work on all ECUs as long as I can find a bit of ROM and RAM in them all that is always unused.
That sounds promising
Reply



All times are GMT -7. The time now is 08:43 AM.