ECU information required

Technical questions and answers about the Mazda Bongo

Moderators: Doone, westonwarrior

Locked
User avatar
g8dhe
Supreme Being
Posts: 10705
Joined: Sun Apr 13, 2008 10:06 pm
Location: Worthing, West Sussex.

Re: ECU information required

Post by g8dhe » Fri Mar 19, 2010 10:53 pm

To be honest yes :mrgreen: 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 !
Geoff
2001 Aero V6, AFT, full side conversion.
User avatar
Rhinoman
Bongolier
Posts: 330
Joined: Mon Jan 11, 2010 7:45 pm
Location: Brinkworth, Wilts
Contact:

Re: ECU information required

Post by Rhinoman » Fri Mar 19, 2010 11:32 pm

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.
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
User avatar
g8dhe
Supreme Being
Posts: 10705
Joined: Sun Apr 13, 2008 10:06 pm
Location: Worthing, West Sussex.

Re: ECU information required

Post by g8dhe » Sat Mar 20, 2010 12:43 am

What's the processor D78CP ?
Geoff
2001 Aero V6, AFT, full side conversion.
User avatar
Rhinoman
Bongolier
Posts: 330
Joined: Mon Jan 11, 2010 7:45 pm
Location: Brinkworth, Wilts
Contact:

Re: ECU information required

Post by Rhinoman » Sat Mar 20, 2010 11:32 am

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
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: ECU information required

Post by widdowson2008 » Sat Mar 20, 2010 11:41 am

Rhinoman wrote:..........too, much more useful than the datasheet:

http://www.rhinopower.org/ECUs/Bongo/do ... 18A_um.pdf
Opened the link and had a quick read through :^o :^o :^o That looks promising :?
What the hell does all that mean? :lol: :lol:
Steve
User avatar
g8dhe
Supreme Being
Posts: 10705
Joined: Sun Apr 13, 2008 10:06 pm
Location: Worthing, West Sussex.

Re: ECU information required

Post by g8dhe » Sat Mar 20, 2010 11:58 am

widdowson2008 wrote:What the hell does all that mean? :lol: :lol:
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!
Geoff
2001 Aero V6, AFT, full side conversion.
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: ECU information required

Post by widdowson2008 » Sat Mar 20, 2010 12:11 pm

g8dhe wrote:
widdowson2008 wrote:What the hell does all that mean? :lol: :lol:
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? :wink:
Steve
User avatar
g8dhe
Supreme Being
Posts: 10705
Joined: Sun Apr 13, 2008 10:06 pm
Location: Worthing, West Sussex.

Re: ECU information required

Post by g8dhe » Sat Mar 20, 2010 12:25 pm

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

:lol:
Geoff
2001 Aero V6, AFT, full side conversion.
User avatar
Rhinoman
Bongolier
Posts: 330
Joined: Mon Jan 11, 2010 7:45 pm
Location: Brinkworth, Wilts
Contact:

Re: ECU information required

Post by Rhinoman » Sat Mar 20, 2010 12:29 pm

g8dhe wrote:
widdowson2008 wrote:What the hell does all that mean? :lol: :lol:
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?
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: ECU information required

Post by widdowson2008 » Sat Mar 20, 2010 12:46 pm

Rhinoman wrote:
g8dhe wrote:
widdowson2008 wrote:What the hell does all that mean? :lol: :lol:
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. :lol:
Do I take it that you two boffins are working together on this?
Steve
User avatar
g8dhe
Supreme Being
Posts: 10705
Joined: Sun Apr 13, 2008 10:06 pm
Location: Worthing, West Sussex.

Re: ECU information required

Post by g8dhe » Sat Mar 20, 2010 12:53 pm

Only if I can trade you to do this 4 layer PCB Sat receiver for me instead!
Image
Geoff
2001 Aero V6, AFT, full side conversion.
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: ECU information required

Post by widdowson2008 » Thu Apr 01, 2010 1:30 am

Can't believe it's 11 days ago since I persued this :shock: Where are the days going?

Any news Rhinoman? Wouldn't really surprise me if you had dropped it in favour of your new toy. :lol:
How's the Bongo fairing? Enjoying it?
Steve
User avatar
Rhinoman
Bongolier
Posts: 330
Joined: Mon Jan 11, 2010 7:45 pm
Location: Brinkworth, Wilts
Contact:

Re: ECU information required

Post by Rhinoman » Thu Apr 01, 2010 8:48 am

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?
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
User avatar
widdowson2008
Supreme Being
Posts: 1703
Joined: Tue Nov 18, 2008 10:15 pm
Location: N.E.Derbyshire

Re: ECU information required

Post by widdowson2008 » Thu Apr 01, 2010 9:12 am

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.
Steve
User avatar
Rhinoman
Bongolier
Posts: 330
Joined: Mon Jan 11, 2010 7:45 pm
Location: Brinkworth, Wilts
Contact:

Re: ECU information required

Post by Rhinoman » Thu Apr 01, 2010 9:21 am

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.
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
Locked

Return to “Techie Stuff”