I've built one of these boards,
With this breakbout board,
I've downloaded the following sketch to test the board
and monitor the serial output.
int count=0;
void setup()
{
Serial.begin(9600);
Serial.println("PROTOTINO 5V/16MHZ TEST");
}
void loop()
{
count++;
delay(300);
Serial.print("Count=");
Serial.println(count);
}
To make it easy on the users who will be monitoring the Arduino when it will be running in the real project ,
I want use a plain Terminal program that they are familiar with (Hyperterminal, TeraTerm Pro, etc)
instead of the Arduino IDE to monitor the Serial output.
In the Arduino IDE, I've deselected the COMPORT used for downloading/monitoring the Arduino.
After connecting Teraterm to the COMPORT used by the cable connected to the Arduino,
the program running on the Arduino restarted, as if power had been cycled.
(Teraterm does see the serial output of the Arduino, though)
Why is this?
What causes the Arduino to restart when a program is connected to the COMPORT?
FWIW- The program in the Arduino also restarts- when I open the Serial Monitor in the Arduino IDE.
Is there a way to disable this? This is very disturbing behavior.