Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a tough time trying to get the Arduino on a breadboard working and it's driving me crazy! I've never done anything with Arduino before (only the Raspberry Pi). I followed the instructions here and have triple checked all of my connections:

www.arduino.cc/en/Main/Standalone

I purchased this chip: ATMEGA328P-PU: http://www.ebay.com/itm/311131488228

And I purchased this USB2.0 6Pin CH340G Converter: http://www.ebay.com/itm/191146797242

When I connect power to the board and press the reset button, my LED connected to pin 13 (pin 19 on the Atmega chip) flashes 3 to 4 times (not sure, it flashes fast). From what I have read, that means the chip has been boot loaded correctly, I hope.

I'm using the Arduino Sketch v1.6.5. The problem is when I try to upload the Blink sketch. I just cannot get it to work whatever I try. I load the Blink sketch from Examples, under "Board", I am selecting "Arduino Uno", under "Port", I'm selecting "COM3", and then under "Programmer", I select "AVRISP mkII". I turned on Verbose output as well. When I upload, I get the following error message:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x8c

avrdude: stk500_recv(): programmer is not responding

It tries 10 times and then fails. I've tried with different "Board" options and different "Programmer" options, but no luck. I'm using Win 7 - the driver for the USB/Serial device installed automatically. It shows as "USB-SERIAL CH340 (COM3)" with a Drive Date "6/3/2009" and a Driver Version "3.1.2009.6". I've tried different baud rates too...

What else can I try? Is there a good method or tool to debug this sort of problem?

share|improve this question
1  
See: Problems with uploading to board – Nick Gammon Oct 9 '15 at 7:01
1  
I think it's a problem with the serial converter. First of all, you haven't wired the DTR pin to a capacitor connected to the reset line, right? If you haven't, then when the IDE says "Uploading" you have to press the reset button. Just a simple press-and-release at the beginning of the uploading. If even with this it doesn't work, try swapping the RX and TX lines. Under programmer you don't need to change anything (it is not used in serial programming mode). The board is an Arduino UNO, so use it.. Let us know – frarugi87 Oct 9 '15 at 10:17
1  
Wow... And to think I spent hours on this over the last few days... I reconnected the reset button on the serial converter with the capacitor and switched around the RX and TX wires and it works! Thank you SO much!! – Mark Oct 10 '15 at 2:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.