 
     uint8_t b = 0;
     do {
+        // pulse RESET pin low while keeping ISP pin low
+        controlPins(true, false);
+        delay(10);
+        controlPins(true, true);
+        delay(10);
+        controlPins(true, false);
+
         Log.print(".");
         Target.write(0x7F);
         b = getReply();

#ifdef LED_PIN
    digitalWrite(LED_PIN, 0);
#endif
}

void loop () {}


// main sketch logic
void setup () {
    controlPins(false, false);

    Log.begin(115200);
    Log.print("[stm32f1init] ");
    Log.println(BOOT_LOADER);
