Which board are you using? Serial (version 2 or 3), USB or NG?
When it stop working, what happens if you press reset, instead of re-upload the sketch?
When running the same sketch, but not connected to computer, it stops working too?
How many Arduino Pins are you using?
What kind of power source are you using?
This problem happened before, or it's the first time it happens?
I'm having frequent problems with the sketch getting corrupted or something. I have an Arduino connected to several multiplexers for a box of knobs and switches that control a Max/MSP patch. Here's what happens:Normally, it works fine. If it works for the first minute or two it will continue to work.However, several times, something has happened to make it act strange. It might work for a minute or two, but then goes kaput. To further complicate matters, the way in which it goes awry has varied:- nothing worked - i.e. it wasn't sending the serial data at all (in fact, this time I had trouble connecting to it at all although eventually I managed to get the IDE to re-upload the sketch)- it sent data, but the knobs were all mixed up (mapped to the wrong value)- it caused Max/MSP to have a stack overflowIn all cases, re-uploading the sketch caused it start functioning normally.Here's the system:Older Arduino with ATMega8Mac OS 10.4Max/MSP 4.5Any ideas on what could be happening?Thanks.