     }
     Serial.print(" FAILED - got 0x");
     Serial.println(b, HEX);
+    digitalWrite(ERROR_PIN, 1);
     while (true) ; // halt
 }
 

    Serial.println(sizeof data);
    Serial.println();

if (1) {
    resetTarget(true);



#define RX_PIN      7   // P4D: digital pin on JeePort #4
#define TX_PIN      17  // P4A: analog  pin on JeePort #4

#define RESET_PIN   4   // P1D: digital pin on JeePort #1
#define BOOT0_PIN   14  // P1A: analog  pin on JeePort #1

#define GREEN_PIN   6   // P3D: digital pin on JeePort #3
#define ERROR_PIN   16  // P3A: analog  pin on JeePort #3
#define START_PIN   3   // IRQ: interrupt pin on all JeePorts

#define BOOT_LOADER "l052-mecrisp.h"

