Fix for bug #16627: Butterfly programmer does not reset after programming

Wait for the device's response after sending an "E" command.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@634 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2006-08-31 11:02:25 +00:00
parent b5e7797c33
commit 8ce2ee704c
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-08-31 Joerg Wunsch <j@uriah.heep.sax.de>
Fix for bug #16627: Butterfly programmer does not reset after
programming
* butterfly.c: Wait for the device's response after sending
an "E" command.
2006-08-31 Joerg Wunsch <j@uriah.heep.sax.de>
Tentative fix for bug #16156: Problem with Si-Prog

View File

@ -389,8 +389,9 @@ static void butterfly_close(PROGRAMMER * pgm)
{
no_show_func_info();
/* "exit programmer" added by Martin Thomas 2/2004 */
/* "exit programmer" */
butterfly_send(pgm, "E", 1);
butterfly_vfy_cmd_sent(pgm, "exit bootloader");
serial_close(pgm->fd);
pgm->fd = -1;