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

 
 

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

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

Submitted by:  None
Submitted on:  Wed 24 Jan 2007 10:07:56 PM UTC  
 
Category: NonePriority: 7 - High
Status: DonePrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Email: -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>
Project AdministratorIn charge of this item.
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

 

Attached Files
file #11856:  stk500.c added by None (29kB - 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 (28kB - 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
  • -unavailable- added by joerg_wunsch (Posted a comment)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Sep 2013 02:59:43 PM UTCjoerg_wunschStatusNone=>Done
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Wed 24 Jan 2007 10:07:56 PM UTCNoneAttached 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.1-cleanup