I’ve been working on an Arduino project and found that the board would reset itself after being connected by USB after 30 seconds.
Using a 12v battery was fine and it didn’t reboot.
It turns out that if the Arduino receives serial data on the USB it thinks it is a new compiled sketch and goes through its bootloader procedure.
The culprit in my case was Sony Ericsson software trying to identify if the USB device was a mobile phone. Disabling this cured the problem. The moral of the story is don’t run any software which uses the USB whilst you are doing Arduino development. You can disable the reset function after you’ve finished developing if you want.
Thanks man! I had the same issue, also with sony-Ericsson ‘companion’ software making my device reset each 30 seconds. Solved now!
Thanks again.
Yes, after exiting Sony Ericsson Companion software, the Arduino doesn’t reset itself anymore.
I was running a simple program, no Serial.print();
Thanks a lot!
Thank you! I had the same issue with Sony Ericsson Companion, it was driving me crzy!!
Thanks! The arduino don’t reset anymore!
GREAT!
closed Sony PC companion, and now all works fine… thanks for this tip 🙂
Thanks man! 🙂 Damn this sony companion! hahaha!
Thanks, that was driving me crazy!
Wow. This was driving me mad. I never twigged it was the Sony Companion I’d recently installed.
You are an angel – that was also my problem.
Thanks man.