Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't sync with avrispmkii.

git-svn-id: http://arduino.googlecode.com/svn/avrdude-5.4-arduino@290 5a7bb8b8-8b4a-0410-973d-494203d638bc
commit 771f8685cd9328a9065e4485c9b0d7ac3e9f95c8 1 parent 2a4ac28
mellis authored
Showing with 9 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +4 −0 stk500v2.c
View
5 ChangeLog
@@ -1,5 +1,10 @@
2007-07-18 David A. Mellis <dam@mellis.org>
+ * stk500v2.c (stk500v2_getsync): Return if using an AVRISPmkII as
+ it might not respond to the sync attempts.
+
+2007-07-18 David A. Mellis <dam@mellis.org>
+
* configure.ac (AC_INIT): Changing version to avrdude-5.4-arduino.
2007-05-16 Joerg Wunsch <j@uriah.heep.sax.de>
View
4 stk500v2.c
@@ -483,6 +483,10 @@ static int stk500v2_getsync(PROGRAMMER * pgm) {
if (pgmtype == PGMTYPE_JTAGICE_MKII)
return 0;
+ // my avrispmkii doesn't respond to the sync --dam@mellis.org
+ if (pgmtype == PGMTYPE_AVRISP_MKII)
+ return 0;
+
retry:
tries++;
Please sign in to comment.
Something went wrong with that request. Please try again.