Avoid sending a CMD_RESET when leaving programming mode, and CMD_GO

when closing the connection.  They cause the activity LED on the ICE
to continue to flicker, and are not necessary anyway (the target
starts to run by itself when leaving programmng mode).

This is a partial fix for bug #18262: JTAGMKI/JTAG1 Reset Bug


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@683 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2006-11-13 21:14:28 +00:00
parent 08d75b98cb
commit 23aeb38d13
2 changed files with 12 additions and 23 deletions

View File

@ -1,6 +1,16 @@
2006-11-13 Joerg Wunsch <j@uriah.heep.sax.de>
* jtagmkI.c: Avoid sending a CMD_RESET when leaving programming
mode, and CMD_GO when closing the connection. They cause the
activity LED on the ICE to continue to flicker, and are not
necessary anyway (the target starts to run by itself when leaving
programmng mode).
This is a partial fix for bug #18262: JTAGMKI/JTAG1 Reset Bug
2006-11-12 Colin O'Flunn <coflynn@newae.com> 2006-11-12 Colin O'Flunn <coflynn@newae.com>
* avrdude.conf.in: Add read command for lockbits for Tiny2313.
Applies patch #5538 * avrdude.conf.in: Add read command for lockbits for Tiny2313.
Applies patch #5538
2006-11-10 Joerg Wunsch <j@uriah.heep.sax.de> 2006-11-10 Joerg Wunsch <j@uriah.heep.sax.de>

View File

@ -517,8 +517,6 @@ static int jtagmkI_program_disable(PROGRAMMER * pgm)
if (verbose == 2) if (verbose == 2)
fprintf(stderr, "OK\n"); fprintf(stderr, "OK\n");
} }
(void)jtagmkI_reset(pgm);
} }
prog_enabled = 0; prog_enabled = 0;
@ -699,25 +697,6 @@ static void jtagmkI_close(PROGRAMMER * pgm)
fprintf(stderr, "%s: jtagmkI_close()\n", progname); fprintf(stderr, "%s: jtagmkI_close()\n", progname);
if (pgm->fd != -1) { if (pgm->fd != -1) {
buf[0] = CMD_GO;
if (verbose >= 2)
fprintf(stderr, "%s: jtagmkI_close(): Sending GO command: ",
progname);
jtagmkI_send(pgm, buf, 1);
jtagmkI_recv(pgm, resp, 1);
if (resp[0] != RESP_OK) {
if (verbose >= 2)
putc('\n', stderr);
fprintf(stderr,
"%s: jtagmkI_close(): "
"timeout/error communicating with programmer (resp %c)\n",
progname, resp[0]);
exit(1);
} else {
if (verbose == 2)
fprintf(stderr, "OK\n");
}
serial_close(pgm->fd); serial_close(pgm->fd);
} }