AVR In-System Programmer - Patches: patch #3933, Flush Serial Port on Open - Needed...
You are not allowed to post comments on this tracker with your current authentication level.
patch #3933: Flush Serial Port on Open - Needed for Serial Bootloader
Submitter: | None | ||
Submitted: | Fri 22 Apr 2005 04:20:57 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Email: | -email is unavailable- |
Open/Closed: | Open |
Attached Files
file #8709: Serial.C.patch added by None (303B - application/octet-stream - Serial.C.patch)
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 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-04-22 | None | Attached File | - | Added Serial.C.patch, #4488 | |
Carbon-Copy | - | Added mringwal --AT-- inf --DOT-- ethz --DOT-- ch |
Powered by Savane 3.13-3230.
Corresponding source code
We're using a stk500 compatible bootloader on the avr128. to program, we press and hold the reset butten of the embedded system, then start uisp (uisp sends its sdk500 hello msg) and release the reset button. the bootloader starts with sdk500 "I'm here" message which triggers uisp to respond immediately.
For this to work, uisp should not get any garbage data from the last program run. A simple fix for Serial.C just flushed the Serial Port on opening. I guess this should not harm anyone else, but helps us a lot (what do you expect from a freshly opened serial port? :)