Subaru · 2001-05

Subaru Impreza WRX GD / GG EJ205 ECU and tuning guide

The Subaru Impreza WRX GD / GG EJ205 (2001-05) runs the EJ20 / EJ205 / EJ207 (WRX / STI JDM): 2 L B4, turbocharged, port injection, cable throttle.

Reviewed by GAINS editorial team on 2026-11-04.

Factory ECU, pinout and chassis research on this page is shared with Subaru Impreza WRX STI GD EJ257.

Years1992-14
Displacement2L
LayoutB4
InductionTurbocharged
InjectionPort injection
Cam controlAVCSlater
IgnitionCoil-on-plug
Swap demandMedium

Part of the Subaru EJ family.

Modeled power and torque

Modelled estimate, not a dyno result.

EJ20 / EJ205 / EJ207 (WRX / STI JDM): stock vs common buildsmodeled

Modeled estimate, not a dyno measurement. Real results vary with fuel, weather, dyno type and build.

Stock (factory-rated peaks; shape modeled)
010020030040050001002003004001k2k3k4k5k6khplb-ftrpm
Solid = power (hp), dashed = torque (lb-ft). Shaded bands show the modeled uncertainty. Hover for values.

Stock is anchored to the factory rating (227 hp at 6000 rpm, 217 lb-ft at 4000 rpm); the curve shape between peaks is modeled. Bolt-ons + tune (pump fuel, more boost): Stock turbo/supercharger; gains limited by compressor and fuel system.

EJ20 / EJ205 / EJ207 (WRX / STI JDM) data

Platform background

The GD saloon and GG wagon brought the WRX to the US for 2002 (EJ205, then EJ255 for 2006-07) and the STI for 2004 (EJ257, 6-speed, DCCD). Other markets kept the 2.0 litre EJ207 STi until 2005-07. The engines moved to coil-on-plug ignition, tumble generator valves and, from the GD.II update, intake AVCS. A community transcription of the 2002 USDM WRX ECM pinout from Subaru wiring documentation is reproduced below at low confidence.

Factory ECU

Engines

EJ205 (WRX 2001-05), EJ255 (US WRX 2006-07; AU WRX 2005-07), EJ207 (STi JP/UK/AU 2001-05), EJ257 (US STI 2004-07, AU 2005-07)

Sourced · medium1324
ECM connectors (2002 USDM WRX)Five connectors labelled A-E in the source transcriptionLow confidence6
Load sensing (2002 USDM WRX)MAF plus MAP, front A/F sensor and rear O2, EGT sensor inputLow confidence6
IgnitionFour-coil direct ignition, from Oct 2000 on the WRXSourced · medium1
AVCS

Intake AVCS (35 deg) from GD.II WRX (Nov 2002) and on GD EJ207/EJ257

Sourced · medium124
DiagnosticsSSM/GST line on the ECM2002 USDM WRXLow confidence6

The GD-era ECM handles MAF load, adaptive knock control, wastegate duty, TGV motors and position sensors, IAC, EVAP, fan relays and the fuel pump controller. Reflash is the dominant tuning route. Standalone conversions must replace the fuel pump controller drive and TGV logic (or delete the TGVs), and on STIs, interface with DCCD and DBW.

Factory ECU: harness cross-reference

From the factory ECU each listed harness plugs into. The factory ECU is unplugged, not modified. Check the label and part number on your own ECU before ordering.

Subaru EJ20 16-bit DBC ECU (GD WRX/STI MY01-05)
22611AJ03022611AJ89022611AJ810
ECU family
Subaru 22611AJ-series (16-bit, drive-by-cable)
Applies to
GDB WRX MY01-05 all regions; STI MY01-05 JDM/ADM; EJ20 non-DBW; manual
Not for
USDM STI (EJ257); DBW; automatic (e.g. 22611AJ040 AT)

USDM WRX examples (AJ030 2003 MT, AJ890 2004-05 MT) and a GDB unit (AJ810). Earlier AF-series (e.g. 22611AF422) also seen. Supplier not confirmed.

Low confidenceUnverifiedE-1445
Subaru ECM (EJ205, 2002-05 Impreza WRX, GD/GG)
22611AJ03022611AJ03122611AJ03422611AJ04022611AJ04122611AH79122611AH79222611AH79322611AH79522611AH80122611AH80222611AH80322611AH80522611AJ89022611AJ892
ECU family
Subaru GD/GG Impreza WRX ECM (MY02-05)
Applies to
2002-2005 Impreza WRX 2.0T; USDM (transmission not stated by catalogue)

2003: AJ030/031 -> AJ034, AJ040 -> AJ041; 2004: AH791/792/793 -> AH795, AH801/802/803 -> AH805; 2005: AJ890 -> AJ892. Catalogue does not separate M/T vs A/T; MY02 numbers not found. Examples.

Sourced · mediumE-1491E-1492E-1494
Subaru ECM (EJ207, JDM Impreza WRX STI GDB / non-USDM WRX)
22611AJ820
ECU family
Subaru GD Impreza STI ECM (JDM)
Applies to
2001-2007 JDM STI and non-USDM WRX, manual; non-immobiliser
Not for
immobiliser cars use BF29202-S3

22611AJ820 (GDB Spec C E-type 6MT 04.6-05.5) from a JDM parts seller; example only.

Low confidenceUnverifiedE-1499
Subaru ECM (EJ207, JDM STI / non-USDM WRX with immobiliser)Part numbers not yet sourced.
ECU family
Subaru GD Impreza STI ECM (JDM, immobiliser)
Applies to
2001-2007 JDM STI / non-USDM WRX with immobiliser, manual
Not for
non-immobiliser cars use BF29201-S3

No OEM number found.

Low confidenceUnverified

Factory ECU pinout

Each connector face drawn from the OEM service manual's pin data, with every terminal's function and wire colour where the manual prints it.

Subaru Impreza WRX (GD/GG) EJ205 ECM, 2002 USDM

The 2002 US-market Impreza WRX (GD/GG, EJ205 turbo) engine control module uses five harness connectors: A (B134, 22 cavities), B (B135, 28), C (B136, 24), D (B137, 31) and a turbo-only E (B84, 17), 122 cavities in all. Subaru's wiring manual shows 85 terminals wired, with wire colours, covering injectors, coils, VR crank and cam inputs, TGV, wastegate and the A/T link.

2002 model year (transcribed); 2003-2005 not checked against their own manuals · USA (2002 Impreza Service Manual, Wiring System section, turbo engine model) · 5 connectors, 122 cavities · 85 terminals sourced, 37 unverified

ECM connector A (B134)22 cavities · 22 terminals listed · Subaru ECM harness plug as drawn in the 2002 Impreza wiring manual: 22-cavity, three rows (5+2 / 8 / 2+5), lock bracket on the top edge.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedSubaru's wiring manual (WI-5) draws each connector 'in a disconnected state which is viewed from the front', i.e. looking into the mating face, and (WI-6) says the sketch 'usually' shows the (A) side. The ECM figures (labelled A: B134 to E: B84) are drawn lock-up with terminal 1 top-left, and are taken as the harness plug's mating face. The manual does not label this particular figure harness- or ECM-side, so geometry confidence is medium.
Subaru Impreza WRX (GD/GG) EJ205 ECM, 2002 USDM: ECM connector A (B134)Corner post as drawnCorner post as drawnLock (raised bracket as drawn)1: Vehicle speed signal12: A/C switch23: Rear defogger switch34: No circuit drawn on the 2002 turbo (WRX) wiring diagrams45: Ignition switch (IG) input56: Main relay control67: Ground (control systems)78: Neutral position switch (M/T) / inhibitor switch (A/T)89: Blower fan switch910: Flash memory connector1011: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1112: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1213: Fuel pump controller signal 11314: Test mode / diagnosis connector line1415: Ground (control systems)1516: Starter switch signal1617: Small light (illumination) switch1718: Torque control signal 2 (to TCM)1819: Torque control signal 1 (to TCM)1920: Line to data link connector B40 terminal 82021: SSM / GST communication line2122: Ground (power supply)22
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Vehicle speed signalpulse input, 0 or 5 VGYShared with the combination meter (i10 A2). Source is the vehicle speed sensor B17 (M/T) or the TCM B56 terminal 17 (A/T) per WI-68. Community table: four pulses per front differential revolution.
2A/C switch12 V switch inputLYEWD routes it to the A/C diagram (REF. TO A/C(M)-01); the function name comes from the transcribed I/O table. (medium confidence)
3Rear defogger switchswitch input (0 V when ON)LEWD routes it to REF. TO R/DEF-01; function name from the transcribed I/O table. (medium confidence)
4No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
5Ignition switch (IG) input12 V ignition-switched inputGRFrom F/B fuse No. 11 (IG), shared with the fuel pump relay coil (WI-67).
6Main relay controlmain relay coil driveLgWFeeds main relay B47 terminal 2; the coil's other end (terminal 1, B) is grounded (WI-69).
7Ground (control systems)chassis/engine groundBRJoined with A15 and E1 to engine ground GE-1 (WI-29, WI-76).
8Neutral position switch (M/T) / inhibitor switch (A/T)switch inputGB (M/T), WB (A/T)M/T: neutral position switch B128 terminal 1, GB (WI-71). A/T: WB from the inhibitor switch circuit (WI-69). The ECM end colour differs by transmission.
9Blower fan switchswitch input (0 V when ON)GREWD routes it to REF. TO A/C(M)-01; function name from the transcribed I/O table. (medium confidence)
10Flash memory connectorprogramming lineRWGoes to flash memory connector B250 terminal 1 (WI-71). The community transcription calls A10 'Line end check 1'; the wiring diagram shows only the B250 link.
11No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
12No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
13Fuel pump controller signal 1control output to fuel pump controllerLgRTo fuel pump controller R122 terminal 9 (WI-67).
14Test mode / diagnosis connector line5 V, grounded to select test modeOrCommon to diagnosis connector B82 terminal 5, check connector B79 terminal 4 and the line end connector B126 (WI-71). Voltage from the community table.
15Ground (control systems)chassis/engine groundBRJoined with A7 and E1 to GE-1 (WI-29).
16Starter switch signal12 V while crankingYTapped from the starter motor S terminal circuit (B14) (WI-69).
17Small light (illumination) switchswitch input (0 V when ON)BWEWD routes it to REF. TO ILLUMI-01; function name from the transcribed I/O table. (medium confidence)
18Torque control signal 2 (to TCM)ECM-TCM signal linePGA/T models: to TCM B56 terminal 14 (WI-43). Signal name from the transcribed I/O table. (medium confidence)
19Torque control signal 1 (to TCM)ECM-TCM signal lineRYA/T models: to TCM B56 terminal 5 (WI-43). The community table also lists A19 as the fuel tank pressure sensor ground; the wiring diagram instead returns that sensor's ground (RG) to the sensor ground joint, so treat that line as a transcription error. (medium confidence)
20Line to data link connector B40 terminal 8Comms / diagYGWiring diagram shows only the destination (WI-71); the I/O table we could read does not name this terminal. (medium confidence)
21SSM / GST communication lineserial diagnostic lineLgBTo data link connector B40 terminal 10 and check connector B79 terminal 12 (WI-71).
22Ground (power supply)chassis/engine groundBWJoined with C17 to GE-1 (WI-29).

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

ECM connector B (B135)28 cavities · 28 terminals listed · Subaru ECM harness plug as drawn in the 2002 Impreza wiring manual: 28-cavity, three rows (6+3 / 10 / 3+6), lock bracket on the top edge.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedSubaru's wiring manual (WI-5) draws each connector 'in a disconnected state which is viewed from the front', i.e. looking into the mating face, and (WI-6) says the sketch 'usually' shows the (A) side. The ECM figures (labelled A: B134 to E: B84) are drawn lock-up with terminal 1 top-left, and are taken as the harness plug's mating face. The manual does not label this particular figure harness- or ECM-side, so geometry confidence is medium.
Subaru Impreza WRX (GD/GG) EJ205 ECM, 2002 USDM: ECM connector B (B135)Corner post as drawnCorner post as drawnLock (raised bracket as drawn)1: Camshaft position sensor signal (+)12: Crankshaft position sensor signal (+)23: No circuit drawn on the 2002 turbo (WRX) wiring diagrams34: Knock sensor signal45: No circuit drawn on the 2002 turbo (WRX) wiring diagrams56: Fuel temperature sensor signal67: Throttle position sensor signal78: Intake manifold pressure (MAP) sensor signal89: Sensor power supply (5 V)910: Camshaft position sensor signal (-)1011: Crankshaft position sensor signal (-)1112: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1213: Tumble generator valve position sensor LH1314: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1415: Fuel tank pressure sensor signal1516: Exhaust gas temperature sensor signal1617: Rear oxygen sensor signal1718: Engine coolant temperature sensor signal1819: Sensor ground1920: A/T diagnosis input signal (from TCM)2021: Shield (crank and cam sensor cables)2122: Shield (knock sensor cable)2223: Tumble generator valve position sensor RH2324: Power steering oil pressure switch2425: Fuel level sensor signal2526: Shield (rear oxygen sensor cable)2627: Intake air temperature sensor signal2728: A/T load signal (to TCM)28
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Camshaft position sensor signal (+)VR sensor +RTo cam sensor E15 terminal 1 via E1/B20 terminal 2 (Or on the engine side) (WI-73). Polarity name from the I/O table (about -7 to +7 V waveform at idle).
2Crankshaft position sensor signal (+)VR sensor +WTo crank sensor E10 terminal 1 via E1/B20 terminal 4 (OrL on the engine side) (WI-73).
3No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
4Knock sensor signalpiezo knock sensor inputWTo knock sensor E14 terminal 2 via E1/B20 terminal 6 (RL on the engine side), shielded (WI-73).
5No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
6Fuel temperature sensor signalthermistor, 0-5 V analogLBIn the fuel pump assembly (WI-67).
7Throttle position sensor signal0-5 V analogLgTPS E13 terminal 3 (YG on the engine side of F61) (WI-75); also feeds the TCM on A/T models (WI-43). I/O table: about 0.2-1.0 V closed, 4.2-4.7 V open.
8Intake manifold pressure (MAP) sensor signal0-5 V analogYBPressure sensor E21 terminal 1 (Or on the engine side) (WI-75).
9Sensor power supply (5 V)5 V referenceSbFeeds TPS, pressure sensor, both TGV angle sensors and the fuel tank pressure sensor (WI-67, WI-75). 'Sb' is printed as-is; it is not in the manual's colour-code table.
10Camshaft position sensor signal (-)VR sensor -BTo cam sensor E15 terminal 2 via E1/B20 terminal 1 (W on the engine side) (WI-73).
11Crankshaft position sensor signal (-)VR sensor -GTo crank sensor E10 terminal 2 via E1/B20 terminal 3 (WL on the engine side) (WI-73).
12No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
13Tumble generator valve position sensor LH0-5 V analogBrYTGV angle sensor LH E50 terminal 3 (YR on the engine side) (WI-75).
14No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
15Fuel tank pressure sensor signal0-5 V analogGOrFuel tank pressure sensor R47 terminal 1 (WI-67).
16Exhaust gas temperature sensor signalanalog inputWBExhaust gas temperature sensor B279 terminal 1 (WI-72).
17Rear oxygen sensor signal0-0.9 V narrow-bandWRear oxygen sensor B19 terminal 3, shielded (WI-72).
18Engine coolant temperature sensor signalthermistor, 0-5 V analogBYCoolant temperature sensor E8 terminal 2 (WI-75).
19Sensor groundsensor ground returnRGVia shield and sensor ground joint connector B83 terminal 8 (WI-72). The community table prints both RG and RB for this pin; the wiring diagram shows RG.
20A/T diagnosis input signal (from TCM)ECM-TCM signal lineBrRA/T models: to TCM B56 terminal 21 (WI-43). Signal name from the transcribed I/O table. (medium confidence)
21Shield (crank and cam sensor cables)shield drainSBCommon shield for the crank and cam sensor pairs (WI-73). SB = sealed (outer) / shield in Subaru's colour table.
22Shield (knock sensor cable)shield drainSB
23Tumble generator valve position sensor RH0-5 V analogBrRTGV angle sensor RH E54 terminal 3 (WR on the engine side) (WI-75).
24Power steering oil pressure switchswitch input (0 V when ON)OrBPS oil pressure switch E19 (WI-74).
25Fuel level sensor signalanalog inputBrWFrom the fuel level / sub level sensor circuit (WI-67).
26Shield (rear oxygen sensor cable)shield drainSB
27Intake air temperature sensor signalthermistor, 0-5 V analogBrIn the mass air flow sensor B3, terminal 4 (WI-72).
28A/T load signal (to TCM)ECM-TCM signal lineGWA/T models: to TCM B55 terminal 1 (WI-43). Signal name from the transcribed I/O table. (medium confidence)

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

ECM connector C (B136)24 cavities · 24 terminals listed · Subaru ECM harness plug as drawn in the 2002 Impreza wiring manual: 24-cavity; top row has two standard cavities then five larger double-framed cavities (3-7) drawn at a wider pitch, lock bracket over 3-5.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedSubaru's wiring manual (WI-5) draws each connector 'in a disconnected state which is viewed from the front', i.e. looking into the mating face, and (WI-6) says the sketch 'usually' shows the (A) side. The ECM figures (labelled A: B134 to E: B84) are drawn lock-up with terminal 1 top-left, and are taken as the harness plug's mating face. The manual does not label this particular figure harness- or ECM-side, so geometry confidence is medium.
Subaru Impreza WRX (GD/GG) EJ205 ECM, 2002 USDM: ECM connector C (B136)Corner post as drawnCorner post as drawnLock (raised bracket as drawn)1: No circuit drawn on the 2002 turbo (WRX) wiring diagrams12: No circuit drawn on the 2002 turbo (WRX) wiring diagrams23: No circuit drawn on the 2002 turbo (WRX) wiring diagrams34: Fuel injector #445: Fuel injector #356: Fuel injector #267: No circuit drawn on the 2002 turbo (WRX) wiring diagrams78: Ground (injectors)89: Engine speed (tachometer) output910: Idle air control solenoid valve1011: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1112: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1213: Rear oxygen sensor heater1314: Torque control cut signal (to TCM)1415: Fuel pump controller signal 21516: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1617: Ground (power supply)1718: Ground (ignition coils)1819: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1920: No circuit drawn on the 2002 turbo (WRX) wiring diagrams2021: Ignition coil #4 trigger2122: Ignition coil #3 trigger2223: Ignition coil #2 trigger2324: Ignition coil #1 trigger24
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
2No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
3No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
4Fuel injector #4low-side injector driverPGInjector No. 4 E17 terminal 1 (YW on the engine side of F60) (WI-77).
5Fuel injector #3low-side injector driverPBInjector No. 3 E6 terminal 1 (W on the engine side) (WI-77).
6Fuel injector #2low-side injector driverPLInjector No. 2 E16 terminal 1 (LW on the engine side) (WI-77).
7No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
8Ground (injectors)engine groundBYTo GE-1 (WI-29, WI-76).
9Engine speed (tachometer) outputrpm pulse outputGTo the combination meter tachometer (i10 A5) and, on A/T, the TCM (WI-68, WI-43).
10Idle air control solenoid valveIAC solenoid driverRIAC solenoid valve E7 terminal 2 (WI-74).
11No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
12No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
13Rear oxygen sensor heaterheater low-side driverRWRear oxygen sensor B19 terminal 1 (WI-72).
14Torque control cut signal (to TCM)ECM-TCM signal lineYRA/T models: to TCM B55 terminal 10 (WI-43). Signal name from the transcribed I/O table. (medium confidence)
15Fuel pump controller signal 2control output to fuel pump controllerVWFuel pump controller R122 terminal 8 (WI-67).
16No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
17Ground (power supply)engine groundBWJoined with A22 to GE-1 (WI-29).
18Ground (ignition coils)engine groundBTo GE-1 (WI-29).
19No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
20No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
21Ignition coil #4 triggerignition trigger to coil with igniterYGIgnition coil No. 4 E34 terminal 1 (Y on the engine side); coils are three-wire (signal, RY supply, BY ground) (WI-76).
22Ignition coil #3 triggerignition trigger to coil with igniterYRIgnition coil No. 3 E33 terminal 1 (WY on the engine side) (WI-76).
23Ignition coil #2 triggerignition trigger to coil with igniterYBIgnition coil No. 2 E32 terminal 1 (LY on the engine side) (WI-76).
24Ignition coil #1 triggerignition trigger to coil with igniterYIgnition coil No. 1 E31 terminal 1 (GY on the engine side) (WI-76).

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

ECM connector D (B137)31 cavities · 31 terminals listed · Subaru ECM harness plug as drawn in the 2002 Impreza wiring manual: 31-cavity; top row of nine larger double-framed cavities (1-2, gap, 3-9), rows two and three at standard pitch, lock bracket over 4-6.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedSubaru's wiring manual (WI-5) draws each connector 'in a disconnected state which is viewed from the front', i.e. looking into the mating face, and (WI-6) says the sketch 'usually' shows the (A) side. The ECM figures (labelled A: B134 to E: B84) are drawn lock-up with terminal 1 top-left, and are taken as the harness plug's mating face. The manual does not label this particular figure harness- or ECM-side, so geometry confidence is medium.
Subaru Impreza WRX (GD/GG) EJ205 ECM, 2002 USDM: ECM connector D (B137)Corner post as drawnCorner post as drawnLock (raised bracket as drawn)1: Fuel injector #112: Control unit power supply (from main relay)23: Control unit power supply (from main relay)34: Front oxygen (A/F) sensor heater45: Front oxygen (A/F) sensor heater56: No circuit drawn on the 2002 turbo (WRX) wiring diagrams67: No circuit drawn on the 2002 turbo (WRX) wiring diagrams78: Ground89: Ground910: Back-up power supply (battery)1011: Drain valve1112: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1213: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1314: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1415: Malfunction indicator lamp (Check Engine)1516: Purge control solenoid valve1617: Radiator fan relay 1 control1718: Shield (front A/F sensor cable)1819: Front oxygen (A/F) sensor (+)1920: No circuit drawn on the 2002 turbo (WRX) wiring diagrams2021: No circuit drawn on the 2002 turbo (WRX) wiring diagrams2122: Pressure control solenoid valve2223: No circuit drawn on the 2002 turbo (WRX) wiring diagrams2324: Wastegate control solenoid valve2425: No circuit drawn on the 2002 turbo (WRX) wiring diagrams2526: No circuit drawn on the 2002 turbo (WRX) wiring diagrams2627: A/C relay control2728: Radiator fan relay 2 control2829: Front oxygen (A/F) sensor (-)2930: No circuit drawn on the 2002 turbo (WRX) wiring diagrams3031: No circuit drawn on the 2002 turbo (WRX) wiring diagrams31
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Fuel injector #1low-side injector driverPInjector No. 1 E5 terminal 1 (GW on the engine side) (WI-77).
2Control unit power supply (from main relay)12 V switched supplyYLMain relay B47 terminal 3 output; D2 and D3 are joined (WI-69).
3Control unit power supply (from main relay)12 V switched supplyYLPaired with D2 (WI-69).
4Front oxygen (A/F) sensor heaterheater low-side driverWD4 and D5 are joined to front A/F sensor B18 terminal 1 (WI-72); heater supply is YR from the main relay.
5Front oxygen (A/F) sensor heaterheater low-side driverWPaired with D4 (WI-72).
6No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
7No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
8Groundengine groundBLD8 and D9 joined to GE-1 (WI-29, WI-76). Not listed in the community I/O transcription.
9Groundengine groundBLPaired with D8 (WI-29).
10Back-up power supply (battery)12 V constant batteryBRFrom SBF-5 (B), live with ignition OFF (WI-69).
11Drain valvesolenoid low-side driverBrYDrain valve R69 terminal 2 (WI-67).
12No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
13No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
14No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
15Malfunction indicator lamp (Check Engine)lamp low-side driverRWTo the combination meter MIL (i12 C6) (WI-68).
16Purge control solenoid valvesolenoid low-side driverWLPurge control solenoid valve E4 terminal 2 (LgY on the engine side) (WI-77).
17Radiator fan relay 1 controlrelay low-side driverRLEWD routes it to REF. TO R/F(TB)-01 (WI-70).
18Shield (front A/F sensor cable)shield drainSB
19Front oxygen (A/F) sensor (+)A/F sensor terminal, about 2.8-3.2 VWFront A/F sensor B18 terminal 4 (WI-72). Voltage from the I/O table.
20No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
21No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
22Pressure control solenoid valvesolenoid low-side driverLgBPressure control solenoid valve R68 terminal 2 (WI-67).
23No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
24Wastegate control solenoid valvesolenoid driverBWWastegate solenoid B127 terminal 1; terminal 2 is YL from the main relay (WI-72).
25No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
26No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
27A/C relay controlrelay low-side driverBrEWD routes it to REF. TO A/C(M)-01 (WI-70).
28Radiator fan relay 2 controlrelay low-side driverGREWD routes it to REF. TO R/F(TB)-01 (WI-70).
29Front oxygen (A/F) sensor (-)A/F sensor terminal, about 2.4-2.7 VBFront A/F sensor B18 terminal 3 (WI-72).
30No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
31No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

ECM connector E (B84, turbo only)17 cavities · 17 terminals listed · Subaru ECM harness plug as drawn in the 2002 Impreza wiring manual: 17-cavity, three rows (6 / 6 / 3+2), lock bracket on the top edge.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedSubaru's wiring manual (WI-5) draws each connector 'in a disconnected state which is viewed from the front', i.e. looking into the mating face, and (WI-6) says the sketch 'usually' shows the (A) side. The ECM figures (labelled A: B134 to E: B84) are drawn lock-up with terminal 1 top-left, and are taken as the harness plug's mating face. The manual does not label this particular figure harness- or ECM-side, so geometry confidence is medium.
Subaru Impreza WRX (GD/GG) EJ205 ECM, 2002 USDM: ECM connector E (B84, turbo only)Corner post as drawnCorner post as drawnLock (raised bracket as drawn)1: Ground (M/T models)12: No circuit drawn on the 2002 turbo (WRX) wiring diagrams23: No circuit drawn on the 2002 turbo (WRX) wiring diagrams34: Tumble generator valve actuator RH45: Tumble generator valve actuator RH56: No circuit drawn on the 2002 turbo (WRX) wiring diagrams67: Mass air flow sensor ground78: Shield (MAF sensor cable)89: No circuit drawn on the 2002 turbo (WRX) wiring diagrams910: Tumble generator valve actuator LH1011: Tumble generator valve actuator LH1112: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1213: Mass air flow sensor signal1314: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1415: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1516: No circuit drawn on the 2002 turbo (WRX) wiring diagrams1617: No circuit drawn on the 2002 turbo (WRX) wiring diagrams17
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Ground (M/T models)engine groundBRDrawn with an M/T arrow; joined with A7 and A15 to GE-1 (WI-29, WI-76).
2No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
3No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
4Tumble generator valve actuator RHTGV motor driveLGTGV RH E55 terminal 1 (WL on the engine side) (WI-74). The community I/O table calls E4 'TGV RH (open)'.
5Tumble generator valve actuator RHTGV motor driveYGTGV RH E55 terminal 2 (GL on the engine side) (WI-74). Community table: 'TGV RH (close)'.
6No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
7Mass air flow sensor groundsensor ground returnBGMAF sensor B3 terminal 2 (WI-72).
8Shield (MAF sensor cable)shield drainSB
9No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
10Tumble generator valve actuator LHTGV motor driveLYTGV LH E51 terminal 1 (L on the engine side) (WI-74). Community table: 'TGV LH (close)'.
11Tumble generator valve actuator LHTGV motor driveLTGV LH E51 terminal 2 (YL on the engine side) (WI-74). Community table: 'TGV LH (open)'.
12No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
13Mass air flow sensor signal0-5 V analog (about 0.3-4.5 V)PLMAF sensor B3 terminal 3, shielded (WI-72).
14No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
15No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
16No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.
17No circuit drawn on the 2002 turbo (WRX) wiring diagramsOther / not used—Unverified, check before wiring. WI-29 and WI-67 to WI-77 draw no wire to this cavity. It may be unused on this car or used on another market/trim; confirm before using it.

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

Coverage, year splits and safety

Scope: every wired terminal here is transcribed from the 2002 Impreza Service Manual (US), Wiring System section, Engine Electrical System 'Turbo engine model' (WI-67 to WI-77) and Ground Distribution (WI-29). The 2003-2005 US WRX and non-US GD/GG cars were not checked against their own manuals; the catalog row spans 2001-05 and several markets, so confirm year and market before wiring.

Function names for switch inputs routed to other diagrams (A/C switch, blower, rear defogger, illumination) and for the A/T link signals (torque control 1, 2 and cut, A/T load, A/T diagnosis) come from a community transcription of Subaru's ECM I/O signal table that agrees with the wiring diagram on every pin and colour we compared. Those pins are marked medium confidence. The Engine (Diagnostics) section with Subaru's own I/O table was not available to check.

Variants: A8 is the M/T neutral position switch (GB) or the A/T inhibitor circuit (WB); E1 ground is drawn for M/T only; A18, A19, B20, B28 and C14 only connect to the TCM on A/T cars. Cavities with no circuit on these pages are listed as unverified with no function.

Wire colours are Subaru's codes, base colour first then stripe (L blue, B black, Y yellow, G green, R red, W white, Br brown, Lg light green, Gr grey, P pink, Or orange, Lb light blue, V violet, SA/SB sealed inner/outer, i.e. shielded). The diagram also prints 'Sb' on the 5 V sensor supply, which is not in that table. Where an inline connector changes colour, the ECM-end colour is listed and the far-end colour is in the notes.

Safety: disconnect the battery negative terminal before unplugging the ECM. Subaru's wiring manual tells technicians to probe waterproof connectors carefully from the terminal side without bending terminals; never force sharp probes into seals or spread the female terminals, and never jump ECM pins with the ignition on.

All factory ECU pinouts →

Plug-and-play harness

Route for this carS3 plug-in harness
1 · S3 plug-in2 · Factory-connector adapter3 · Wire-in

A plug-in harness built for the Haltech Nexus S3 pinout is listed for this vehicle. The ECU2 follows that published pinout, so the factory ECU is unplugged and the ECU2 plugs into the car's own loom. Nothing is written to the factory ECU. Pin-compatible per the published S3 pinout, not yet fit-tested.

MakerHarnessFitsLink
Subaru WRX 01-05HT-186366GDB WRX MY01-05 all regions; STI MY01-05 JDM/ADM; EJ20 non-DBW; manual$535LowestMaker ↗
Manual 2002 - 2005 Subaru WRXBF29116-S32002-2005 Impreza WRX 2.0T; USDM (transmission not stated by catalogue)$840Maker ↗
Manual 2001 - 2007 Subaru STI JDMBF29201-S32001-2007 JDM STI and non-USDM WRX, manual; non-immobiliser$840Maker ↗
Manual 2001 - 2007 Subaru STI JDM IMMOBF29202-S32001-2007 JDM STI / non-USDM WRX with immobiliser, manual$840Maker ↗
Wire-inUniversal flying lead or re-terminated factory harnessAny engine (terminate to ECU2's two Superseal 34 connectors)Universal harness from $405Maker ↗

Nexus S3 Plug n Play Adapter Harness Subaru WRX 01-05

$535USD list · excl. tax
Plug-and-playManual onlyOff-road / competition onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru EJ20 16-bit DBC ECU (GD WRX/STI MY01-05) · 22611AJ030, 22611AJ890…
OEM part numbers
22611AJ030, 22611AJ890, 22611AJ810
ECU
Subaru 22611AJ-series (16-bit, drive-by-cable)
Confidence
low

USDM WRX examples (AJ030 2003 MT, AJ890 2004-05 MT) and a GDB unit (AJ810). Earlier AF-series (e.g. 22611AF422) also seen. Supplier not confirmed.

Sources: E-1445

Fits
GDB WRX MY01-05 all regions; STI MY01-05 JDM/ADM; EJ20 non-DBW; manual
Exclusions
USDM STI (EJ257); DBW; automatic (e.g. 22611AJ040 AT)
SKU
HT-186366
Maker fitment
Subaru GDB WRX MY01-05 (all regions); STI MY01-05 JDM and ADM only; EJ20 non-DBW; manual only
Maker notes
kit HT-213310

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2002 - 2005 Subaru WRX

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ205, 2002-05 Impreza WRX, GD/GG) · 22611AJ030, 22611AJ031…
OEM part numbers
22611AJ030, 22611AJ031, 22611AJ034, 22611AJ040, 22611AJ041, 22611AH791, 22611AH792, 22611AH793, 22611AH795, 22611AH801, 22611AH802, 22611AH803, 22611AH805, 22611AJ890, 22611AJ892
ECU
Subaru GD/GG Impreza WRX ECM (MY02-05)
Confidence
medium

2003: AJ030/031 -> AJ034, AJ040 -> AJ041; 2004: AH791/792/793 -> AH795, AH801/802/803 -> AH805; 2005: AJ890 -> AJ892. Catalogue does not separate M/T vs A/T; MY02 numbers not found. Examples.

Sources: E-1491, E-1492, E-1494

Fits
2002-2005 Impreza WRX 2.0T; USDM (transmission not stated by catalogue)
SKU
BF29116-S3
Maker fitment
Subaru WRX (Manual); selector years 2002-2005; SKU label: Manual 2002 - 2005 Subaru WRX
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); USDM 2002-05

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2001 - 2007 Subaru STI JDM

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ207, JDM Impreza WRX STI GDB / non-USDM WRX) · 22611AJ820
OEM part numbers
22611AJ820
ECU
Subaru GD Impreza STI ECM (JDM)
Confidence
low

22611AJ820 (GDB Spec C E-type 6MT 04.6-05.5) from a JDM parts seller; example only.

Sources: E-1499

Fits
2001-2007 JDM STI and non-USDM WRX, manual; non-immobiliser
Exclusions
immobiliser cars use BF29202-S3
SKU
BF29201-S3
Maker fitment
Subaru STI JDM; Subaru WRX NON-USDM (Manual); selector years 2001-2007; SKU label: Manual 2001 - 2007 Subaru STI JDM
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); WRX non-USDM / STI JDM 2001-07

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 2001 - 2007 Subaru STI JDM IMMO

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
Subaru ECM (EJ207, JDM STI / non-USDM WRX with immobiliser)
ECU
Subaru GD Impreza STI ECM (JDM, immobiliser)
Confidence
low

No OEM number found.

Fits
2001-2007 JDM STI / non-USDM WRX with immobiliser, manual
Exclusions
non-immobiliser cars use BF29201-S3
SKU
BF29202-S3
Maker fitment
Subaru STI JDM IMMO; Subaru WRX NON-USDM IMMO (Manual); selector years 2001-2007; SKU label: Manual 2001 - 2007 Subaru STI JDM IMMO
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); immobiliser variant

Haltech and Boomslang are trademarks of their respective owners. GAINS is not affiliated with or endorsed by them.

Your GAINS system for this car · pre-release

ECU2 for the Impreza WRX GD / GG

Planned with the same rules as the configurator for this car's 4 cyl · port injection · cable or drive-by-wire. The factory ECU is unplugged and replaced; nothing is written to it.

  • ECU2Engine controller

    4 cyl · port injection · cable or drive-by-wire

    Full sequential fuel and spark for this 4-cylinder on a cable throttle, with the wideband built in.

    in designEst. availability: April 2027

    Price TBA

Add PDM2 to switch and protect chassis loads (pumps, fans, lights, accessories). Add it in the configurator →

Track days? Add the Telemetry Dongle Pro for 25 Hz GPS lap timing; it plugs into the OBD-II port, and your phone is the dash. Plan it in the configurator →

What you get

  • A screen on the ECUA 2.4-inch, 500-nit display in the lid, readable in a footwell.
  • Faults in plain words"Coolant temp sensor open circuit.
  • S3-style harnessesConnector A and C pin functions follow the published Nexus S3 wiring diagram.
  • Powered CAN portA sealed 4-pin port on the insert carries 12 V and CAN for the PDM2 and GAINS displays: one cable per accessory.
  • GAINS insideThe on-ECU adaptive layer, the app, logging and your limits.

How it wires in

  1. Haltech S3 plug-in harness1 listed · from $535 USD listHT-186366
  2. Factory-connector → S3 adapter3 listed · from $840 USD list
  3. Wire-inAlways possible

Pin-compatible per the published S3 pinout, not yet fit-tested. Every harness option for this car ↓

ECU2 is in design; specifications may change. All GAINS hardware is pre-release concept design; nothing is for sale yet and no application is validated on a vehicle. Harness fitment is from published pinouts and not yet fit-tested.

How GAINS approaches the Impreza WRX GD / GG

Our starting method for this engine, as foundations first: get it running and drivable, then learn fuel, then the hardware-specific strategies. It is a methodology outline, not a validated calibration.

  1. 1
    Base map and first startplanned

    Start from displacement, injector data and the sensors fitted, then let the first-start learner settle cranking, idle and warm-up before any load work. The goal is a safe, running engine, not a finished calibration.

  2. 2
    Lambda targets and VE learningclosed loop on GAINS ECUs

    Air-fuel targets come from your goal (street, track, economy). The ECU then learns its fuel table cell by cell from the onboard wideband inside a signed envelope, and you approve promoting what it learned into the base map.

  3. 3
    Cam phasing (VVT)gated

    Begin with conservative overlap. Cam targets per load cell are then chosen with torque and knock in mind, keeping idle and cold overlap low for stability. Widening cam authority follows the same evidence-gated path as spark.

  4. 4
    Boost controlgated

    A closed-loop boost target by gear and goal, held inside the authority envelope, with knock protection active at boost. Raising boost authority is never automatic; it stays an expert or dyno decision.

  5. 5
    Drivability foundationsplanned

    Pedal map, tip-in and decel fuel, idle control, cold start and warm-up enrichment: the tables tuners spend hours on after the main map. Each is a strategy in the knowledge engine with its own limits.

  6. 6
    Factory load sensingfactory reference

    What the factory ECU measures load with: MAF (hot-wire / hot-film) (low confidence)

  7. 7
    Wideband sensorhardware

    factory sensor type changes by year/market (narrowband on earlier cars); fit a Bosch LSU 4.9 for the GAINS ECU's built-in controller either way

  8. 8
    Bottom end and head sealingfactory reference

    Reported: Per MotoIQ, free-standing open-deck cylinders flex and lose head seal under boost, and OEM hypereutectic pistons fail easily. (medium confidence) Limits depend on tune quality, fuel, rpm and condition and are not guaranteed.

Drivetrain

WRX5-speed manual / 4-speed automaticSourced · medium1
STI6-speed manual with Driver Controlled Center Differential (DCCD)Sourced · medium24

Chassis integration

Cluster tachECM engine speed outputC9 in the 2002 USDM WRX transcriptionLow confidence6
Fans / A/CECM controls radiator fan relays 1 and 2 and the A/C relayLow confidence6
Intercooler spray (EJ207 GD STi)Driver-activated water spray, tank in the bootSourced · medium2
Market datesUS WRX from MY2002, STI from MY2004Low confidence8

Tuning notes

WRX turboTD04L, target about 93 kPa13.5 psiSourced · medium1
EJ257 GD STI turboIHI VF48, max boost 103 kPa14.9 psiSourced · medium4
Compression
  • EJ205 8.0:1 (GD.I) / 9.0:1GD.II
  • EJ207 8.0:1
  • EJ257 8.0:1 (GD AU) / 8.2:1
Sourced · medium124
EJ257 pistons

Cast pistons with weak ringlands are the usual failure point when pushed

Sourced · medium5

The EJ205 is open deck with cast rods and no piston oil jets, so it is best kept to moderate boost. The EJ257 is semi-closed deck but uses cast pistons. The top-mount intercooler heat-soaks, so log IAT on repeated pulls.

Popular swaps

Common swap
  • EJ257 short block or long block into GD WRX
  • Requires matching ECU (AVCS, DBW) and wiring
Low confidence7

GAINS on the Impreza WRX GD / GG

ECU2

ECU2Full sequential fuel and spark for this 4-cylinder on a cable throttle, with the wideband built in.Est. availability: April 2027
Hardware fromPrice TBAPlan and compare costs

Designed so your phone is the laptop, keypad and dash

The GAINS app is designed to handle tuning, logging, gauges and switch inputs over Bluetooth, so the system needs no separate CAN keypad or display. Keypad, dash and logging views are planned; the iOS prototype runs on simulated data today.

Wideband, IMU and logging built in

An onboard Bosch LSU 4.9 wideband controller, a 6-axis IMU and onboard logging are designed into the ECU rather than sold as add-on modules.

Modular, so you buy what the engine needs

This engine runs on ECU2. PDM2 (power, body and gearbox) is optional and connects over ECU2's powered CAN port; the Telemetry Dongle Pro adds GPS lap timing from the OBD-II port.

Calibration that keeps learning

Instead of a fixed map that drifts as parts and conditions change, the ECU keeps adapting its fuel trims within limits you can see and approve in the app.

Adaptive tuning strategies

  • VE learning closed loop on GAINS ECUs

    Learns the fuel table from the onboard wideband as you drive, cell by cell, inside a signed authority envelope. Learned trims are promoted into the base map without a step in fuelling.

  • Goal-based lambda targets closed loop on GAINS ECUs

    Sets air-fuel targets from your goal (economy, response, power, safety margin) instead of a single fixed table.

  • Knock protection protection

    Listens for knock on a dedicated knock processor, pulls timing at once and restores it slowly. It only ever reduces advance.

  • Warm-up, cranking, idle and transient fuel planned

    The same learning approach applied to the tables tuners spend hours on after the main map is done.

  • Spark advance and boost authority gated

    Widening ignition advance or boost is never automatic. It stays an expert or dyno decision until validated knock detection exists for the engine family.

Already running another ECU? In advisor mode the same strategies read your logs and recommend exact table changes with the reasoning, which you apply in your ECU vendor's own software.

GAINS hardware is pre-release concept design. Simulated results only; nothing is validated on a vehicle yet.

Frequently asked

Where is the crank sensor on the 2002 WRX ECU?

Per a community transcription of Subaru documentation: crank sensor +/- on B2/B11, cam sensor +/- on B1/B10, shared shield on B21. Verify against the factory manual.6

Does the 2002 WRX have AVCS?

No. Intake AVCS arrived with the GD.II update from November 2002 (2004 MY in most markets).1

What turbo does the GD WRX use?

A Mitsubishi TD04L, with a factory target of about 93 kPa (13.5 psi).1

What is the difference between the 2004 US STI and the JDM STi?

The US STI used the 2.5 litre EJ257. Japan, the UK and Australia (to 2005) used the 2.0 litre EJ207.52

Sources

Numbered as cited above. Hover or tap a citation chip to preview it.

  1. Subaru EJ205 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
  2. Subaru EJ207 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
  3. Subaru EJ255 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
  4. Subaru EJ257 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
  5. Top Ten Engines - #8 Subaru EJ257 · DSPORT Magazine · press · retrieved 2026-10-25
  6. 2002 WRX ECU pinouts (transcribed from Subaru wiring/service documentation by a NASIOC member) · NorthUrsalia.com · community · retrieved 2026-10-25
  7. Subaru EJ engine · Wikipedia · community · retrieved 2026-10-25
  8. Subaru WRX · Wikipedia · community · retrieved 2026-10-25

Catalog data and evidence

  • Catalog data, not yet expert-reviewed.
  • No vehicle photos: illustrations only until licensed imagery is available.
  1. E-929 Haltech S3 adapter harness page (sourced, high confidence)
  2. E-934 Boomslang identity (sourced, high confidence)
  3. E-935 Boomslang S3 catalog size (sourced, high confidence)
  4. E-900 Haltech Nexus S3 catalog (sourced, high confidence)
  5. E-941 S3 engine harness availability (inferred, medium confidence)
  6. E-1445 Subaru GD WRX ECU (reported, low confidence)
  7. E-1491 harness ECU xref: Subaru Impreza WRX/STI ECMs (USDM) (verified, high confidence)
  8. E-1492 harness ECU xref: Subaru 2004 Impreza STI/WRX (verified, high confidence)
  9. E-1494 harness ECU xref: Subaru 2003 Impreza (verified, high confidence)
  10. E-1499 harness ECU xref: Subaru JDM GDB STI (unverified, low confidence)