Fordmods Logo

EEC Hacking 

 

Page 1 of 2 [ 19 posts ] Go to page 1, 2  Next

 
 Post subject: EEC Hacking
Posted: Wed Oct 08, 2008 12:35 am 
Getting Side Ways
Offline
User avatar

Age: 42

Posts: 1037

Joined: 5th Nov 2004

Gallery: 1 images

Ride: V8 T5 Fairmont & BA XR6T

Location: Sydney
NSW, Australia

Ive decided to start a new thread in conjunction with Jason's (galapogos01) Tuning with Moates F3, however this one will be totally for the purpose of EEC editing, and not so much about the hardware side of things. Jason and I have written a couple of docco's that should give the average guy the info necessary to start tuning thier EEC.

So what are you waiting for???? GET TUNING PEOPLE!

 

 

Attachments:
EEC Definition creation - Part 2.pdf [706.37 KiB]
Downloaded 399 times
EEC Definition creation - Part 1.pdf [1.37 MiB]
Downloaded 355 times

 

_________________

Dima, Mitch & Jay's RPD

Top
 Profile  
 
 
Posted: Thu Oct 09, 2008 4:32 pm 
Technical Contributor
Offline
User avatar

Posts: 2799

Joined: 6th Nov 2004

Gallery: 7 images

Ride: Falcon

Location: Sydney
NSW, Australia

*subscribes to thread*

Is this just for tuning? Not much of EEC hacking without atleast posting some disassemblers, discussing the processors/architecture, eec hardware, software?

That and I have nothing to add on the tuning side of things :(

 

_________________

;++JustForDimSim++;

Cheap, fast and reliable.. choose 2.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 12:07 am 
Getting Side Ways
Offline
User avatar

Age: 42

Posts: 1037

Joined: 5th Nov 2004

Gallery: 1 images

Ride: V8 T5 Fairmont & BA XR6T

Location: Sydney
NSW, Australia

feel free to talk disassembly, although there hasnt been much in the way of discussion yet :lol:

 

_________________

Dima, Mitch & Jay's RPD

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 8:40 am 
Technical Contributor
Offline
User avatar

Posts: 2799

Joined: 6th Nov 2004

Gallery: 7 images

Ride: Falcon

Location: Sydney
NSW, Australia

Disassembly. I don't even know where to start.

The 8065 differed from the 8069 in a couple of ways, one of which was additional instructions, registers, i/os, etc... One of the instructions that was added was the RETI instruction (as opposed to the bog normal RET instruction, which was also included).

Anyone on here know the exact operation of the RETI instruction on the 8065?

 

_________________

;++JustForDimSim++;

Cheap, fast and reliable.. choose 2.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 8:58 am 
NSW Cruise Moderator
Offline
User avatar

Age: 46

Posts: 7338

Joined: 5th Nov 2004

Gallery: 12 images

Ride: TE50

Location: ɹǝpun uʍop
NSW, Australia

Subscribes to get an understanding of whats happening. I may just need some of this.. don't expect any input from me though.

 

_________________

Image

I have a car.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 10:37 am 
Tyre Shredder
Offline

Age: 62

Posts: 373

Joined: 9th Feb 2006

Ride: AU Wagon

Location: Newcastle
NSW, Australia

I came across this accidentally. The site has no context for it though... http://www.pcmx.net/disasm/EEC_PE.asm Anyone struck Kevin Timmerman before?

 

_________________

AU1.5 Wagon, Raptor ProStreet kit, Pacemaker 4499's with 3" collector, 3" metal cat, 3" pipe, Pex BSO660 & BSO439, BA brakes, Sprintgas mixer LPG system, Airod variable-venturi mixer... stealth FTW Sniper tuned!

To be updated... soon!

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 10:38 am 
Technical Contributor
Offline
User avatar

Posts: 2799

Joined: 6th Nov 2004

Gallery: 7 images

Ride: Falcon

Location: Sydney
NSW, Australia

Nice find!

That's awesome.

 

_________________

;++JustForDimSim++;

Cheap, fast and reliable.. choose 2.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 10:41 am 
Technical Contributor
Offline
User avatar

Posts: 2799

Joined: 6th Nov 2004

Gallery: 7 images

Ride: Falcon

Location: Sydney
NSW, Australia

Ah - it was by Kevin Timmerman. Would've spent a while on that!

I knew the name rung a bell.

If you don't know the guy - he was responsible for the PCM explorer - check:

http://www.austincc.edu/cloud/tc_eec.htm
&
http://www.pcmx.net/pcmx/

 

_________________

;++JustForDimSim++;

Cheap, fast and reliable.. choose 2.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 4:08 pm 
Tyre Shredder
Offline

Age: 62

Posts: 373

Joined: 9th Feb 2006

Ride: AU Wagon

Location: Newcastle
NSW, Australia

BTW I found that looking for an answer to
justfordima wrote:
Anyone on here know the exact operation of the RETI instruction on the 8065?

I checked eectch98.pdf first, noted that it's RETI on the 8061 but RETEI on the 8065. Then I just Googled RETI 8061. I usually get s**t when I try something as simple as that, but this was the 3rd result returned.

So anyway RETI is used about half a dozen times... the comments suggest it's something to do with interrupts... RETturn on Interrupt perhaps? Maybe the 8065 RETEI cound be RETurn on External Interrupt?

I'm starting from a very low base as far as ASM goes, I studied some Motorola 68K assembler nearly 20 years ago but never touched it since.

 

_________________

AU1.5 Wagon, Raptor ProStreet kit, Pacemaker 4499's with 3" collector, 3" metal cat, 3" pipe, Pex BSO660 & BSO439, BA brakes, Sprintgas mixer LPG system, Airod variable-venturi mixer... stealth FTW Sniper tuned!

To be updated... soon!

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 4:14 pm 
Technical Contributor
Offline
User avatar

Posts: 2799

Joined: 6th Nov 2004

Gallery: 7 images

Ride: Falcon

Location: Sydney
NSW, Australia

8065 RETEI would be the return from interrupt, but it's an extended instruction. So RETEI. 8061 didn't have an extended instruction for returning from an interrupt.

I was more after how it works in comparison to the normal RET (which returns from a subroutine).

Good point with the searching hehe - I'm just too lazy.

And as far as the Motorola 68K assembler goes - that was quite an impressive processor for it's time, and alot of the logic can be applied to the 8065 (apart from the high speed i/o, and custom registers, and locations).

Did you do any ASM for the Z80? Just curious, cos that seemed to be the natural progression from the 68K.



Cheers

 

_________________

;++JustForDimSim++;

Cheap, fast and reliable.. choose 2.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 4:21 pm 
Tyre Shredder
Offline

Age: 62

Posts: 373

Joined: 9th Feb 2006

Ride: AU Wagon

Location: Newcastle
NSW, Australia

Nah, I had an unnatural career progression in 1992 and ended up doing network admin and user support stuff alongside accounting. I was interested in finding out about 80x86 assembler for a while but time never permitted. I have an almost unopened "Zen of Assembly Language" put away somewhere safe...

 

_________________

AU1.5 Wagon, Raptor ProStreet kit, Pacemaker 4499's with 3" collector, 3" metal cat, 3" pipe, Pex BSO660 & BSO439, BA brakes, Sprintgas mixer LPG system, Airod variable-venturi mixer... stealth FTW Sniper tuned!

To be updated... soon!

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 4:22 pm 
Technical Contributor
Offline
User avatar

Posts: 2799

Joined: 6th Nov 2004

Gallery: 7 images

Ride: Falcon

Location: Sydney
NSW, Australia

Good stuff!

Are you writing chips for the EEC? What car have you got?

EDIT - just read your signature... that would've helped.

Are you modding the EEC in the AU?

 

_________________

;++JustForDimSim++;

Cheap, fast and reliable.. choose 2.

Top
 Profile  
 
 
Posted: Fri Oct 10, 2008 5:28 pm 
Tyre Shredder
Offline

Age: 62

Posts: 373

Joined: 9th Feb 2006

Ride: AU Wagon

Location: Newcastle
NSW, Australia

Not quite up to modding the EEC yet. I'm on a personal quest to fit a 2 bar MAP to the AU. It's theoretically possible given that the AU TMAP is an analogue 0-5v device. But I've been told by people who know the SCT and Sniper software that the MAP transfer function can't be rescaled. I thought the Moates hardware looked to have some potential to make this possible. It's just going to take a bit of work :-). So be it, if I help others along the way, that's a bonus.

 

_________________

AU1.5 Wagon, Raptor ProStreet kit, Pacemaker 4499's with 3" collector, 3" metal cat, 3" pipe, Pex BSO660 & BSO439, BA brakes, Sprintgas mixer LPG system, Airod variable-venturi mixer... stealth FTW Sniper tuned!

To be updated... soon!

Top
 Profile  
 
 
Posted: Sat Oct 11, 2008 11:14 am 
Getting Side Ways
Offline

Posts: 2464

Joined: 5th Nov 2004

Gallery: 7 images

Location: Brisbane
QLD, Australia

Return from Interupt is different on all ECU's. When the ECU gets an interupt, it drops everything on the stack, and then goes off and performs your interupt routine (I can think of a few in the EEC - Smartlock, Auto Trans Control, Ignition Timing, Fueling etc)

RETI is different from Ret in that it automatically picks up the registers etc from the stack, and continues on processing from where the main code was "at" (as long as youve been good with your stack processing).

RET just returns from your routine, without correcting the registers etc.

Now... thats just normal ECU theory. I have no practical skills on EEC at the moment.
Top
 Profile  
 
 
Posted: Sun Oct 12, 2008 12:46 am 
Getting Side Ways
Offline
User avatar

Age: 42

Posts: 1037

Joined: 5th Nov 2004

Gallery: 1 images

Ride: V8 T5 Fairmont & BA XR6T

Location: Sydney
NSW, Australia

Nigel, your input has been appreciated, as anything to do with the decoding of the EEC is helpfull. Finding parameters is low level stuff, but disassembly is what we really need to achieve, then the EEC with its enormous amounts of HSI/HSO could be made to run anything you like

 

_________________

Dima, Mitch & Jay's RPD

Top
 Profile  
 
Display posts from previous:
Sort by  
 Page 1 of 2  [ 19 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

 

 

It is currently Sun Nov 24, 2024 12:36 am All times are UTC + 11 hours

 

 

(c)2014 Total Web Solutions Australia - Australian Web Hosting and Domain Names