[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #5703] avrdude should make 10 synchronization attem
From: |
anonymous |
Subject: |
[avrdude-dev] [patch #5703] avrdude should make 10 synchronization attempts instead of just one |
Date: |
Tue, 23 Jan 2007 01:55:18 +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/?5703>
Summary: avrdude should make 10 synchronization attempts
instead of just one
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Tuesday 01/23/2007 at 01:55 UTC
Category: None
Priority: 7 - High
Status: None
Privacy: Private
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.
see change in function stk500_getsync in file stk500.c attached
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 01/23/2007 at 01:55 UTC Name: stk500.c Size: 29kB By: None
see change in function stk500_getsync in file stk500.c attached
<http://savannah.nongnu.org/patch/download.php?file_id=11821>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5703>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [patch #5703] avrdude should make 10 synchronization attempts instead of just one,
anonymous <=