So I was working on my project a while ago, when my pc just shut down (don't know what caused it, but it's on now). Anyway, since then my arduino hasn't been working. The L and pwm led's are always on when it has power, and the program won't upload (error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x50
)
None of the help I've been able to find online seem to help, and I've tried Pressing the reset button in various points of uploading and compiling, but nothing.
You could help by stating what board you have and stating what solutions you tried so we don't waste time. It's probably a driver issue. What do you see when you open the device manager with the board plugged in?
Have you tried it with a different computer, or the computer with another arduino. If it doesn't work you might try burning the boot loader, but this should be saved as a last resort, I personally wouldn't.
Is it always 0x50, or different each time? (if it's always the same or similar, that can be a big clue. Actually, if it's totally random, that's also a clue. )
What L and PWM leds? Arduino boards do not have an L or PWM led. There's power, TX, RX, and the one connected to one of the pins (pin 13 on most (all?) boards)
Was the Arduino connected to the computer when it shut down unexpectedly? Were you doing anything with the Arduino? What was connected to it? Could you have been abusing it (powering through 5v pin when on USB, shorting stuff out, connecting power backwards)?
Thanks for the reply all
It is a Arduino Duemilanove board(running ATmega328p). The arduino was plugged in when the pc shut off, and the ground was connected to that of a lab power supply so I could control a motor(through a transistor). I aam running windows 7, and I don't have another pc or arduino to test it on right now, but it was working before the unexpected shutdown. By L led, I mean the one connected to pin 13, and on my board there is a led labeled pwm. The error is always the same. IDE version 1.6.7. The device manager shows what I always did, a usb com port. I've tried pressing the reset button while booting or uploading, and I've tried reinstalling the drivers for the usb com port.
Duemilanove & Uno do have an L LED.
PWM, not so much.
Have you tried the Loopback test? Connect Reset to Gnd, connect D0 to D1, open the serial monitor and type, it should be echoed back to you. If that's not working, you're not going to be able to download sketches.
I am also having the same problem.my arduino L led stays on it is arduino uno .I have been frequent puluging and unpluging ani some time i would short circuit just some times . but the led used to turn off and now it stays on i am trying to make a balancing robot but the code is uploaded the tx and rx blinks when uploading but the code doesnt work i started uploading for balancing robot from this morning it was not working for abiut 3 hours of trying but after that 30 mins it worked i tried to tune pid for balancing and while this 30 mins also the light was on though. And then after that 30 mins it is not working again!! please help can i recover it ?