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

 
 
Show feedback again

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: NonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: Open

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

 

CC list is empty

 

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
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
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup