Part of the Subaru EJ family.
Modeled power and torque
Modelled estimate, not a dyno result.
Modeled estimate, not a dyno measurement. Real results vary with fuel, weather, dyno type and build.
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
- Load sensing
- MAF (hot-wire / hot-film)
- O2 sensor
- varies: wideband A/F listed for US 2002 WRX EJ205; JDM narrowband/A/F split not sourced
- Closed loop
- Not yet sourced
- Block
- aluminium
- Rods / pistons
- 130.43 mm length (Wikipedia table) · OEM hypereutectic (MotoIQ, EJ205)
- Reported limit
- Not yet sourced
- Factory
- Top-feed (USDM WRX EJ205 02-05); JDM EJ207 variants include side-feed (not confirmed)
- Impedance
- high (saturated)
- Direct-fit upgrades
- 5 maker-listed
- Knock
- 22060AA100
- MAP / MAF
- absolute pressure sensor
- O2 (upstream)
- 22641AA042|22641AA090
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
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 · medium1324The 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.
- 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.
- 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.
- 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.
- 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.
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
Looking into the harness plug's mating face (mirror of the ECU face).
How the OEM figure is oriented
Subaru'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.| Pin | Function | Type | Wire | Notes |
|---|---|---|---|---|
| 1 | Vehicle speed signal | pulse input, 0 or 5 V | GY | Shared 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. |
| 2 | A/C switch | 12 V switch input | LY | EWD 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) |
| 3 | Rear defogger switch | switch input (0 V when ON) | L | EWD routes it to REF. TO R/DEF-01; function name from the transcribed I/O table. (medium confidence) |
| 4 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 5 | Ignition switch (IG) input | 12 V ignition-switched input | GR | From F/B fuse No. 11 (IG), shared with the fuel pump relay coil (WI-67). |
| 6 | Main relay control | main relay coil drive | LgW | Feeds main relay B47 terminal 2; the coil's other end (terminal 1, B) is grounded (WI-69). |
| 7 | Ground (control systems) | chassis/engine ground | BR | Joined with A15 and E1 to engine ground GE-1 (WI-29, WI-76). |
| 8 | Neutral position switch (M/T) / inhibitor switch (A/T) | switch input | GB (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. |
| 9 | Blower fan switch | switch input (0 V when ON) | GR | EWD routes it to REF. TO A/C(M)-01; function name from the transcribed I/O table. (medium confidence) |
| 10 | Flash memory connector | programming line | RW | Goes 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. |
| 11 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 12 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 13 | Fuel pump controller signal 1 | control output to fuel pump controller | LgR | To fuel pump controller R122 terminal 9 (WI-67). |
| 14 | Test mode / diagnosis connector line | 5 V, grounded to select test mode | Or | Common to diagnosis connector B82 terminal 5, check connector B79 terminal 4 and the line end connector B126 (WI-71). Voltage from the community table. |
| 15 | Ground (control systems) | chassis/engine ground | BR | Joined with A7 and E1 to GE-1 (WI-29). |
| 16 | Starter switch signal | 12 V while cranking | Y | Tapped from the starter motor S terminal circuit (B14) (WI-69). |
| 17 | Small light (illumination) switch | switch input (0 V when ON) | BW | EWD routes it to REF. TO ILLUMI-01; function name from the transcribed I/O table. (medium confidence) |
| 18 | Torque control signal 2 (to TCM) | ECM-TCM signal line | PG | A/T models: to TCM B56 terminal 14 (WI-43). Signal name from the transcribed I/O table. (medium confidence) |
| 19 | Torque control signal 1 (to TCM) | ECM-TCM signal line | RY | A/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) |
| 20 | Line to data link connector B40 terminal 8 | Comms / diag | YG | Wiring diagram shows only the destination (WI-71); the I/O table we could read does not name this terminal. (medium confidence) |
| 21 | SSM / GST communication line | serial diagnostic line | LgB | To data link connector B40 terminal 10 and check connector B79 terminal 12 (WI-71). |
| 22 | Ground (power supply) | chassis/engine ground | BW | Joined 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.
Looking into the harness plug's mating face (mirror of the ECU face).
How the OEM figure is oriented
Subaru'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.| Pin | Function | Type | Wire | Notes |
|---|---|---|---|---|
| 1 | Camshaft position sensor signal (+) | VR sensor + | R | To 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). |
| 2 | Crankshaft position sensor signal (+) | VR sensor + | W | To crank sensor E10 terminal 1 via E1/B20 terminal 4 (OrL on the engine side) (WI-73). |
| 3 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 4 | Knock sensor signal | piezo knock sensor input | W | To knock sensor E14 terminal 2 via E1/B20 terminal 6 (RL on the engine side), shielded (WI-73). |
| 5 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 6 | Fuel temperature sensor signal | thermistor, 0-5 V analog | LB | In the fuel pump assembly (WI-67). |
| 7 | Throttle position sensor signal | 0-5 V analog | Lg | TPS 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. |
| 8 | Intake manifold pressure (MAP) sensor signal | 0-5 V analog | YB | Pressure sensor E21 terminal 1 (Or on the engine side) (WI-75). |
| 9 | Sensor power supply (5 V) | 5 V reference | Sb | Feeds 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. |
| 10 | Camshaft position sensor signal (-) | VR sensor - | B | To cam sensor E15 terminal 2 via E1/B20 terminal 1 (W on the engine side) (WI-73). |
| 11 | Crankshaft position sensor signal (-) | VR sensor - | G | To crank sensor E10 terminal 2 via E1/B20 terminal 3 (WL on the engine side) (WI-73). |
| 12 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 13 | Tumble generator valve position sensor LH | 0-5 V analog | BrY | TGV angle sensor LH E50 terminal 3 (YR on the engine side) (WI-75). |
| 14 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 15 | Fuel tank pressure sensor signal | 0-5 V analog | GOr | Fuel tank pressure sensor R47 terminal 1 (WI-67). |
| 16 | Exhaust gas temperature sensor signal | analog input | WB | Exhaust gas temperature sensor B279 terminal 1 (WI-72). |
| 17 | Rear oxygen sensor signal | 0-0.9 V narrow-band | W | Rear oxygen sensor B19 terminal 3, shielded (WI-72). |
| 18 | Engine coolant temperature sensor signal | thermistor, 0-5 V analog | BY | Coolant temperature sensor E8 terminal 2 (WI-75). |
| 19 | Sensor ground | sensor ground return | RG | Via 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. |
| 20 | A/T diagnosis input signal (from TCM) | ECM-TCM signal line | BrR | A/T models: to TCM B56 terminal 21 (WI-43). Signal name from the transcribed I/O table. (medium confidence) |
| 21 | Shield (crank and cam sensor cables) | shield drain | SB | Common shield for the crank and cam sensor pairs (WI-73). SB = sealed (outer) / shield in Subaru's colour table. |
| 22 | Shield (knock sensor cable) | shield drain | SB | |
| 23 | Tumble generator valve position sensor RH | 0-5 V analog | BrR | TGV angle sensor RH E54 terminal 3 (WR on the engine side) (WI-75). |
| 24 | Power steering oil pressure switch | switch input (0 V when ON) | OrB | PS oil pressure switch E19 (WI-74). |
| 25 | Fuel level sensor signal | analog input | BrW | From the fuel level / sub level sensor circuit (WI-67). |
| 26 | Shield (rear oxygen sensor cable) | shield drain | SB | |
| 27 | Intake air temperature sensor signal | thermistor, 0-5 V analog | Br | In the mass air flow sensor B3, terminal 4 (WI-72). |
| 28 | A/T load signal (to TCM) | ECM-TCM signal line | GW | A/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.
Looking into the harness plug's mating face (mirror of the ECU face).
How the OEM figure is oriented
Subaru'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.| Pin | Function | Type | Wire | Notes |
|---|---|---|---|---|
| 1 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 2 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 3 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 4 | Fuel injector #4 | low-side injector driver | PG | Injector No. 4 E17 terminal 1 (YW on the engine side of F60) (WI-77). |
| 5 | Fuel injector #3 | low-side injector driver | PB | Injector No. 3 E6 terminal 1 (W on the engine side) (WI-77). |
| 6 | Fuel injector #2 | low-side injector driver | PL | Injector No. 2 E16 terminal 1 (LW on the engine side) (WI-77). |
| 7 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 8 | Ground (injectors) | engine ground | BY | To GE-1 (WI-29, WI-76). |
| 9 | Engine speed (tachometer) output | rpm pulse output | G | To the combination meter tachometer (i10 A5) and, on A/T, the TCM (WI-68, WI-43). |
| 10 | Idle air control solenoid valve | IAC solenoid driver | R | IAC solenoid valve E7 terminal 2 (WI-74). |
| 11 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 12 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 13 | Rear oxygen sensor heater | heater low-side driver | RW | Rear oxygen sensor B19 terminal 1 (WI-72). |
| 14 | Torque control cut signal (to TCM) | ECM-TCM signal line | YR | A/T models: to TCM B55 terminal 10 (WI-43). Signal name from the transcribed I/O table. (medium confidence) |
| 15 | Fuel pump controller signal 2 | control output to fuel pump controller | VW | Fuel pump controller R122 terminal 8 (WI-67). |
| 16 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 17 | Ground (power supply) | engine ground | BW | Joined with A22 to GE-1 (WI-29). |
| 18 | Ground (ignition coils) | engine ground | B | To GE-1 (WI-29). |
| 19 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 20 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 21 | Ignition coil #4 trigger | ignition trigger to coil with igniter | YG | Ignition coil No. 4 E34 terminal 1 (Y on the engine side); coils are three-wire (signal, RY supply, BY ground) (WI-76). |
| 22 | Ignition coil #3 trigger | ignition trigger to coil with igniter | YR | Ignition coil No. 3 E33 terminal 1 (WY on the engine side) (WI-76). |
| 23 | Ignition coil #2 trigger | ignition trigger to coil with igniter | YB | Ignition coil No. 2 E32 terminal 1 (LY on the engine side) (WI-76). |
| 24 | Ignition coil #1 trigger | ignition trigger to coil with igniter | Y | Ignition 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.
Looking into the harness plug's mating face (mirror of the ECU face).
How the OEM figure is oriented
Subaru'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.| Pin | Function | Type | Wire | Notes |
|---|---|---|---|---|
| 1 | Fuel injector #1 | low-side injector driver | P | Injector No. 1 E5 terminal 1 (GW on the engine side) (WI-77). |
| 2 | Control unit power supply (from main relay) | 12 V switched supply | YL | Main relay B47 terminal 3 output; D2 and D3 are joined (WI-69). |
| 3 | Control unit power supply (from main relay) | 12 V switched supply | YL | Paired with D2 (WI-69). |
| 4 | Front oxygen (A/F) sensor heater | heater low-side driver | W | D4 and D5 are joined to front A/F sensor B18 terminal 1 (WI-72); heater supply is YR from the main relay. |
| 5 | Front oxygen (A/F) sensor heater | heater low-side driver | W | Paired with D4 (WI-72). |
| 6 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 7 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 8 | Ground | engine ground | BL | D8 and D9 joined to GE-1 (WI-29, WI-76). Not listed in the community I/O transcription. |
| 9 | Ground | engine ground | BL | Paired with D8 (WI-29). |
| 10 | Back-up power supply (battery) | 12 V constant battery | BR | From SBF-5 (B), live with ignition OFF (WI-69). |
| 11 | Drain valve | solenoid low-side driver | BrY | Drain valve R69 terminal 2 (WI-67). |
| 12 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 13 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 14 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 15 | Malfunction indicator lamp (Check Engine) | lamp low-side driver | RW | To the combination meter MIL (i12 C6) (WI-68). |
| 16 | Purge control solenoid valve | solenoid low-side driver | WL | Purge control solenoid valve E4 terminal 2 (LgY on the engine side) (WI-77). |
| 17 | Radiator fan relay 1 control | relay low-side driver | RL | EWD routes it to REF. TO R/F(TB)-01 (WI-70). |
| 18 | Shield (front A/F sensor cable) | shield drain | SB | |
| 19 | Front oxygen (A/F) sensor (+) | A/F sensor terminal, about 2.8-3.2 V | W | Front A/F sensor B18 terminal 4 (WI-72). Voltage from the I/O table. |
| 20 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 21 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 22 | Pressure control solenoid valve | solenoid low-side driver | LgB | Pressure control solenoid valve R68 terminal 2 (WI-67). |
| 23 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 24 | Wastegate control solenoid valve | solenoid driver | BW | Wastegate solenoid B127 terminal 1; terminal 2 is YL from the main relay (WI-72). |
| 25 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 26 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 27 | A/C relay control | relay low-side driver | Br | EWD routes it to REF. TO A/C(M)-01 (WI-70). |
| 28 | Radiator fan relay 2 control | relay low-side driver | GR | EWD routes it to REF. TO R/F(TB)-01 (WI-70). |
| 29 | Front oxygen (A/F) sensor (-) | A/F sensor terminal, about 2.4-2.7 V | B | Front A/F sensor B18 terminal 3 (WI-72). |
| 30 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 31 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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.
Looking into the harness plug's mating face (mirror of the ECU face).
How the OEM figure is oriented
Subaru'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.| Pin | Function | Type | Wire | Notes |
|---|---|---|---|---|
| 1 | Ground (M/T models) | engine ground | BR | Drawn with an M/T arrow; joined with A7 and A15 to GE-1 (WI-29, WI-76). |
| 2 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 3 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 4 | Tumble generator valve actuator RH | TGV motor drive | LG | TGV RH E55 terminal 1 (WL on the engine side) (WI-74). The community I/O table calls E4 'TGV RH (open)'. |
| 5 | Tumble generator valve actuator RH | TGV motor drive | YG | TGV RH E55 terminal 2 (GL on the engine side) (WI-74). Community table: 'TGV RH (close)'. |
| 6 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 7 | Mass air flow sensor ground | sensor ground return | BG | MAF sensor B3 terminal 2 (WI-72). |
| 8 | Shield (MAF sensor cable) | shield drain | SB | |
| 9 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 10 | Tumble generator valve actuator LH | TGV motor drive | LY | TGV LH E51 terminal 1 (L on the engine side) (WI-74). Community table: 'TGV LH (close)'. |
| 11 | Tumble generator valve actuator LH | TGV motor drive | L | TGV LH E51 terminal 2 (YL on the engine side) (WI-74). Community table: 'TGV LH (open)'. |
| 12 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 13 | Mass air flow sensor signal | 0-5 V analog (about 0.3-4.5 V) | PL | MAF sensor B3 terminal 3, shielded (WI-72). |
| 14 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 15 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 16 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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. |
| 17 | No circuit drawn on the 2002 turbo (WRX) wiring diagrams | Other / 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.
Plug-and-play harness
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.
| Maker | Harness | Fits | Link | |
|---|---|---|---|---|
| Subaru WRX 01-05HT-186366 | GDB WRX MY01-05 all regions; STI MY01-05 JDM/ADM; EJ20 non-DBW; manual | $535Lowest | Maker ↗ | |
![]() | Manual 2002 - 2005 Subaru WRXBF29116-S3 | 2002-2005 Impreza WRX 2.0T; USDM (transmission not stated by catalogue) | $840 | Maker ↗ |
![]() | Manual 2001 - 2007 Subaru STI JDMBF29201-S3 | 2001-2007 JDM STI and non-USDM WRX, manual; non-immobiliser | $840 | Maker ↗ |
![]() | Manual 2001 - 2007 Subaru STI JDM IMMOBF29202-S3 | 2001-2007 JDM STI / non-USDM WRX with immobiliser, manual | $840 | Maker ↗ |
| Wire-in | Universal flying lead or re-terminated factory harness | Any engine (terminate to ECU2's two Superseal 34 connectors) | Universal harness from $405 | Maker ↗ |
Nexus S3 Plug n Play Adapter Harness Subaru WRX 01-05
- 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
- 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.
- 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
- 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
- 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.
- Price TBA
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
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
- Haltech S3 plug-in harness1 listed · from $535 USD listHT-186366
- Factory-connector → S3 adapter3 listed · from $840 USD list
- 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.
- 1Base 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.
- 2Lambda 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.
- 3Cam 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.
- 4Boost 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.
- 5Drivability 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.
- 6Factory load sensingfactory reference
What the factory ECU measures load with: MAF (hot-wire / hot-film) (low confidence)
- 7Wideband 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
- 8Bottom 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
Chassis integration
Tuning notes
Cast pistons with weak ringlands are the usual failure point when pushed
Sourced · medium5The 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
- EJ257 short block or long block into GD WRX
- Requires matching ECU (AVCS, DBW) and wiring
GAINS on the Impreza WRX GD / GG
ECU2
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
Sources
Numbered as cited above. Hover or tap a citation chip to preview it.
- Subaru EJ205 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ207 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ255 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Subaru EJ257 Engine · AustralianCar.Reviews · press · retrieved 2026-10-25
- Top Ten Engines - #8 Subaru EJ257 · DSPORT Magazine · press · retrieved 2026-10-25
- 2002 WRX ECU pinouts (transcribed from Subaru wiring/service documentation by a NASIOC member) · NorthUrsalia.com · community · retrieved 2026-10-25
- Subaru EJ engine · Wikipedia · community · retrieved 2026-10-25
- 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.
- E-929 Haltech S3 adapter harness page (sourced, high confidence)
- E-934 Boomslang identity (sourced, high confidence)
- E-935 Boomslang S3 catalog size (sourced, high confidence)
- E-900 Haltech Nexus S3 catalog (sourced, high confidence)
- E-941 S3 engine harness availability (inferred, medium confidence)
- E-1445 Subaru GD WRX ECU (reported, low confidence)
- E-1491 harness ECU xref: Subaru Impreza WRX/STI ECMs (USDM) (verified, high confidence)
- E-1492 harness ECU xref: Subaru 2004 Impreza STI/WRX (verified, high confidence)
- E-1494 harness ECU xref: Subaru 2003 Impreza (verified, high confidence)
- E-1499 harness ECU xref: Subaru JDM GDB STI (unverified, low confidence)


