[SOLVED] Another Problem Uploading Sketch Thread...

So I've always built my own Arduinos, but for this new project I decided to buy a Gravitech Arduino Nano 3.0. I also bought an official UNO R3 just to have. I am having problems uploading sketches via USB. I get the following error on both the nano and the uno.

Arduino: 1.6.5 (Windows 7), Board: "Arduino Nano, ATmega328"

Build options changed, rebuilding all



Sketch uses 6,664 bytes (21%) of program storage space. Maximum is 30,720 bytes.

Global variables use 329 bytes (16%) of dynamic memory, leaving 1,719 bytes for local variables. Maximum is 2,048 bytes.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b57600 -D -Uflash:w:C:\Users\Dustin\AppData\Local\Temp\build3883939482945049544.tmp/ChickenCoopDoor.cpp.hex:i 



avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58

         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         Copyright (c) 2007-2009 Joerg Wunsch



         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"



         Using Port                    : COM4

         Using Programmer              : arduino

         Overriding Baud Rate          : 57600

avrdude: stk500_recv(): programmer is not responding

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

........

avrdude: stk500_recv(): programmer is not responding

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



avrdude done.  Thank you.

I am able to upload to both boards via an ArduinoISP board. I can also open the serial monitor and see Serial.print output via the usb, just can't upload sketches.

I am using the latest Arduino IDE. I have the correct boards selected and the correct COM ports. Using a Windows 7 64bit machine, also tried a Windows 8.1 laptop.

Things I have tried:
• Updating and rolling back drivers, from the IDE folder, windows update, and FTDI site.
• Uninstalling and reinstalling everything multiple times, IDE and drivers
• Reloading bootloader via the IDE using my ArduinoISP
• Holding and releasing the reset button many different ways
• 1uF cap soldered across reset and ground(it's removed now)
• Many different USB cables and ports

I've spent most of the day searching every site/thread I could find on the subject and I'm at a loss. Any ideas on what to try would be greatly appreciated. I can load my sketches via the ArduinoISP programmer, but I would rather be able to do it via USB to quickly make changes and read serial output.

Thanks!

Forgot to mention, I did do the loopback test and it works fine. I see the TX/RX LEDs both flash. When uploading a sketch it will flash the RX light 3 times and then start to run the sketch that's already on the chip.

I just tried the latest drivers again and I get something different. I see everything in device manager and appears to be right, but the Port option in the IDE is grayed out. Tried manually setting the port in preferences, but it says it can't find that particular port file. Though it shows in device manager properly. I reinstalled the driver from the current IDE package and I get the situation described in the first post, but I can select the port in the IDE dropdown.

Above error comes while bootloader crashed or not update boot loader properly
I recommend use avr pocket programmer to upload the code
& bootloader

Make ensure your reset & icsp circuit build as per schematic .

These are both manufactured boards. Not clones either. The ISP is the Arduino branded one as well.

I have reloaded the bootloader multiple times and everything is successful. Sketches will load via the ISP, but not the ftdi, though the ftdi interface appears to be working. Sketches will run fine on both boards.

If it is a bootloader problem, why would the arduino IDE load the wrong or broken bootloader?

Thanks for the reply AMPS-N, you were right on the money about the bootloader. Even though sketches were running fine when loaded through the ISP, there was still some strange issue.

For anyone searching, this is how I fixed it.

I decided to start over and reload the drivers from the arduino IDE folder as I had done before. I then connected the ISP, selected the proper board and port, then burned the bootloader again. I disconnected the ISP and connected the USB cable. Then I tried something I read on the troubleshooting guide and selected a different board(Yun), then immediately selected the proper board(Uno). Then I uploaded the sketch and it worked.

The strange thing is I tried all of the steps and many, many more several different times. So for anyone having the same issue and trying all of this, it appears doing everything in this particular order works. I did the same thing to the Nano board and it worked as well.