From 8ce2ee704c7feb77f39a7c563e21f8af22bc0cfe Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 31 Aug 2006 11:02:25 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ butterfly.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 819dfb95..8d8056d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-08-31 Joerg Wunsch + + 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 Tentative fix for bug #16156: Problem with Si-Prog diff --git a/butterfly.c b/butterfly.c index ce3aad73..26728065 100644 --- a/butterfly.c +++ b/butterfly.c @@ -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;