I did a quick review of the wiring schematic looking for diffs between a 1995 EJ22 ecu and EJ25 ecu hookups. I saw that there were several diffs that would make a big difference and explained the fact that, when i installed my 95 ecu in the 97 outback with 1995 EJ22 installed, I got a nostart condition.
So.....don't think that installing the ej22 is going to work with you folks either.
I've also played with introducing a signal back to the 97 ecu by introducing 12 volts with a resistor to knock it down to about 5. Still got the cel. In reading more about the issue, the computer is also looking at sensors that would indicate that the egr is allowing hot exhaust gases back up into the intake (via the tube that WAS installed on the ej25 head/intake manifold). If it doesn't sense that the exhaust is being allowed back up into the intake, it throws a cel. I'm still not certain whether there is a negative affect on how the vehicle runs tho. My ej22 runs pretty well at idle. But when cold i get a bucking unless i raise the revs when in lower gears. I also don't get the gas economy that I was hoping for.
I'm leaning toward drilling/tapping the rear side of the ej22 head to allow installation of the egr tube.
ps: if anyone is interested in taking a look at the wiring diagrams i'm referencing, have a go...
http://www.weidefamily.net/vanagon/Pending_Content/Engine_Conversion/Reference/WiringDiagrams/
brent