AVR Downloader/UploaDEr - Patches: patch #4372, Better synchronization for stk500
You are not allowed to post comments on this tracker with your current authentication level.
patch #4372: Better synchronization for stk500
Submitter: | None | ||
Submitted: | Mon 29 Aug 2005 04:07:40 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Email: | -email is unavailable- |
Open/Closed: | Closed |
Attached Files
file #9286: patch added by None (519B - application/octet-stream - patch : Better synchronization for stk500 )
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2006-09-01 | joerg_wunsch | Status | None | Done | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2005-08-29 | None | Attached File | - | Added patch, #5106 | |
Carbon-Copy | - | Added avrdude --AT-- zevv --DOT-- nl |
Powered by Savane 3.13-4b48.
Corresponding source code
With some USB <-> RS-232 adapters avrdude sometimes has problems to get in sync with the stk500. It seems that the first few characters from the serial port get lost just after opening the port.
To make the sync more reliable, this patch sends the GET_SYNC command and drains the serial port right away a few times, before trying the real synchronization mechanism.
Works OK for me, and I don't think any side effects will occur.