SVX Network Forums Live Chat! SVX or Subaru Links Old Lockers Photo Post How-To Documents Message Archive SVX Shop Search |
IRC users: |
#1
|
||||
|
||||
Memory dump of ECU
I have dumped the memory of my ECU to a file and I'm starting to analyse it. Any other hardcore computer guys want to take a look?
Car: 94 JDM version S40-ii RomID: 742512 CPU is M37791 (Mitsubishi MELPS7700) This file is a dump of the whole 16-bit address space. 0000-00FF is IO 1000-14FF is RAM data (14FF downwards is the program stack) 8000-8FFF is ROM data (possible 16x16 tables at 0x8120 and 0x8e20 ?) 9000-FFCF is ROM code FFD0-FFFF is Interrupt vectors The rest of the address space appears to be unused.
__________________
Subaru ECU and TCU Website 1992 Alcyone SVX Version L 1992 Alcyone SVX Version L 1994 Alcyone SVX S40-II 2004 Subaru Legacy 2.5 SE Sports Tourer 1996 Subaru Legacy 2.2 GX Wagon 1988 Subaru Justy J12 SL-II |
#2
|
||||
|
||||
YEs I am interested how did you dump the data? I tried to open the file and didn't have any luck.
Tony
__________________
1995 - SVX 700,000 K Mine, DMS Struts to lift car 2in. Tyres Wrangler Silent Armor 235/70R16, PBR Radiator. 6 speed with DCCD and R180 rer diff, Heavy duty top strut mounts front and rear. Speedo correction box fitted. New stero (gave up on the old one). Back seat removed and 2 spare tyres fitted for desert driving. ECUTune SC sitting in the box for the next SVX. 1992 - SVX 255 K Wife (Want to stay Married so not allowed to fit SC) 1992 - SVX Pearl with black roof race car roll cauge etc ready to race. Ex Tasman Targa car. 1995 - SVX Green low k mint condiation. 1995 - SVX Rally car, ex Matts car. Now to be used on track. 1992 - SVX red & Black being converted to Mid Engine. 1995 - SVX Red 143,000 bit rough. Owned 5 others Subaru back to a 1974 1400 GSR. |
#3
|
||||
|
||||
Any way you can export it to raw text? Having issues with the .bin.
__________________
*No SVX at the moment...* 1987 Winnebago Elandan 35' 2001 Yamaha Roadstar 1600 2004 Ford Excursion Eddie Bauer, 6.0litre Power Stroke Diesel - Daily Driver. Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well-preserved body, but rather to skid in sideways, scotch in one hand, body thoroughly used up, totally worn out and screaming HOOOOYA !!!!! |
#4
|
||||
|
||||
OK. Here's some raw text files (inside the zip):
Archive: ECU3.zip Length Date Time Name -------- ---- ---- ---- 331776 04-27-07 14:43 AddressSpace.txt - This is the whole address space from 0000 to FFFF (engine off). 320896 04-27-07 15:32 disassembled-code.txt - This is a disassembly of the program code from 9000 to FEB5. 6240 04-27-07 14:43 RAM-data.txt - This is the RAM data from 1000 to 14FF (engine idling). 19968 04-27-07 14:43 ROM-data.txt - This is the ROM data from 8000 to 8FFF. -------- ------- 678880 4 files I'm putting together some info on how to do this and will post it later today. Phil.
__________________
Subaru ECU and TCU Website 1992 Alcyone SVX Version L 1992 Alcyone SVX Version L 1994 Alcyone SVX S40-II 2004 Subaru Legacy 2.5 SE Sports Tourer 1996 Subaru Legacy 2.2 GX Wagon 1988 Subaru Justy J12 SL-II Last edited by b3lha; 04-27-2007 at 08:35 AM. |
#5
|
||||
|
||||
__________________
Dave - 03 Baja - 92 SVX - 86 Brat - 08 OB 3.0 |
#6
|
||||
|
||||
Quote:
(once the correct parameter addresses are found) Please check my website for further details. I have created a HOWTO for building the interface and posted the results of my investigations so far. http://www.alcyone.org.uk/ssm I have also written some open-source software to download data from the ECU. I am making three of these interfaces with the intention of selling two of them. Currently two are complete, tested and working. The third one is almost complete, just waiting on a part that was out of stock at the supplier.
__________________
Subaru ECU and TCU Website 1992 Alcyone SVX Version L 1992 Alcyone SVX Version L 1994 Alcyone SVX S40-II 2004 Subaru Legacy 2.5 SE Sports Tourer 1996 Subaru Legacy 2.2 GX Wagon 1988 Subaru Justy J12 SL-II Last edited by b3lha; 04-27-2007 at 12:28 PM. |
#7
|
||||
|
||||
For folks in the states: the audio harness used to connect to the Subaru diagnostics plug is a Metra 70-1780 or Scosche SU-02 (one of the two pieces in the kit — the one with the 8 speaker wires).
If you want to get fancy, you can transplant the Red (+12V) and Black (Ground) wires from the other harness so those pins are the correct colors, plus any other colors you'd like to use for Transmit and Receive. Attached are pictures of the pair from Crutchfield.com, and a head-on view drawing.
__________________
David C. 1996 Laguna Blue Pearl SVX L AWD See my home page for SVX radio install/removal instructions and wiring harnesses Last edited by SVXdc; 04-28-2007 at 11:24 AM. Reason: harness manufacturer names were transposed |
#8
|
||||
|
||||
JSRBBQSAUCE. I haven't played with assembly in a bazillion years!
__________________
Disclaimer: The above post is on the internet. |
#9
|
||||
|
||||
That is cool, Phil. I'd like to look through that code disassembly at some point. I'd want to poke around the net and see if there's any kind of tool that can help plug symbols back in, to make it a little more readable.
Quote:
__________________
David C. 1996 Laguna Blue Pearl SVX L AWD See my home page for SVX radio install/removal instructions and wiring harnesses |
#10
|
||||
|
||||
Quote:
It was far from cutting-edge even when the car was built 15 years ago. It's a newer variant of the old 6502 chip from the BBC Micro of 1982 and a lot of the instructions are very similar. I spent most of my early teens learning how to program my BBC Micro and somewhere I've got a well-used book on 6502 assembler. I knew it would come in handy one day!
__________________
Subaru ECU and TCU Website 1992 Alcyone SVX Version L 1992 Alcyone SVX Version L 1994 Alcyone SVX S40-II 2004 Subaru Legacy 2.5 SE Sports Tourer 1996 Subaru Legacy 2.2 GX Wagon 1988 Subaru Justy J12 SL-II |
#11
|
||||
|
||||
Phil, you ARE the cutting edge.
We certainly have a range of in depth skills on the network. Good one, Trevor.
__________________
Trevor, New Zealand. As a child, on cold mornings I gladly stood in cowpats to warm my bare feet, but I detest bull$hit! |
#12
|
|||
|
|||
Quote:
This seems a quicker and less complicated method to get to the same place as building the interface from scratch. We could then connect with the audio plug described as follows: pin 2 (orange/white) transmit (rs232/ttl) pin 3 (blue/white) receive (rs232/ttl) pin 5 (red/black) to +12V in (choice of above) to +5v out (rs232/ttl) pin 9 (green/black) ground (rs232/ttl) Good show! |
#13
|
||||
|
||||
Quote:
The 78L05 is an ideal part — The TO-92 version (package that looks like a transistor) is tiny, very inexpensive (less than $1), and provides more than enough current (100mA), where the MAX232 draws at most 10mA. The larger 7805 is rated up to 1A. The wiring is exactly the same. Quote:
The car's factory wire colors are different in my '96, as well as on the '96 wiring diagram: 2 — Brown/White 3 — Green/Red 4 — Red/Blue 5 — Brown/Red 9 — Black/Red Pin 4 goes to the Cruise Control module. All other positions are unpopulated. Quote:
Quote:
__________________
David C. 1996 Laguna Blue Pearl SVX L AWD See my home page for SVX radio install/removal instructions and wiring harnesses Last edited by SVXdc; 04-28-2007 at 03:54 PM. Reason: edited to say I'm referring to factory wire colors |
#14
|
||||
|
||||
Quote:
__________________
Subaru ECU and TCU Website 1992 Alcyone SVX Version L 1992 Alcyone SVX Version L 1994 Alcyone SVX S40-II 2004 Subaru Legacy 2.5 SE Sports Tourer 1996 Subaru Legacy 2.2 GX Wagon 1988 Subaru Justy J12 SL-II |
#15
|
||||
|
||||
Quote:
__________________
David C. 1996 Laguna Blue Pearl SVX L AWD See my home page for SVX radio install/removal instructions and wiring harnesses |
Thread Tools | |
Display Modes | |
|
|