wrxsti-l wrote:
Ecuexplorer is released under GPL v2 (
HERE). I realise that it is oldish code, but it incorporated an early version of ecuflash which could read and write to the ecu.
Well....there are some issues here since to be honest, I came across this a couple of weeks back by complete accident (I was looking for a SSM document and it just so happens this project has it and Google tags it as such).
The problem here is that this project uses a binary dump of it seems the 0.91 ECUflash kernel (KERNEL.HEX). So basically it looks like to me that it loads and writes this binary using Denso commands that are no longer really applicable to CANbus based flashes (which for now is the only thing I'm personally concerned with since going forward I believe all future models will follow this path).
I am assuming modern ECUflash uses passthru J2534 commands to read and write to memory which btw is already in RR for the most part. The real issue is the kernel or RAM flash image you use to get you going.
The other issue that is confusing me is that the Renesas flash developer's docs claim that there is already a set protocol for SH7058 that you can use to flash it...I don't know what that really means at this point.
EDIT:
I have discovered Renesas's toolchain which is the HPEW (you can download an eval copy) which presumely has a full software emulator. They have a full SH7058 ICE that would be kick ass (basically its like buying an ECU with complete debugging setup for you) however, can I put in an expense report for 9k? Ouch.
Software emulation might be cool.
Also found the KPIT GNU toolchain which is an Eclipse IDE (yay, maybe, CDT hasn't been that great in my eyes, especially the indexer) which comes with a simulator - but I have a feeling that is just ISA stuff....i.e. it doesn't simulate SH7058 booting up or the HCAN controller on it (memory mapped resources).
Quote:
Just download the source for ecuexplorer and then go through the read and write code. It should all be there hopefully. It'll get you on your way and give you the code for something that can at least read and write to the ECU.
Then hopefully all you'd need to do is add it into RomRaider.
Just a thought

Its a good thought and I wish it was that simple but its not. I am learning a lot though about how this all works (I just wish I knew a little bit more about tuning a car!).
Let me look at stuff and hopefully give an update within the next couple of days....I really would like to contribute...