user20381: I have an Arduino Pro Mini 3.3v in a robot. The problem is, the Mini would automatically randomly overwrite the uploaded sketch with the default blink sketch... And this is becoming quite a problem.
I have connected the Arduino to a L293D Motor Driver and the Arduino gets its power from the motor driver only. It will work just fine, but randomly will reset to the blink sketch...
Please help
P.S- It automatically corrected after a while

user10394: The most obvious cause for a reset is pulling to much current from the Arduino.  I have never heard of an Arduino downloading a new sketch to itself.  Is it possible you are seeing the board booting up and flashing the LED as its doing so?
If you are getting the power from the motor driver its possible you are either giving the board noisy/dirty power or the motor is pulling to much current and depriving the board of power.  I would run them on separate supplies (with a common ground) to avoid this.

20381: <p>I have an Arduino Pro Mini 3.3v in a robot. The problem is, the Mini would automatically randomly overwrite the uploaded sketch with the default blink sketch... And this is becoming quite a problem.</p>

<p>I have connected the Arduino to a L293D Motor Driver and the Arduino gets its power from the motor driver only. It will work just fine, but randomly will reset to the blink sketch...</p>

<p>Please help</p>

<p>P.S- It automatically corrected after a while</p>
 10394: <p>The most obvious cause for a reset is pulling to much current from the Arduino.  I have never heard of an Arduino downloading a new sketch to itself.  Is it possible you are seeing the board booting up and flashing the LED as its doing so?</p>

<p>If you are getting the power from the motor driver its possible you are either giving the board noisy/dirty power or the motor is pulling to much current and depriving the board of power.  I would run them on separate supplies (with a common ground) to avoid this.</p>
