         Target.write(Serial.read());
     if (Target.available())
         Serial.write(Target.read());
-}
+    if (digitalRead(START_PIN))  // inverted logicgg
+        RESET();
+}

    Serial.print(sizeof data);
    Serial.println(" bytes uploaded.");
    digitalWrite(GREEN_PIN, 1);
}

    Target.begin(115200, false, false); // disable parity
    resetTarget(false);

#define START_PIN   3   // IRQ: interrupt pin on all JeePorts

#define BOOT_LOADER "l052-mecrisp.h"

#define RESET() ((void (*)()) 0)()

const uint8_t data[] PROGMEM = {
#include BOOT_LOADER
