patchAVR Downloader/UploaDEr - Patches: patch #8176, butterfly.c (AVR109 protocol...


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

patch #8176: butterfly.c (AVR109 protocol implementation) clean-up and bug-fixing

Submitted by:  Enoch <wexi>
Submitted on:  Sun 08 Sep 2013 09:08:22 PM UTC  
Category: NonePriority: 5 - Normal
Status: In ProgressPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Open

Fri 13 Sep 2013 07:40:22 PM UTC, comment #1:

Bug fixes #1 and #3 are (in my opinion) already present.

I adopted your fix for bug #2.

I'm not yet convinced about the cleanups (as partially already

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sun 08 Sep 2013 09:08:22 PM UTC, original submission:

While writing my own AVR109 compliant (SRAM) buffered bootloader I needed the attached butterfly.c changes.

Three bug fixes:

1. Word flash addresses (already fixed in master).

2. Absent butterfly_page_erase()
Seg fault when trying to program the eeprom only.

3. Terminal mode uses butterfly_read_byte_flash() to dump flash content. Original got byte order wrong.


1. Skips address setting if the bootloader auto increments the address.

2. Allows multi-page load/write (if just the calling avr.c would take advantage of!).

For your perusal. Thanks, Enoch.

Enoch <wexi>


Attached Files
file #29087:  patch added by wexi (9KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by wexi (Submitted the item)

    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
    Fri 13 Sep 2013 07:40:22 PM UTCjoerg_wunschStatusNone=>In Progress
      Assigned toNone=>joerg_wunsch
    Sun 08 Sep 2013 09:08:22 PM UTCwexiAttached File-=>Added patch, #29087

    Back to the top

    Powered by Savane 3.1-cleanup1