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:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Need Info Privacy:  Public
Assigned to:  None Originator Name:  Magister
Open/Closed:  Open Release:  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
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by karlwalter (Updated the item)
  • -email is unavailable- added by magister (Submitted the item)

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

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-03 joerg_wunsch StatusNone => Need Info
    2013-07-29 karlwalter Attached File- => Added butterfly.c, #28684

    Back to the top

    Powered by Savane 3.3