patchAVR 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 authentification level.

patch #3933: Flush Serial Port on Open - Needed for Serial Bootloader

Submitted by:  None
Submitted on:  Fri 22 Apr 2005 04:20:57 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: Open

Fri 22 Apr 2005 04:20:57 PM UTC, original submission:

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? :)

Anonymous

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 22 Apr 2005 04:20:57 PM UTCNoneAttached File-=>Added Serial.C.patch, #4488
  Carbon-Copy-=>Added mringwal --AT-- inf --DOT-- ethz --DOT-- ch

Back to the top


Powered by Savane 3.1-cleanup