Submitted by Ed Okerson:

* jtagmkII.c (jtagmkII_read_byte): Fix signature reading of
Xmega.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@810 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2009-02-27 08:29:30 +00:00
parent 94fb9d11f2
commit 3d87270ef2
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by Ed Okerson:
* jtagmkII.c (jtagmkII_read_byte): Fix signature reading of
Xmega.
2009-02-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2009-02-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by Mikael Hermansson: Submitted by Mikael Hermansson:

View File

@ -1816,6 +1816,11 @@ static int jtagmkII_read_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem,
} }
return 0; return 0;
} }
else if (mem->offset != 0) {
cmd[1] = MTYPE_SRAM;
addr += mem->offset;
}
} }
/* /*