Submitted by ivanv at netman.ru

Fix length for single-byte write operations.
Closes bug #18527 JTAG ICE: fuse bits have been writen incorrectly


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@703 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2006-12-15 15:42:44 +00:00
parent f7f185f176
commit 18cf1cf47f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-12-15 Joerg Wunsch <j@uriah.heep.sax.de>
Submitted by ivanv at netman.ru
* jtagmkI.c: fix length for single-byte write operations.
Closes bug #18527 JTAG ICE: fuse bits have been writen incorrectly
2006-12-11 Joerg Wunsch <j@uriah.heep.sax.de>
* jtagmkII.c (jtagmkII_paged_write): Remove a debugging

View File

@ -1110,7 +1110,7 @@ static int jtagmkI_write_byte(PROGRAMMER * pgm, AVRPART * p, AVRMEM * mem,
return -1;
}
cmd[2] = 1;
cmd[2] = 1 - 1;
if (cmd[1] == MTYPE_SPM) {
/*
* Flash is word-addressed, but we cannot handle flash anyway