avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #6866] bug #26703: [Feature Request] Support device


From: Michael Dreher
Subject: [avrdude-dev] [patch #6866] bug #26703: [Feature Request] Support device reset for 'arduino' programmer type
Date: Sat, 10 Oct 2009 12:45:21 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Creative ZENcast v2.01.01

Follow-up Comment #6, patch #6866 (project avrdude):

Hi Michal,

there is a little typo in ser_win32.c. The filedescriptor parameter is named
"fdp" instead of "fd" which prohibts compiling it.

original:
static int ser_set_dtr_rts(union filedescriptor *fdp, int is_on)

changed:
static int ser_set_dtr_rts(union filedescriptor *fd, int is_on)

The current CVS version (845) does not reset DTR when closing the serial port
under Windows. This leaves the DTR signal at the WT-11 bluetooth chip at a
high level. Other serial port hardware+drivers+OS combinations like the FTDI
chip on the Duemilanove behave differently.

Please add a CLEARDTR and CLEARRTS when closing the port.

Another potential problem is, that ser_setspeed() will always reset DTR and
RTS, but it should keep their values. So the result depends on the order
between calling ser_setspeed() and set_set_dtr_rts(). That was something I
also forgot in my patch.

  Michael



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6866>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]