The Subaru SVX World Network

The Subaru SVX World Network (https://www.subaru-svx.net/forum/index.php)
-   Technical Q & A (https://www.subaru-svx.net/forum/forumdisplay.php?f=5)
-   -   Memory dump of ECU (https://www.subaru-svx.net/forum/showthread.php?t=38685)

cdvs 04-28-2007 04:21 PM

Quote:

Originally Posted by SVXdc
I knew that. I was replying to cdvs' post, which appeared to be referring to the car's wiring.

I was referring to the connector described by b3lha (Phil) in the interface build instructions. I hadn't noticed your (SVXdc) connector pictures, which do have different colored wires. Now that I have, I can't see which goes where well enough to translate. Perhaps you could do it?

rallyingrob 04-28-2007 04:27 PM

:confused:

y'all lost me at " Memory Dump of ECU "
:eek:

SVXdc 04-28-2007 06:57 PM

1 Attachment(s)
Quote:

Originally Posted by cdvs
I was referring to the connector described by b3lha (Phil) ... I can't see which goes where well enough to translate. Perhaps you could do it?

Ah, I read through Phil's doc again and see now. You both were indeed talking about the colors on the audio harness Phil found. Very odd color scheme — not the EIA standard found on most car radio harnesses today.

Here's another drawing with the pin numbers (lower connector with 9 pins):
http://www.subaru-svx.net/forum/atta...6&d=1177806816 <- This one.

View is looking at the contact pins on the CAR'S harness (wires pointing away from you). On the aftermarket harness, this would be the side with the wires pointing towards you, pins pointing away.

For the pins in question, the EIA standard wire colors are:
2 — White => Transmit
3 — Green => Receive
5 — Gray/Black => +12V
9 — Violet/Black => Ground
As I suggested earlier, since you're going to extract the unneeded wires anyway, you might as well transplant the Red and Black wires from the 7-pin connector into pins 5 and 9, respectively.


The attachment to this post is the same gif as above, in case the link goes bad. Drawing courtesy of NASIOC's vrg3, on this page that shows the entire pin-out of the radio connectors.

b3lha 04-29-2007 01:12 AM

Quote:

Originally Posted by SVXdc
Here's another drawing with the pin numbers (lower connector with 9 pins):
http://www.graphics.cornell.edu/~v/bcstereo/harness.gif <- This one.

View is looking at the contact pins (wires pointing away from you).

This is looking at the contact pins of the female end (car). If you look into the male end (audio harness) the numbers are obviously reversed:

43_21
98765

Just so you know, I did swap in the red and black wires on the first one I made. I didn't do it for the second one because I didn't want to the complicate the HOWTO.

These things are really easy to make. It takes me about two hours now I know how to do it.

b3lha 04-29-2007 02:48 AM

Further options for those who don't want to build their own circuit:

http://www.active-robots.com/product.../act-sib.shtml

Look at the second and third items on the page.

I'm not sure about the USB device. The PC will see it as a serial port, but it's not a standard 16550A. You might have to modify the software to set the baud rate correctly.

YourConfused 04-29-2007 03:51 AM

Strait.
 
Now this is a good thread!

SVXdc 04-29-2007 07:32 AM

Quote:

Originally Posted by b3lha
If you look into the male end (audio harness) the numbers are obviously reversed

Thanks for pointing that out. I've edited my previous post to be a little more clear.

UPnorth362 04-29-2007 09:26 AM

Great write up. Just wondering what program you use to run the linux version software?

b3lha 04-29-2007 09:54 AM

Quote:

Originally Posted by UPnorth362
Great write up. Just wondering what program you use to run the linux version software?

It's C source code, tarred and gzipped. You extract it with "tar -xzvf filename.tar.gz" and then run "make" to compile it.

ssm.c contains functions to access the ecu. It compiles to ssm.o
ecudump.c compiles to an executable called ecudump. When you run ecudump, it calls the functions in ssm.o to extract data from the ECU and write it to a file.

If/when I've worked out enough of the memory locations in the ECU I'll write something to display them graphically in real time. If you know how to program, then you can write your own software to call the ssm functions and display the data however you want it.

b3lha 04-29-2007 10:06 AM

I got some emails that people have been trying to PM me but my mailbox was full. I've cleared some space now. You can also email me at b3lha:rolleyes: alcyone:)org:)uk.

cozykat 04-29-2007 09:44 PM

bump
 
just want to keep track of this posting as I understand assembly so this might be something I can play with later. :)

b3lha 04-30-2007 10:25 AM

So far I've had good results doing this on my 94 SVX Version S40ii and my 96 Legacy. I've just discovered that it doesn't work on my 91 SVX Version L. :(

It connects OK and the ECU does respond to the commands I send. But the data it sends back does not conform to the protocol. The response is different every time I run the command :confused: . It looks random. I thought maybe my ECU had a faulty transmitter, so I tried it on another 91 Version L - and that one does exactly the same thing!

Maybe the early cars use a different protocol. Maybe it's just the 4WS cars. Maybe they are actually both faulty in the same way. Could be a bug in the early CPUs. At some point I'll investigate further.

For now I'm going to concentrate on figuring out the assembly code. I've already found a few interesting routines, but it's slow and time-consuming work. I'll post some updates on my website when I have enough information to make it worthwhile.

Phil.

b3lha 05-13-2007 04:13 PM

I had a bit of a breakthough with the parameter locations. I found that one of the parameter sets supplied with the software was a partial match for my Legacy. So I disassembled the Legacy firmware, looked at the code that accessed those locations, and then looked for similar code in the SVX firmware. Further information on my website http://www.alcyone.org.uk/ssm

I took a couple of screenshots of the software running on my 94 SVX. Could one of the engine gurus please comment on whether the data looks correct?

http://www.subaru-svx.net/photos/files/b3lha/43938.jpg
http://www.subaru-svx.net/photos/files/b3lha/43939.jpg

Phil.

cdvs 05-13-2007 04:29 PM

Great progress!

Any chance we could get some pictures large enough to read?

Thanks for your efforts.

b3lha 05-13-2007 04:37 PM

Quote:

Originally Posted by cdvs
Great progress!

Any chance we could get some pictures large enough to read?

Thanks for your efforts.

Pictures Enlarged.:)


All times are GMT -6. The time now is 01:09 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
© 2001-2015 SVX World Network
(208)-906-1122