Notices
ECU Flash

Evo 8 post reflash - RAM not cleared

Thread Tools
 
Search this Thread
 
Old Mar 24, 2009, 03:41 PM
  #16  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
96260009.

I think it may indeed be free. I have flashed an 8 image into my 9 ECU, and whilst it won't start the engine I can test the comms, DMA, RAM etc. I'm finding that the fuel map is being erased on key off, but the ignition map is not. There is a comms issue too that is inconsistent.

Last edited by jcsbanks; Mar 24, 2009 at 03:47 PM.
Old Mar 24, 2009, 04:06 PM
  #17  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
ffff9c00-9ffff is erased on key off, this is where my fuel maps were, I think ffffa000-a7fff is OK - leaves 768 bytes for the stack to come down and gives us 2k for alt maps.

Still leaves an intermittent comms problem though, whereas the 9s I've played with have been fine.
Old Mar 25, 2009, 04:21 AM
  #18  
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've tested FFFFA000-A7FF and it seems safe. Comms problem seems to be resolved too by this move. I've posted an 8MR JDM version on MLR to test.

I also tested a button in my app that resets Tephra's DEAD variable, forcing a copy from ROM to RAM of my maps, should remove the need for middle ECU plug disconnects to reset, I suppose we could later add a more complete reset, but let's see how this goes first.
Old Mar 25, 2009, 07:53 AM
  #19  
Evolved Member
iTrader: (22)
 
Appauldd's Avatar
 
Join Date: Nov 2003
Location: Northern KY near Cincy
Posts: 2,408
Likes: 0
Received 6 Likes on 6 Posts
Let me know when you are ready for a tester.....I will give it a shot.

Paul
Old Mar 25, 2009, 08:47 AM
  #20  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
Thanks Paul, need to sort out if 96260009 is feasible or not, if it is, transfers to others should follow, although I would like to know if there is just one US Evo 8 ECU I can do to keep most people happy.
Old Mar 26, 2009, 02:34 PM
  #21  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
96260009 is working. After the first flash from a non-Tephra ROM it copies the maps from ROM to RAM because Tephra's DEAD variable is not set. However, subsequent flashes need a middle plug removal reset because Tephra's DEAD variable is remembered between flashes as this area is not overwritten, but the area of the RAM maps is overwritten by the flashing process. I suppose I could put markers at the beginning and end of the RAM area, or just use a button in my app (tested on my IX) that just writes a non-DEAD value to Tephra's variable, forcing everything to be refreshed from ROM.
Old Mar 26, 2009, 03:27 PM
  #22  
EvoM Guru
iTrader: (6)
 
tephra's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Posts: 9,486
Received 66 Likes on 42 Posts
hey John.

Since my RAM block is ok (for this rom) you could change the DEAD check to a memory location in your RAM block.

just update the pointer in my code so that it checks and resets accordingly...

cheers
d.
Old Mar 26, 2009, 03:35 PM
  #23  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
Good idea. I suspect it is the 9s that overwrite the FFFF84xx area during a reflash, but the 8s don't.
Old Mar 26, 2009, 04:23 PM
  #24  
EvoM Guru
iTrader: (6)
 
tephra's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Posts: 9,486
Received 66 Likes on 42 Posts
yeah 8 and 9's obviously use different RAM segments to store incoming ROM segments.

might be a kernel/driver thing in ecuflash...
Old Mar 26, 2009, 04:27 PM
  #25  
Evolved Member
Thread Starter
 
jcsbanks's Avatar
 
Join Date: May 2006
Location: UK
Posts: 2,399
Likes: 0
Received 5 Likes on 4 Posts
Maybe that the 8 RAM starts at FFFF8000, so your 84xx range is quite low in there, whereas the 9 RAM starting at FFFF6000 means that the 84xx range is in the middle of the stuff used by the reflash kernex, hence it gets overwitten.
Old Mar 26, 2009, 04:31 PM
  #26  
EvoM Guru
iTrader: (6)
 
tephra's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Posts: 9,486
Received 66 Likes on 42 Posts
yeah I *thought* it said which RAM block it used in the ecuflash log... might be wrong thou
Old Mar 27, 2009, 01:16 PM
  #27  
Evolving Member
iTrader: (4)
 
roger smith's Avatar
 
Join Date: Dec 2003
Location: Ventura County, CA
Posts: 357
Likes: 0
Received 0 Likes on 0 Posts
Hi John.

I think for US evo 8 the smallest number of roms that will work for the majority is 2. Someone correct me if I'm wrong.
The 94170015 and 96940011.

And just wanted to sidenote, your efforts are greatly appreciated, as are tephra and MrFred. When I come into enough money to be philanthropic I will gladly do/get something nice for you guys (ball bearing upgrade for your turbo, carbon doors, you name it). And I won't forget about this pledge as long as this community is alive.

Last edited by roger smith; Mar 27, 2009 at 01:27 PM.
Old Mar 27, 2009, 02:44 PM
  #28  
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 was thinking of just going 96530006 since that seems to run all US Evo 8?

So the bare minimum set would be:
88570008 JDM Evo 9, probably runs all Evo 9, I suppose I could do 88590015 since I have already done an earlier version...
96260009 JDM Evo 8MR, also runs JDM 8, Evo 260
96530006 Probably runs all US Evo 8
90550011 JDM Evo 7 - seems to run all Evo 7, plus Evo 7 ECUs running Evo 4,5,6

Any more is really a few too many to support as my brain will melt. The patches are complex.
Old Mar 27, 2009, 03:14 PM
  #29  
Evolved Member
iTrader: (2)
 
l2r99gst's Avatar
 
Join Date: Mar 2004
Location: CA
Posts: 3,499
Likes: 0
Received 4 Likes on 4 Posts
96530006 sounds good to me. I'm still waiting to switch to that ROM, but I need a reason, like SD or your live tuning first.
Old Mar 27, 2009, 03:31 PM
  #30  
Evolved Member
iTrader: (22)
 
Appauldd's Avatar
 
Join Date: Nov 2003
Location: Northern KY near Cincy
Posts: 2,408
Likes: 0
Received 6 Likes on 6 Posts
Get me a copy of the 96530006. I will load it up and test its functionality against the 94170015


Quick Reply: Evo 8 post reflash - RAM not cleared



All times are GMT -7. The time now is 03:24 PM.