bugAVR Downloader/UploaDEr - Bugs: bug #16627, Butterfly programmer does not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16627: Butterfly programmer does not reset after programming

Submitted by:  None
Submitted on:  Fri 19 May 2006 08:53:25 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Peter Clifton
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Fri 19 May 2006 08:53:25 AM UTC, original submission:

When programming with the AVR Butterfly serial interface, and the standard shipped bootloader, the butterfly will not reset with the "UP" joystick key after programming.

I notice in the avrdude sourcecode, that the appropriate "Exit" command has been added:

static void butterfly_close(PROGRAMMER * pgm)
{
no_show_func_info();

/* "exit programmer" added by Martin Thomas 2/2004 */
butterfly_send(pgm, "E", 1);

serial_close(pgm->fd);
pgm->fd = -1;
}

To make the exit work for me (using a USB->Serial converter if that makes a difference), I had to add:

butterfly_vfy_cmd_sent(pgm, "exit bootloader");

after the butterfly_send command.

My thought is that the serial link may be closed down before the "E" command actually reaches the butterfly, and the verify gives time for this to happen. This is just a guess though.

With the verify line, it works for me. Perhaps others could test it and add that line back into the codebase.

Regards

Peter Clifton

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 31 Aug 2006 11:02:33 AM UTCjoerg_wunschStatusNone=>Fixed
  Assigned toNone=>joerg_wunsch
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1