Pages: [1]   Go Down
Author Topic: Disabling auto-reset  (Read 545 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 118
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The auto-reset feature of the Arduino can be a bit of a design flaw. When a serial port is opened the DTR state is undefined :-/... different hardware and drivers may or may not bring the DTR line low. The FTDI chip in most Arduinos will bring DTR low on OSX and Linux, but not in Windows smiley-sad

This has been a problem for awhile. http://www.codeguru.com/forum/showthread.php?s=&threadid=291244

What is the best way to deal with this?
  • Physically disable the auto-reset feature
  • Somehow disable the auto-reset in software
    • Open the serial-port and forward it to a virtual serial port that won't play with DTR when it's opened
    • Any other ideas?
To use an Arduino as a AVR programmer(a.k.a. AVR-ISP) the Arduino needs to communicate immediately after having it's serial port opened. Avrdude supports communicating with TCP ports, but forwarding a serial port to a TCP port has proved tricky. http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1241977800/0

It seems like this is a fundamental enough problem that someone has to have a good solution.
« Last Edit: June 09, 2009, 06:36:00 pm by gabebear » Logged

Pages: [1]   Go Up
Jump to: