The SCV (Suction Control Valve) at pins A13/A14 is notorious for failing. If your 2KD accelerates poorly or surges at idle, back-probe these pins for a clean 12V PWM signal (about 5-7 kHz frequency).
A highly detailed 13-page document covering 1KD and 2KD systems. toyota 2kdftv ecu pinout diagram better
According to technical documentation from Scribd and Pinterest diagrams , critical pins include: +B / BATT: Main power supply from the battery. MREL: Main relay control. The SCV (Suction Control Valve) at pins A13/A14
: Switched battery power and constant live battery power. E1 / E01 / E02 : Main ECU ground circuits. VC : 5V reference voltage supplied from the ECU to sensors. PCRV : Common Rail Pressure sensor signal. GREL : Glow Plug Relay control signal. MREL : EFI Main Relay control. toyota 2kdftv ecu pinout diagram better