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:
parent
7d601905e4
commit
f330e73b79
14
ChangeLog
14
ChangeLog
|
@ -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>
|
||||
* 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>
|
||||
|
||||
|
|
21
jtagmkI.c
21
jtagmkI.c
|
@ -517,8 +517,6 @@ static int jtagmkI_program_disable(PROGRAMMER * pgm)
|
|||
if (verbose == 2)
|
||||
fprintf(stderr, "OK\n");
|
||||
}
|
||||
|
||||
(void)jtagmkI_reset(pgm);
|
||||
}
|
||||
prog_enabled = 0;
|
||||
|
||||
|
@ -699,25 +697,6 @@ static void jtagmkI_close(PROGRAMMER * pgm)
|
|||
fprintf(stderr, "%s: jtagmkI_close()\n", progname);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue