Submitted by Timon Van Overveldt:
bug #30268: Debugwire broken in avrdude-5.10 * jtagmkII.c (jtagmkII_initialize): only try setting up a JTAG chain when the programmer is using JTAG. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@973 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
8bb408b0ab
commit
161291f5ae
|
@ -1,3 +1,10 @@
|
||||||
|
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
Submitted by Timon Van Overveldt:
|
||||||
|
bug #30268: Debugwire broken in avrdude-5.10
|
||||||
|
* jtagmkII.c (jtagmkII_initialize): only try setting up a JTAG chain when
|
||||||
|
the programmer is using JTAG.
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
bug #29636: AVRDude issues invalid CMD_CHECK_TARGET_CONNECTION
|
bug #29636: AVRDude issues invalid CMD_CHECK_TARGET_CONNECTION
|
||||||
|
|
|
@ -1270,7 +1270,8 @@ static int jtagmkII_initialize(PROGRAMMER * pgm, AVRPART * p)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (jtagmkII_setparm(pgm, PAR_DAISY_CHAIN_INFO, PDATA(pgm)->jtagchain) < 0) {
|
if ((pgm->flag & PGM_FL_IS_JTAG) &&
|
||||||
|
jtagmkII_setparm(pgm, PAR_DAISY_CHAIN_INFO, PDATA(pgm)->jtagchain) < 0) {
|
||||||
fprintf(stderr, "%s: jtagmkII_initialize(): Failed to setup JTAG chain\n",
|
fprintf(stderr, "%s: jtagmkII_initialize(): Failed to setup JTAG chain\n",
|
||||||
progname);
|
progname);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue