bugAVR Downloader/UploaDEr - Bugs: bug #38952, AVR109 (butterfly) auto-increment...


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

bug #38952: AVR109 (butterfly) auto-increment functionnality is ignored

Submitted by:  Fred <magister>
Submitted on:  Thu 09 May 2013 03:39:27 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Need InfoPrivacy: Public
Assigned to: NoneOriginator Name: Magister
Open/Closed: OpenRelease: None
Programmer hardware: Device type: 

Tue 03 Sep 2013 09:18:38 PM UTC, comment #1:

Since normal -U read/write operations are done page-wise,
the 'A' command is only issued once per page. Keeping
track of each page's address between invocations to
butterfly_paged_write()/butterfly_paged_load() would cause
additional effort (including maintaining state within
library code). I think the performance gain is not that
magnificent (less than 10 %) to warrant this change.


Joerg Wunsch <joerg_wunsch>
Project Administrator
Thu 09 May 2013 03:39:27 PM UTC, original submission:

the butterfly_initialize() function check for the auto-increment feature of the bootloader using the 'a' command but ignore it by after.

Instead of sending multiple "A nn nn" command before each data packet, it could just send a "A 00 00" at the beginning and a flow of data packets by after, as the bootloader increment itself the address.

This would be way more efficient.

Fred <magister>


Attached Files
file #28684:  butterfly.c added by karlwalter (17KiB - text/x-csrc - Here is a modified butterfly that always auto increments --Karl)


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 karlwalter (Updated the item)
  • -unavailable- added by magister (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 Sep 2013 09:18:38 PM UTCjoerg_wunschStatusNone=>Need Info
    Mon 29 Jul 2013 12:13:08 AM UTCkarlwalterAttached File-=>Added butterfly.c, #28684

    Back to the top

    Powered by Savane 3.1-cleanup1