Been through the works with this today, including spending 2 hours in the rain making a crank sensor mount.
I checked it all out and I think Dan is correct with his crank teeth post, I have moved the cam sensor onto a temp mount by the alternator, 5.5 teeth ahead of the missing tooth as per the vanos engines.
Cam sensor was wrong, it was fitted 180 out and did not have the 50 degrees of lead mentioned here:
http://e30tech.com/forum/showthread.php?t=63504&page=16
Still no joy though, seem to have fuel but no spark.
Things I am sure of:
1. Its wired up correctly, I have been through it 4 or 5 times now, continuity checks from the ECU plug to the sensor plugs, resistance and continuity check at the ECU plug with the sensors in place and voltage/earth checks at the ECU plug.
2. I am getting fuel, plugs are wet and it stinks after several cranking attempts, not enough to wet the plugs beyond firing though.
3. Battery and voltages are ok, the car was running a few weeks ago on the M1.3 and the battery has been disconnected since (had a charge pack on it as well).
4. CPS is ok, I have tried two different CPS's and have checked the resistance on both, I have also used both on the M1.3 at various times.
5. coils have 12v, coils have earths, coils have continuity at the ECU. Resistance comes out at like 1ohm on primary coil.
I plugged it into INPA and have several errors, two of them are easy and as far as I am aware irrelevant to the no-spark issue, vanos solenoid disconnected (obviously), purge valve disconnected (it is). It tells me the Lambda has multiple faults (I was dicking about with the sensor and the relay, plugged in and out as I was worried about over fueling, it's not inside the exhaust yet).
The ones that are bothering me are:
- All coils bar coil 3 showing open circuit - Its not, I have tested twice, I can beep them out for continuity at the ECU plug, I can also get the correct/same coil resistance at the ECU plug.
Yesterday I checked all of that part of the loom wire by wire and section by section.
- It's puking that the TPS is both open and shorted to ground

again it's not, I have checked the loom and the resistance at the ECU, it also varies with throttle movement (new sensor, M52 style), I know I need to adjust it to read the correct idle resistance but that won't cause no spark.
- It thinks the knock sensors are open circuit (again checked) and that they are out of range (plausibility fault)
Now none of these can be possible as the test/checks have shown. I was starting to suspect the ECU but I think I may have been a clown and have just read the ECU cases need to be earthed, it was just resting on top of the washer tank.
Could this have done it or is the ECU toast?
INPA reports no ECU problems, no cranks sensor or cam sensor problems (only checked today, might have complained yesterday) no MAF issues, CLT and IAT are working, ICV is fine.
I have no way of knowing if this ECU is ok as it came out of a scrapyard car but the errors damn seem like an earth fault to me. Can not having the case bolted down and earthed really cause this?
Final thing that is bothering me is that this should be an EWS free red/purple label 413ECU, No spark is making me think this has some kind of EWS, wire 66 is cut in anycase so it should all be fine right?
We are close, very close...
