The AVR ISP documentation...
http://www.atmel.com/dyn/resources/prod_documents/doc0943.pdf
...states that... "SCK ... Immediately after the Reset goes active, this pin
will be driven to zero by the programmer."
The opposite is performed in start_pmode...
// RESET ---not--- active
pinMode(RESET, OUTPUT);
digitalWrite(RESET, HIGH);
// SCK driven low
pinMode(SCK, OUTPUT);
digitalWrite(SCK, LOW);
delay(50);
// RESET active
digitalWrite(RESET, LOW);
delay(50);
If the target is driving SCK high when start_pmode is entered, this code
creates a short-circuit for 50 ms. More than enough time to damage both
processors.
http://code.google.com/p/mega-isp/source/browse/trunk/avrisp/ArduinoISP.pde#241
Original issue reported on code.google.com by arduino....@gmail.com on 15 Jun 2011 at 4:45
Original issue reported on code.google.com by
arduino....@gmail.com
on 15 Jun 2011 at 4:45