I vaguely remember seeing something like this mentioned but, of course, I can't find it now.
I have the following three USB connections on Windows 7:
COM4 - Duemilanove
COM6 - Nano
COM7 - USB-TTL Serial interface
I have a different program loaded into each Arduino and had thought that if I was developing a sketch for one of them, the other could just run independently.
Not so.
If I unplug one of the Arduinos (Arduino IDE is not running), the other Arduino reboots. If I then plug the first COM port back in again, the second Arduino reboots again.
If I unplug COM7, both Arduinos reboot. Plug COM7 back in, both reboot again.
If I start up the IDE for the Nano (for example), the Duemilanove reboots. If I just click on the Tools menu in the Nano IDE, the Duemilanove reboots and if I then upload a sketch to the Nano, the duemilanove reboots again.
Why is this happening and can I fix it so that it doesn't happen?
Pete
Indeed it is. All three ports are connected to a powered USB3 hub.
Pete
If the hub is not connected to the computer, does the problem still occur?
All three were on the same powered USB3 hub. I've moved the Duemilanove to a separate USB port on the front of the computer and now they don't interfere with each other. So, now the question is why does this happen on the powered hub?
Thanks very much
[edit] Actually there is still some interaction. Starting up the IDE on one port still resets the other but unplugging one doesn't reboot the other.
Pete
Did you forget to answer my question from post #3?
I thought my previous post had answered that - maybe I've misunderstood the intent. All three devices were on the same hub, so removing it would have removed the problem because none of them would be connected.
I've moved the Duemilanove to a separate USB port and if I unplug or plug in the remaining two ports that are still on the hub (Nano and USB-TTL serial) they do not disturb the Duemilanove and unplugging the Duemilanove doesn't disturb the Nano.
Starting up the IDE still reboots both of them.
I found a thread about Serial port enumeration and I tried switching that off in each port and rebooting. Unplugging one Arduino doesn't reboot the other but starting up the IDE still reboots them both. http://arduino.cc/forum/index.php/topic,39770.0.html
Pete
el_supremo:
I thought my previous post had answered that - maybe I've misunderstood the intent.
The intent is to isolate the problem. Connect the three boards to the hub but do not have the hub connected to the computer. Unplug one board. If either of the boards still connected to the hub resets then the culprit is either the hub or one of the boards (my bet is on the hub). Repeat for the other two combinations.
If the problem does not occur with the hub disconnected then the problem is very likely with the computer.
I suggest also trying different USB cables.