Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2015
    Location
    Melton Mowbray
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rides
    0

    Default ECU Emulator - Work in Progress

    I thought I would share my work in progress with you. For various reasons I have been creating an ECU Emulator / Development System to help with the reverse engineering of my 16v integrale's ECU. Not all features / buttons work, there are a few bugs and the sensor section doesn't really do anything at the moment. But one key functional aspect is you can LOAD binary files and IDENTIFY them - the tool will report if they are standard integrale chips or recognised modified items. I could also add Alfa binaries if you want me to. The emulator has a fully functional disassembler and simulator of the 6803 and 6811 CPU's and you can run code at various speeds, watch memory locations, stop on locations containing certain values etc. I have nearly finished a full command line assembler too which I am playing with locally at the moment and will upload soon.

    As I say its a work in progress, but you can't break anything by pressing things to see what happens.

    If you are interested it runs best using Safari on a Mac (1920 x 1200), or Google Chrome on a PC is OK. I doubt it will work very well in Microsofts browsers. If you are interested in it and have any questions then feel free to ask below.

    http://integrale.website/ecu/

    p.s. easy to remember address :-)

  2. #2
    Join Date
    Feb 2008
    Location
    Hungary
    Posts
    66
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Rides
    1

    Default

    I wish I could know more about ecu programming, maybe I'll read about it during the xmas break, nevetherless great little interface, nice work
    1995 Alfa Romeo 155 Q4 , 1995 cc Standard Standard Black

  3. #3
    Join Date
    Apr 2006
    Location
    Bournemouth UK
    Posts
    4,609
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rides
    1

    Default

    Thats great Ricardo,

    do you have any documents detailing the screen? What everything does etc. Be great if you could add some of the Q4 binaries as well.

    Nice one.
    1994 Alfa Romeo 155 Q4: Dozeing in the garage.
    2009 Audi A4 tdi: Everyday drive.
    1994 Alfa Romeo 155 , 1995cc Std Standard Black

  4. #4
    Join Date
    Jan 2015
    Location
    Melton Mowbray
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rides
    0

    Default

    I've started to add a manual / help file - so click the green help button and some chapters have detail. If you click the LOAD button (top left) you can load a binary image from your hard drive. It will sit at C000 (16k) or 8000 (32k). If its not an integrale based image then it will report unknown etc but the code window should be populated. You can also click the FETCH button to fetch any of the standard integrale ECU images - they are contained within the emulator. Once you have some code on screen, if you click any of the mnemonics then your browser should open the relevant Motorola manual page for that instruction. I'll add more hardware docs as time goes by.

    I haven't added the option to load and save project files yet, but you can add address labels and comments for each line of code too. As I say, its a work in progress which I get to play with when work is quiet each winter. I started it a couple of years ago, and update it this time of year. It will run fine on an iPhone too, but the display could do with tweaking for that.

    If you send me some suitable alfa images with the address they normally sit at then I can add them to the library.

    For anyone wanting to "get into" programming the ECU, assembler is simple once you have grasped it, the hard part is the car side really. Plenty of resources on the internet. The integrale ECU uses either a Motorola 6803 or 68HC11 (Evo 2) and has a 6845 Timer chip and a 14442 Analogue to Digital convertor. If you lookup details on those 3 chips - thats all there is really. The 6803/6811 is the brain that controls everything, the 6845 controls 3 of the injectors (4th is done by the 6803/6811) and the 14442 converts the input from the sensors into something the processor can understand.
    Last edited by Ricardo; 02-12-17 at 05:54.

  5. #5
    Join Date
    Jan 2015
    Location
    Melton Mowbray
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rides
    0

    Default

    Sorry, being thick. I had forgotten the Q4 binaries were on the site. I have downloaded all three standard ones. Can you provide some information about them? (for me to display) - see below for the kind of details I could do with for each of the chips:

    CHIP IDENTIFICATION
    ===================

    EPROM identified as a genuine Original Equipment (OE) Lancia chip.

    Type: Lancia Delta HF integrale Evolution II
    Engine: 16v with catalytic convertor
    Power: 215bhp @5750rpm
    Torque: 308Nm @2500rpm
    ECU: WH4WG.P8
    CPU: 68HC11
    Chip: 27256
    Size: 32K
    ID: PTP-CF
    ISO: 55 CD 85 08 13 C2

    Note: There are two Evo II EPROM versions, this is version 1

    Cheers

Similar Threads

  1. Transmission work.
    By Steve Webb in forum Alfa Romeo Tech.
    Replies: 2
    Last Post: 21-05-12, 20:45
  2. Work on the forum.
    By Steve Webb in forum The Mechanics rest.
    Replies: 1
    Last Post: 19-06-11, 21:20
  3. my Q4 PROGRESS
    By sub555 in forum The Media Suite
    Replies: 31
    Last Post: 20-10-08, 21:52
  4. Some nice work going on here:
    By AlfaJack in forum The Media Suite
    Replies: 12
    Last Post: 03-09-07, 07:06
  5. Picture Progress of Project Q4
    By AlfaJack in forum Alfa Romeo Q4 Tech.
    Replies: 7
    Last Post: 13-11-06, 22:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •