[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #6188] avrdude should make 10 synchronization attem
From: |
anonymous |
Subject: |
[avrdude-dev] [patch #6188] avrdude should make 10 synchronization attempts instead of just one |
Date: |
Thu, 06 Sep 2007 02:33:25 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) |
URL:
<http://savannah.nongnu.org/patch/?6188>
Summary: avrdude should make 10 synchronization attempts
instead of just one
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Thursday 09/06/2007 at 02:33 UTC
Category: None
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: None
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
We have suggested the following patch (original number 5708) well before the
release of version 5.4 of avrdude and it wasn't included in it. We are sure
that you have good reasons for your decision, but we'd like to ask you to
reconsider. To comply with GPL license we had to publish our changed version
of avrdude code on SourceForge (https://sourceforge.net/projects/avrdude5-3-1)
and after about a week 21 downloads were made, indicating people's interest.
We feel a bit ridiculous having to publish separately what mostly is your code
with a tiny change, and for this reason we submit the proposed patch again.
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 09/06/2007 at 02:33 UTC Name: stk500.c Size: 29kB By: None
See change in function stk500_getsync in file stk500.c and in diff.txt file
attached
<http://savannah.nongnu.org/patch/download.php?file_id=13885>
-------------------------------------------------------
Date: Thursday 09/06/2007 at 02:33 UTC Name: diff.txt Size: 801B By: None
See change in function stk500_getsync in file stk500.c and in diff.txt file
attached
<http://savannah.nongnu.org/patch/download.php?file_id=13886>
-------------------------------------------------------
Date: Thursday 09/06/2007 at 02:33 UTC Name: stk500_orig.c Size: 28kB By:
None
See change in function stk500_getsync in file stk500.c and in diff.txt file
attached
<http://savannah.nongnu.org/patch/download.php?file_id=13887>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6188>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [patch #6188] avrdude should make 10 synchronization attempts instead of just one,
anonymous <=