Starting to disassemble Euro Bin

Disassembly, Reassembly, Tools and devleopment. Going deep with Hardware and Software.
slewinson
Posts: 224
Joined: Wed Oct 08, 2014 11:08 am
cars: Barina SB C14SE
Lexus RX350
VW Golf Mk5 TDI DSG

Re: Starting to disassemble Euro Bin

Post by slewinson »

Thanks to all for the help so far. I have had a browse of the disassembly listings but cant find anything that really resembles mine.

Memory map appears to be quite different:
RAM at 0x0000-0x03ff
EEPROM at 0x0E00-0x0FFF
CPU registers 0x1000-0x105F
something at 0x1800-0x180F approx
something else at 0x5000-0x501F approx
EPROM at 0x8000-0xFFFF

I am getting another ECU soon so that I can try to map IO to CPU ports.

Further assistance welcomed.
Simon
slewinson
Posts: 224
Joined: Wed Oct 08, 2014 11:08 am
cars: Barina SB C14SE
Lexus RX350
VW Golf Mk5 TDI DSG

Re: Starting to disassemble Euro Bin

Post by slewinson »

I have created a very basic XDF for maps that I have identified. There are 3 spark advance maps and the main VE map that look right.
BFZN1.xdf
(26.86 KiB) Downloaded 331 times
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Starting to disassemble Euro Bin

Post by VL400 »

Had a half hour this arvo so started adding some comments. Attached is the raw disassembly (address locations left in it), asm file, commented asm and control file for m6811dis.

The serial comms part is started, the hard part of following some bytes relating to the receive code starts now. Added some other minor things through it as they were found.

When I get more time will add some more info.
Attachments
BFZN.zip
(150.96 KiB) Downloaded 333 times
slewinson
Posts: 224
Joined: Wed Oct 08, 2014 11:08 am
cars: Barina SB C14SE
Lexus RX350
VW Golf Mk5 TDI DSG

Re: Starting to disassemble Euro Bin

Post by slewinson »

Thanks VL400, I look forward to having a read when I get home. Don't spend too much time on this one as I am not 100% sure it is exactly the same code base. The parts listing says it is interchangeable but I am waiting on my new EPROM burner to arrive to read the one in the ECU. Have also managed to buy a spare that should arrive next week for comms debugging.

Simon
yoda69
Posts: 1215
Joined: Sun Mar 15, 2009 10:20 am
cars: 2004 VYII Acclaim Wagon V6 Auto LPG/Petrol
2004 VYII Berlina sedan V6 Auto
2005 VZ Monaro CV8 manual
Location: Geelong, VIC

Re: Starting to disassemble Euro Bin

Post by yoda69 »

Here's a link for some 68HC11 stuff I found ages ago when I planned on getting my head around the coding.
https://www.clear.rice.edu/elec201/Book/6811_asm.html

I never got far with it, mostly due to lack of time and when I went back to it had to just about start from scratch again as I'd forgotten most of it.
Definitely take my hat off to the guys on here that can read it, let alone recode it to do what the want it too.
kojab
Posts: 440
Joined: Sun Mar 22, 2009 11:52 am
cars: VT V6 supercharged in a corolla
Location: Sydney
Contact:

Re: Starting to disassemble Euro Bin

Post by kojab »

Went through my collection of Bins and found CBXD7066.bin read 7th Jan 2000. Compared it with BFZN and there is 952,445 bytes difference.
Attachments
CBXD7066.BIN
(32 KiB) Downloaded 320 times
slewinson
Posts: 224
Joined: Wed Oct 08, 2014 11:08 am
cars: Barina SB C14SE
Lexus RX350
VW Golf Mk5 TDI DSG

Re: Starting to disassemble Euro Bin

Post by slewinson »

Kojab, thanks. The calibration tables align perfectly with what I have in the BFZN bin. Dont suppose you have done any looking at this ECU?

I will see how the code compares tomorrow.

Simon
slewinson
Posts: 224
Joined: Wed Oct 08, 2014 11:08 am
cars: Barina SB C14SE
Lexus RX350
VW Golf Mk5 TDI DSG

Re: Starting to disassemble Euro Bin

Post by slewinson »

yoda69 wrote:Here's a link for some 68HC11 stuff I found ages ago when I planned on getting my head around the coding.
https://www.clear.rice.edu/elec201/Book/6811_asm.html

I never got far with it, mostly due to lack of time and when I went back to it had to just about start from scratch again as I'd forgotten most of it.
Definitely take my hat off to the guys on here that can read it, let alone recode it to do what the want it too.
Thanks Yoda, I am starting to get a feel for what it does. Nowhere near what VL400 and the others know.

In a previous post you uploaded a page from a workshop manual. Dont suppose you have wiring diagrams for the 97 Barina? I have a really crappy set from a Haynes manual that does not closely reflect reality. Trying to locate the transmission computer and if it interconnects to the ECU.

Simon
slewinson
Posts: 224
Joined: Wed Oct 08, 2014 11:08 am
cars: Barina SB C14SE
Lexus RX350
VW Golf Mk5 TDI DSG

Re: Starting to disassemble Euro Bin

Post by slewinson »

Latest version of the XDF
BFZN1.xdf
(30.57 KiB) Downloaded 321 times
kojab
Posts: 440
Joined: Sun Mar 22, 2009 11:52 am
cars: VT V6 supercharged in a corolla
Location: Sydney
Contact:

Re: Starting to disassemble Euro Bin

Post by kojab »

I have 18 tables located. Main VE at BB, Closed throttle VE at16E, Main spark at 810. No labels on the others.
Post Reply