[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #12622] avrdude hangs on macosx/darwin with PL-2303 u
From: |
Bengt Sjölén |
Subject: |
[avrdude-dev] [bug #12622] avrdude hangs on macosx/darwin with PL-2303 usb-to-serial and Butterfly |
Date: |
Sat, 9 Apr 2005 11:11:22 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.7 (KHTML, like Gecko) Safari/125.12 |
URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12622>
Summary: avrdude hangs on macosx/darwin with PL-2303
usb-to-serial and Butterfly
Project: AVR Downloader/UploaDEr
Submitted by: bengtsjolen
Submitted on: Sat 04/09/2005 at 11:11
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Bengt Sjölén
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
Butterfly seems to send '?' often enough to keep serial_drain looping
forever. I therefore just ad-hoc changed timeout.tv_usec from 250000 to 25000
and now it works for me anyway. But why does drain loop in the first place?
Shouldn't the purpose just be to get rid of old waiting input?
Regards,
Bengt Sjölén, Stockholm, Sweden
*** ser_posix.c Sat Apr 9 12:42:00 2005
--- ser_posix.c~ Mon Jul 19 07:16:17 2004
*************** int serial_drain(int fd, int display)
*** 310,316 ****
unsigned char buf;
timeout.tv_sec = 0;
! timeout.tv_usec = 25000;
if (display) {
fprintf(stderr, "drain>");
--- 310,316 ----
unsigned char buf;
timeout.tv_sec = 0;
! timeout.tv_usec = 250000;
if (display) {
fprintf(stderr, "drain>");
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12622>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #12622] avrdude hangs on macosx/darwin with PL-2303 usb-to-serial and Butterfly,
Bengt Sjölén <=