First Engine Start with Megasquirt-3
Step-by-step guide for the first engine start with a Megasquirt-3 ECU: test mode, injector testing, ignition verification, and startup
Introduction
The first engine start with a new Megasquirt-3 ECU is a critical moment that requires a methodical and careful approach. Do not attempt to start the engine immediately after connecting the wiring. First, you need to make sure that all outputs are working correctly, the RPM signal is being received properly, and the ignition timing is set correctly. This guide is based on sections 2.14–2.16 of the official MS3 Setting Up manual and will walk you through all the steps from injector testing to the first start.
Important: All procedures described below are performed with the fuel supply disconnected unless otherwise noted. Work in a well-ventilated area. Keep a fire extinguisher within reach.
Test Mode for Injectors and Ignition Coils
Before attempting to start the engine, you need to verify that the injectors and ignition coils respond correctly to ECU commands. TunerStudio provides a dedicated test mode for this purpose.
Preparing for Testing
Before entering test mode, be sure to do the following:
- Disconnect the fuel supply. Disconnect the fuel line from the fuel rail or disable the fuel pump (remove the fuel pump relay or fuse). This is critically important — the engine must not receive fuel during injector testing, otherwise there is a risk of fire and hydraulic lock.
- Make sure the ignition is on and TunerStudio is connected to the ECU.
- Make sure the ECU connector is fully inserted and secured.
Entering Test Mode
Open TunerStudio and navigate to the menu Controller -> Test Mode (in some versions — Output Test Mode). In this mode, you can manually activate each ECU output — injectors, ignition coils, relays, and other controlled devices.
Testing Injectors
Activate each injector one at a time. When triggered, you should hear a characteristic click or quiet buzzing from the injector. Place your finger on the injector body — you should feel a vibration.
- Injector clicks — the ECU output is working, the wiring is intact, and the injector responds. Everything is in order.
- Injector does not click — check the following:
- Is 12V power reaching the injector connector (usually through a common positive wire from the relay).
- Is there a reliable ground connection (control wire from the ECU).
- Is the output correctly assigned in TunerStudio settings (Output Pin Assignment).
- Is the injector itself damaged — check resistance with a multimeter (typical values: 12–16 Ohms for high-impedance, 2–5 Ohms for low-impedance).
Check all injectors in order and make sure each one fires on the corresponding ECU output. The injector connection order must match the cylinder firing order.
Testing Ignition Coils
WARNING! HIGH VOLTAGE! Ignition coils generate voltages up to 40,000 volts. A high-voltage shock can be fatal. Do not touch high-voltage wires, spark plugs, or coils during testing. Do not work in wet conditions. People with pacemakers are strictly prohibited from being near an operating ignition system.
To check for spark:
- Remove the spark plugs from the engine.
- Insert the spark plugs back into the high-voltage wires (or place the coils onto the plugs for COP systems).
- Place the spark plugs on a metal surface of the engine so that the threaded part of the plug has reliable contact with ground.
- Activate the coil in TunerStudio test mode.
- A spark should appear at the plug electrodes.
If there is no spark — check:
- Coil power supply (12V with ignition on).
- Control signal from the ECU (correct output, correct polarity).
- The coil itself (winding resistance per specifications).
- For systems with an igniter module — verify igniter operation.
Check for spark on all cylinders.
Verifying the RPM Input Signal
After successfully testing the outputs, the next critically important step is to ensure that the ECU is correctly receiving the RPM signal from the crankshaft position sensor (and, if used, from the camshaft position sensor).
Preparation
- The fuel supply must still be disconnected. We will be cranking the engine with the starter "dry."
- TunerStudio must be connected and displaying real-time data.
Cranking with the Starter
Crank the engine with the starter for 3–5 seconds. During cranking, monitor the RPM reading in TunerStudio (on the dashboard or in the real-time data window).
Expected result:
- The RPM value steadily shows cranking speed — typically 200–300 RPM (depends on the engine and battery condition).
- The value does not jump, does not drop to zero, and does not show abnormally high numbers.
If RPM = 0 (no signal):
- Check that the correct trigger wheel type (Trigger Wheel) is selected in the settings. It must exactly match your wheel (e.g., 36-1, 60-2, Missing Tooth, etc.).
- Check the sensor connection polarity. For a VR (inductive) sensor, try swapping the two signal wires. For a Hall effect sensor, make sure the correct input and signal level are being used.
- Check the gap between the sensor and the trigger wheel teeth (typically 0.5–1.5 mm for VR, according to specifications for Hall).
- Use the Tooth Logger in TunerStudio — it will show the raw sensor signal and help identify the problem.
If RPM is jumping or unstable:
- The trigger wheel type may be set incorrectly (e.g., 36-1 is selected but the engine has a 60-2).
- Electrical interference — check sensor wire shielding and cable routing (keep away from high-voltage wires and power circuits).
- Damaged trigger wheel teeth — inspect visually.
- Use the Composite Logger for detailed signal diagnostics.
Do not proceed to the next step until you have a stable RPM signal.
Verifying Ignition Timing During Cranking
Once the RPM signal is stable, you need to verify that the ECU correctly determines the crankshaft position and fires the spark at the right moment. This is done using fixed timing mode and verification with a timing light.
Setting Up Fixed Timing
- In TunerStudio, navigate to the ignition settings section.
- Enable Fixed Timing mode.
- Set a value such as 10° BTDC (10 degrees Before Top Dead Center). Choose a convenient value for which there is a visible mark on the pulley or flywheel.
- Burn the settings to the ECU.
Checking with a Timing Light
- Connect the timing light to the first cylinder's high-voltage wire (or use an inductive clamp).
- Crank the engine with the starter.
- The timing light will flash at the moment of spark — aim it at the marks on the crankshaft pulley (or flywheel).
- The mark on the pulley should align with the pointer on the block at the specified angle (10° BTDC in our example).
If the Mark Does Not Align
This means the Trigger Angle parameter (or Tooth #1 Angle / Offset) in the trigger wheel settings is set incorrectly. Adjust it:
- If the mark is "early" (too much advance) — decrease the Trigger Angle value.
- If the mark is "late" (too little advance) — increase the Trigger Angle value.
- After each correction, crank the engine with the starter and check again.
- Achieve an exact match between the mark and the specified angle.
Important: Correct Trigger Angle setting is the foundation of the entire ignition system operation. If the angle is set incorrectly, the engine may not start, may run with detonation, or may have reduced power. Do not skip this step!
Only after the mark precisely aligns with the specified fixed angle should you proceed to starting the engine.
First Engine Start
If all previous steps have been completed successfully — injectors click, spark is present on all cylinders, RPM is stable, and ignition timing is set correctly — you can proceed with the first start.
Preparing for the Start
- Disable Fixed Timing mode in TunerStudio — return ignition control to normal mode (table-based). Burn the change to the ECU.
- Reconnect the fuel line to the fuel rail. Reinstall the fuel pump relay (or fuse).
- Build pressure in the fuel system. Cycle the ignition on and off several times (not the starter!) — the fuel pump will run for a few seconds each time. Verify that fuel rail pressure is normal (per your engine's specifications, typically 2.5–4 bar for naturally aspirated).
- Make sure there are no fuel leaks or gasoline fumes near the engine.
- Keep a fire extinguisher within reach.
Starting
Crank the engine with the starter. With correct base settings, the engine should start within a few seconds.
Do not crank the starter continuously for more than 10–15 seconds — let it cool down for 30–60 seconds between attempts. Starter overheating is a common problem during first starts.
If the Engine Does Not Start
Do not panic. Check the following systematically:
-
Is there fuel? In TunerStudio, look at the Pulse Width (PW) value — it should be greater than zero during cranking. If PW = 0, the ECU is not commanding injection. Check the cranking settings (Cranking Settings) and verify the RPM signal is present.
-
Is there spark? If spark was present during testing but the engine won't start — make sure you disabled Fixed Timing and that the timing table contains appropriate values for cranking RPM.
-
Is the injection timing correct? Verify that the injectors fire at the correct point in the cycle. Sequential injection requires a correct signal from the camshaft position sensor.
-
Try increasing the Cranking Pulse Width. If the engine "catches" but won't start — it may need more fuel during cranking. Increase the Cranking Pulse Width value by 20–30% and try again.
-
Recheck the Trigger Angle. Even a small error in the angle can prevent starting.
-
Check Flood Clear. If multiple attempts have fouled the spark plugs — remove them, dry them, and try starting with the throttle fully open (many MS3 firmware versions use Flood Clear mode when TPS > 80%).
After the Engine Starts
Once the engine is running:
-
Let the engine warm up. Do not touch the throttle. Let it idle and reach operating temperature.
-
Monitor AFR. If you have a wideband oxygen sensor installed, monitor the air/fuel ratio. At idle with a warm engine, it should be around 13.0–14.0:1 (slightly richer than stoichiometric for stable operation). If AFR deviates significantly — VE table correction is needed.
-
Begin rough VE table tuning. In TunerStudio, open the VE Table and adjust values in the idle zone (low RPM, low load). If the mixture is too rich (AFR < 12:1) — decrease VE values. If too lean (AFR > 15:1) — increase them. Change values in small increments (5–10%) and observe the response.
-
Do not rev the engine! At this stage, the VE table is not tuned for mid and high RPM/load. Sudden throttle application can cause a lean condition and engine damage (detonation). Tune the idle zone first, then gradually expand the tuned area.
-
Check coolant temperature and oil pressure. Make sure the engine is not overheating and oil pressure is normal.
Common Problems During First Start
Engine Cranks but Does Not Start
| Possible Cause | What to Check | |---|---| | No spark | Check coils, ignition outputs, igniter module | | No fuel | Check fuel pump, rail pressure, PW in TunerStudio | | Incorrect Trigger Angle | Recheck with timing light in Fixed Timing mode | | Wrong trigger wheel type | Check Trigger Wheel setting, use Tooth Logger | | Fouled spark plugs | Remove, dry, use Flood Clear |
Engine Starts and Immediately Stalls
- Too lean mixture at idle — increase VE values in the idle zone or increase Cranking/Afterstart Enrichment.
- Too rich mixture at idle — decrease VE values or check for leaking injectors (poor sealing).
- Incorrect idle target RPM — if the IAC valve is set to too low an RPM target, the engine may stall. Increase the warmup target RPM.
- No idle control — if the IAC is not connected or configured, idle RPM may be unstable. During first start, you can temporarily control idle manually by slightly opening the throttle.
Unstable RPM (jerking, jumping)
- Vacuum leak — check the intake manifold, vacuum hoses, and gaskets for leaks. A vacuum leak after the throttle body causes unmetered lean condition.
- Poor RPM signal — check the Tooth Logger; you may need to adjust the sensor gap or wire shielding.
- Incorrect TPS calibration — calibrate the throttle position sensor (TPS Calibration in TunerStudio). TPS should read 0% with the throttle closed and ~100% with it fully open.
RPM "Hunting" (slowly rising and falling)
- Intake tract leak — even a small vacuum leak can cause RPM hunting. Check all connections; use carburetor cleaner to locate leaks (briefly spray near suspect areas — if a leak is found, RPM will change).
- IAC valve issue — if the IAC valve is "hunting" for the target RPM, try reducing the gain in the idle PID controller settings.
- Incorrect warmup enrichment settings — if the Warmup Enrichment table is set too aggressively, the mixture may be unstable until the engine warms up.
What's Next
After the engine runs stably at idle:
- Tune the VE table at idle to an acceptable AFR (~14.0–14.7:1 for gasoline).
- Set up the acceleration enrichment (Acceleration Enrichment) — without it, the engine will "bog" when the throttle is applied.
- Gradually expand the tuned zone of the VE table by carefully increasing RPM.
- Tune the ignition timing table for optimal operation.
- Perform a full tune on the road or on a dyno.
Remember: The first start is only the beginning. Safe and efficient engine operation requires thorough tuning of all tables. Never drive on the road with an untuned ECU!