Notices
ECU Flash

Evo Live Map 88590015 Download Ready

Thread Tools
 
Search this Thread
 
Old Jan 5, 2008, 01:43 AM
  #61  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
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.
Old Jan 5, 2008, 05:52 AM
  #62  
EvoM Guru
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
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.
Old Jan 5, 2008, 08:28 AM
  #63  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
All sounds good to me! Thanks again.
Old Jan 5, 2008, 05:03 PM
  #64  
Evolved Member
iTrader: (22)
 
codgi's Avatar
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 2,491
Received 41 Likes on 37 Posts
Moved code comments to the other thread
Old Jan 28, 2008, 06:28 AM
  #65  
EvoM Staff Alumni
iTrader: (16)
 
MR Turco's Avatar
 
Join Date: May 2007
Location: Massachusetts
Posts: 3,233
Received 3 Likes on 3 Posts
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.
Old Jan 28, 2008, 07:42 AM
  #66  
Evolved Member
iTrader: (2)
 
TouringBubble's Avatar
 
Join Date: Jul 2006
Location: Chelsea, AL
Posts: 2,639
Likes: 0
Received 3 Likes on 3 Posts
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.
Old Jan 28, 2008, 09:38 AM
  #67  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
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.
Old Jan 28, 2008, 09:59 AM
  #68  
EvoM Staff Alumni
iTrader: (16)
 
MR Turco's Avatar
 
Join Date: May 2007
Location: Massachusetts
Posts: 3,233
Received 3 Likes on 3 Posts
Awesome news. Any idea when the dma version will be released?
Old Jan 28, 2008, 11:02 AM
  #69  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
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.
Old Jan 28, 2008, 03:39 PM
  #70  
EvoM Staff Alumni
iTrader: (16)
 
MR Turco's Avatar
 
Join Date: May 2007
Location: Massachusetts
Posts: 3,233
Received 3 Likes on 3 Posts
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.
Old Feb 4, 2008, 06:46 PM
  #71  
EvoM Staff Alumni
iTrader: (16)
 
MR Turco's Avatar
 
Join Date: May 2007
Location: Massachusetts
Posts: 3,233
Received 3 Likes on 3 Posts
John, will we have the ability to live tune MIVEC using this?
Old Feb 11, 2008, 06:41 AM
  #72  
Evolving Member
 
evo828's Avatar
 
Join Date: Apr 2007
Location: Slovakia
Posts: 195
Likes: 0
Received 1 Like on 1 Post
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?
Old Feb 11, 2008, 09:15 AM
  #73  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
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.
Old Feb 11, 2008, 09:28 AM
  #74  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
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.
Old Feb 11, 2008, 09:38 AM
  #75  
Evolved Member
 
cossie1's Avatar
 
Join Date: Aug 2007
Location: UK
Posts: 569
Likes: 0
Received 1 Like on 1 Post
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


Quick Reply: Evo Live Map 88590015 Download Ready



All times are GMT -7. The time now is 03:36 AM.