avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #5708] avrdude should make 10 synchronization attem


From: anonymous
Subject: [avrdude-dev] [patch #5708] avrdude should make 10 synchronization attempts instead of just one (please ignore patch 5703)
Date: Wed, 24 Jan 2007 22:07:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

URL:
  <http://savannah.nongnu.org/patch/?5708>

                 Summary: avrdude should make 10 synchronization attempts
instead of just one (please ignore patch 5703)
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Wednesday 01/24/2007 at 22:07 UTC
                Category: None
                Priority: 7 - High
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.










    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 01/24/2007 at 22:07 UTC  Name: stk500.c  Size: 29kB   By:
None
See change in function stk500_getsync in file stk500.c and in
getsync_diff.txt file attached 
<http://savannah.nongnu.org/patch/download.php?file_id=11856>
-------------------------------------------------------
Date: Wednesday 01/24/2007 at 22:07 UTC  Name: stk500_orig.c  Size: 28kB  
By: None
See change in function stk500_getsync in file stk500.c and in
getsync_diff.txt file attached 
<http://savannah.nongnu.org/patch/download.php?file_id=11857>
-------------------------------------------------------
Date: Wednesday 01/24/2007 at 22:07 UTC  Name: getsync_diff.txt  Size: 801B  
By: None
See change in function stk500_getsync in file stk500.c and in
getsync_diff.txt file attached 
<http://savannah.nongnu.org/patch/download.php?file_id=11858>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5708>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]