ECU information required

Technical questions and answers about the Mazda Bongo

Moderators: Doone, westonwarrior

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 » Wed Apr 14, 2010 12:15 pm

Hi Rhinoman
Any progress?
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 » Wed Apr 14, 2010 12:30 pm

I did make quite a lot of progress with creating the spreadsheet that will form the core of the disassembler but I'm surrounded by a big pile of ECUs at the moment with mine very much at the bottom. The test set is gradually evolving but I could do with a set of connectors.
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 » Wed Apr 14, 2010 1:29 pm

Rhinoman wrote:I did make quite a lot of progress with creating the spreadsheet that will form the core of the disassembler but I'm surrounded by a big pile of ECUs at the moment with mine very much at the bottom. The test set is gradually evolving but I could do with a set of connectors.
What sort of connectors? :shock: :roll: Perhaps someone may be able to help out here? [-o<
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 » Wed Apr 14, 2010 2:19 pm

I need a set of connectors to plug into the ECU. I've designed the test set with a couple of D-type connectors on it so I can then use it with different ECUs by making up a loom to go between the test set and the ECU.
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 » Wed Apr 14, 2010 2:49 pm

Rhinoman wrote:I need a set of connectors to plug into the ECU. I've designed the test set with a couple of D-type connectors on it so I can then use it with different ECUs by making up a loom to go between the test set and the ECU.
sent you a pm
Steve
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 » Fri Apr 16, 2010 10:16 am

Rhinoman wrote:I need a set of connectors to plug into the ECU. I've designed the test set with a couple of D-type connectors on it so I can then use it with different ECUs by making up a loom to go between the test set and the ECU.
ebygum comes up trumps again =D> =D>
James - sent you a pm
Steve
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 May 06, 2010 1:16 pm

Hi James
Did you manage to get the connector from ebygum?


I have started to get the info back from the heat trials currently being carried out and some questions have popped up which may be answered by the work you are doing on the ECU.
Any news?
How is it going?
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 May 06, 2010 6:41 pm

I haven't seen any connectors. I've had to shelve this project for a bit due to real work getting in the way, it'll be a week or two before I pick it up again. Unfortunately the Bongo has been rather ignored, I managed to get my bike rack fitted but I still haven't fitted the radio yet after my fuse problems.
1995 Ford Freda, 2.5TD, auto, AFT, 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 » Mon Jul 12, 2010 8:38 pm

I've finally made some progress, just how much remains to be seen. I ran the binary through the MAME disassembler for the uPD7810, I have a lot of errors which I suspect is because the uPD7818 used in the Bongo ECU has some additional instructions. Next stage is to work out how to use the disassembler properly to get the list file formatted and to check the file to see how plausible it is.

List file can be opened in Notepad or similar:

http://www.rhinopower.org/ECUs/Bongo/docs/bongo.lst
1995 Ford Freda, 2.5TD, auto, AFT, side conversion.
User avatar
g8dhe
Supreme Being
Posts: 10704
Joined: Sun Apr 13, 2008 10:06 pm
Location: Worthing, West Sussex.

Re: ECU information required

Post by g8dhe » Mon Jul 12, 2010 9:41 pm

Getting a 404 on that URL, maybe .lst isn't in the MIME types for the server ?
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 » Mon Jul 12, 2010 9:48 pm

Seems to work OK for me, try right click and 'save as', I'll check it at work tomorrow.

There are a few obvious problems where I get illegal instruction, I'll have to work through those sections by hand. The A/D ISR looks pretty good though.
1995 Ford Freda, 2.5TD, auto, AFT, 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 Jul 16, 2010 9:24 pm

from small acorns and all that....

The Bongo manual states that the ECU throws a code 11 if the engine bay temperature is below -137C or above 180C. This section of code appears to be the diagnostic test:

Code: Select all

000056E2: D8                    JR      $56FB			;skip EBT tests?
000056E3: 70 6C 54 70        MOV     D,($7054)			;D = 0Ah = 195mV = -137C?
000056E7: 70 6D 55 70        MOV     E,($7055)			;E = FAh = 4.88V = +180C
000056EB: 70 6F 59 70        MOV     L,($7059)			;L = 82h = 2.54V = ?
000056EF: 70 69 13 FC        MOV     A,($FC13)			;get (FC13) = EBT
000056F3: 60 AC                GTA     A,D			;skip if (A-0Ah)>0
000056F5: 4E 25                 JRE     $571C			;jump if A<0Ah
000056F7: 60 BD                 LTA     A,E			            ;(A-FAh) skip if borrow
000056F9: D3                     JR      $570D			;A<FAh
000056FA: D9                     JR      $5714			;A>= FAh
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 » Fri Jul 16, 2010 10:18 pm

Rhinoman wrote:from small acorns and all that....

The Bongo manual states that the ECU throws a code 11 if the engine bay temperature is below -137C or above 180C. This section of code appears to be the diagnostic test:

Code: Select all

000056E2: D8                    JR      $56FB			;skip EBT tests?
000056E3: 70 6C 54 70        MOV     D,($7054)			;D = 0Ah = 195mV = -137C?
000056E7: 70 6D 55 70        MOV     E,($7055)			;E = FAh = 4.88V = +180C
000056EB: 70 6F 59 70        MOV     L,($7059)			;L = 82h = 2.54V = ?
000056EF: 70 69 13 FC        MOV     A,($FC13)			;get (FC13) = EBT
000056F3: 60 AC                GTA     A,D			;skip if (A-0Ah)>0
000056F5: 4E 25                 JRE     $571C			;jump if A<0Ah
000056F7: 60 BD                 LTA     A,E			            ;(A-FAh) skip if borrow
000056F9: D3                     JR      $570D			;A<FAh
000056FA: D9                     JR      $5714			;A>= FAh
This is looking as though there is a distinct possibility that we (you) are on the verge(ish) of making some sense of the ECU. How long b :wink: efore the English version is published?
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 » Fri Jul 16, 2010 10:26 pm

widdowson2008 wrote: This is looking as though there is a distinct possibility that we (you) are on the verge(ish) of making some sense of the ECU. How long b :wink: efore the English version is published?
There is a long way to go but its a start, the instruction set is very different from other processors that I've used so there is a learning curve there. I also need to characterise the sensors to get all the temperature values, I've got a WTS but not an Engine bay sensor.
I keep a log of what I've found which I'll publish when its got a bit more in it.

Some other good news is that another member has kindly offered to look over the list file with a view to improving the formatting which will make it easier to understand the programme flow.
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 » Fri Jul 16, 2010 11:18 pm

Rhinoman wrote:
widdowson2008 wrote: This is looking as though there is a distinct possibility that we (you) are on the verge(ish) of making some sense of the ECU. How long b :wink: efore the English version is published?
There is a long way to go but its a start, the instruction set is very different from other processors that I've used so there is a learning curve there. I also need to characterise the sensors to get all the temperature values, I've got a WTS but not an Engine bay sensor.
I keep a log of what I've found which I'll publish when its got a bit more in it.

Some other good news is that another member has kindly offered to look over the list file with a view to improving the formatting which will make it easier to understand the programme flow.
Quite a team building up here it seems. =D> =D> Please keep at it. The questions WILL be answered I'm sure.
Steve
Locked

Return to “Techie Stuff”