Page 11 of 14

Re: ECU information required

Posted: Wed Apr 14, 2010 12:15 pm
by widdowson2008
Hi Rhinoman
Any progress?

Re: ECU information required

Posted: Wed Apr 14, 2010 12:30 pm
by Rhinoman
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.

Re: ECU information required

Posted: Wed Apr 14, 2010 1:29 pm
by widdowson2008
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<

Re: ECU information required

Posted: Wed Apr 14, 2010 2:19 pm
by Rhinoman
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.

Re: ECU information required

Posted: Wed Apr 14, 2010 2:49 pm
by widdowson2008
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

Re: ECU information required

Posted: Fri Apr 16, 2010 10:16 am
by widdowson2008
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

Re: ECU information required

Posted: Thu May 06, 2010 1:16 pm
by widdowson2008
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?

Re: ECU information required

Posted: Thu May 06, 2010 6:41 pm
by Rhinoman
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.

Re: ECU information required

Posted: Mon Jul 12, 2010 8:38 pm
by Rhinoman
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

Re: ECU information required

Posted: Mon Jul 12, 2010 9:41 pm
by g8dhe
Getting a 404 on that URL, maybe .lst isn't in the MIME types for the server ?

Re: ECU information required

Posted: Mon Jul 12, 2010 9:48 pm
by Rhinoman
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.

Re: ECU information required

Posted: Fri Jul 16, 2010 9:24 pm
by Rhinoman
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

Re: ECU information required

Posted: Fri Jul 16, 2010 10:18 pm
by widdowson2008
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?

Re: ECU information required

Posted: Fri Jul 16, 2010 10:26 pm
by Rhinoman
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.

Re: ECU information required

Posted: Fri Jul 16, 2010 11:18 pm
by widdowson2008
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.