Page 10 of 14
Re: ECU information required
Posted: Fri Mar 19, 2010 10:53 pm
by g8dhe
To be honest yes

What I don't understand are engine parameters and what needs to be varied for performance (remember I don't drive never passed a test

) hence why I didn't offer to do anything myself !
Code cracking, and disassembly of code or coding something new is something I've always enjoyed, just don't give me maintenance jobs !
Re: ECU information required
Posted: Fri Mar 19, 2010 11:32 pm
by Rhinoman
g8dhe wrote:Yup it would be nice to have a spare one to play with!
Which tools are you using for the software, I hope your not having to hand disassemble it ?
I spoke too soon, IDAPro won't disassemble the code and I can't find a disassembler.
Re: ECU information required
Posted: Sat Mar 20, 2010 12:43 am
by g8dhe
What's the processor D78CP ?
Re: ECU information required
Posted: Sat Mar 20, 2010 11:32 am
by Rhinoman
The processor is a uPD78C18(A), NECs numbering is a bit strange as its part of their 87AD series. I've got a couple of leads, a MAME guy is using a disassembler from datasynceng, its for the 7810 but it should be close enough. I also found some source code for a 7810 disassembler too, its part of the MAME suite.
I now have the reference manual from NEC too, much more useful than the datasheet:
http://www.rhinopower.org/ECUs/Bongo/do ... 18A_um.pdf
Re: ECU information required
Posted: Sat Mar 20, 2010 11:41 am
by widdowson2008
Re: ECU information required
Posted: Sat Mar 20, 2010 11:58 am
by g8dhe
widdowson2008 wrote:What the hell does all that mean?

Well at worst the IDAPro has an SDK for creating new instruction sets I think, so with the reference manual it should be possible to create a set for that processor, it just adds to the time-scale however!
Re: ECU information required
Posted: Sat Mar 20, 2010 12:11 pm
by widdowson2008
g8dhe wrote:widdowson2008 wrote:What the hell does all that mean?

Well at worst the IDAPro has an SDK for creating new instruction sets I think, so with the reference manual it should be possible to create a set for that processor, it just adds to the time-scale however!
Is there an English version of this?

Re: ECU information required
Posted: Sat Mar 20, 2010 12:25 pm
by g8dhe
No but we could do it in Hex if you want ?
0x53 0x44 0x4B and the source is at
http://www.hex-rays.com/idapro/idadown.htm

Re: ECU information required
Posted: Sat Mar 20, 2010 12:29 pm
by Rhinoman
g8dhe wrote:widdowson2008 wrote:What the hell does all that mean?

Well at worst the IDAPro has an SDK for creating new instruction sets I think, so with the reference manual it should be possible to create a set for that processor, it just adds to the time-scale however!
I looked at that once before but it looked like it would be easier to start from scratch. Do you want to give it a try?
Re: ECU information required
Posted: Sat Mar 20, 2010 12:46 pm
by widdowson2008
Rhinoman wrote:g8dhe wrote:widdowson2008 wrote:What the hell does all that mean?

Well at worst the IDAPro has an SDK for creating new instruction sets I think, so with the reference manual it should be possible to create a set for that processor, it just adds to the time-scale however!
I looked at that once before but it looked like it would be easier to start from scratch. Do you want to give it a try?
Ohhhhh Yes (as a celebrity dog once said)
Geoff appears to be making a cup of coffee at the moment so I took the liberty of answering for him.

Do I take it that you two boffins are working together on this?
Re: ECU information required
Posted: Sat Mar 20, 2010 12:53 pm
by g8dhe
Only if I can trade you to do this 4 layer PCB Sat receiver for me instead!

Re: ECU information required
Posted: Thu Apr 01, 2010 1:30 am
by widdowson2008
Can't believe it's 11 days ago since I persued this

Where are the days going?
Any news Rhinoman? Wouldn't really surprise me if you had dropped it in favour of your new toy.
How's the Bongo fairing? Enjoying it?
Re: ECU information required
Posted: Thu Apr 01, 2010 8:48 am
by Rhinoman
I've been busy with real work, a couple of ECU repair jobs and the construction of an ECU test set. The lack of a disassembler is a bit of an issue so I'm going to write my own. The disassembler code should be fairly straightforward but first I need an instruction table to parse. I have been through the datasheet and worked out the binary code for each instruction and converted that to its decimal equivalent, next task is to put that into a spreadsheet.
The weather is still rubbish so nothing has happened with the Bongo although I am expecting delivery of a bike rack (hopefully) and remote locking system (despatched) today.
I seem to recall that you bought some sensors, did you get any resistance v temperature readings for them?
Re: ECU information required
Posted: Thu Apr 01, 2010 9:12 am
by widdowson2008
Wasn't me that got the sensors - sorry.
And I'm sure the ones being fitted to the Bongo currently being rigged up for rolling tests haven't had resistance v temperature readings, but I'll ask.
Re: ECU information required
Posted: Thu Apr 01, 2010 9:21 am
by Rhinoman
I just bought one sensor off eBay for a couple of quid, I'll keep a look out for the others its worth having some spares anyway.