patchAVR Downloader/UploaDEr - Patches: patch #5708, avrdude should make 10...

 
 

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

patch #5708: avrdude should make 10 synchronization attempts instead of just one (please ignore patch 5703)

Submitter:  None
Submitted:  Wed 24 Jan 2007 10:07:56 PM UTC
   
 
Category:  None Priority:  7 - High
Status:  Done Privacy:  Public
Assigned to:  joerg_wunsch Originator Email:  -email is unavailable-
Open/Closed:  Closed

Fri 13 Sep 2013 02:59:43 PM UTC, comment #1: 

Committed in SVN r1223 (in a slightly different way).

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 24 Jan 2007 10:07:56 PM UTC, original submission:  

The bootloader we've developed is active during 30 milliseconds after reset.
During that window of time it needs to synchronize with avrdude. To achieve
that, it outputs a character that causes
stk500_getsync() to fail, thus causing avrdude to make another
synchronization attempt and then the handshake occurs. To make that possible
we need more than one synchronization attempt.

Our scenario:
1)avrdude runs and tries to sync with STK500 programmer (bootloader)
2)device reset, bootloader runs and outputs a NULL character
3)avrdude fails synchronizing and makes another attempt
4)synchronization succeeds

We don't see any negative effects of this patch on existing STK500 users.

Please ignore patch 5703 we submitted earlier that applies to avrdude version 5.1 instead of 5.3.1.







Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11856:  stk500.c added by None (29KiB - application/octet-stream - See change in function stk500_getsync in file stk500.c and in getsync_diff.txt file attached )
file #11857:  stk500_orig.c added by None (28KiB - application/octet-stream - See change in function stk500_getsync in file stk500.c and in getsync_diff.txt file attached )
file #11858:  getsync_diff.txt added by None (801B - text/plain - See change in function stk500_getsync in file stk500.c and in getsync_diff.txt file attached )

 

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-13 joerg_wunsch StatusNone Done
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2007-01-24 None Attached File- Added stk500.c, #11856
        Attached File- Added stk500_orig.c, #11857
        Attached File- Added getsync_diff.txt, #11858

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code