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: [EMAIL PROTECTED] 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/ _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avrdude-dev