I'm very new to electronics, and have started messing around with this Breadboard Arduino tutorial as a learning tool:
I was able to bootload my blank ATMEGA168 using an AVR Pocket Programmer (https://www.sparkfun.com/products/9825
). I was also able to upload a simple sketch through the programmer that does a serial out "hello world" every few seconds.
Now, I've also got a FTDI USB Breakout (https://www.sparkfun.com/products/9716
) that I'd like to now use to upload sketches, instead of my programmer.
Plugging in my USB-to-Serial into my PC, I can see the "hello world" from my serial monitor as expected. However, whenever I try to upload a new sketch, I get "avrdude: stk500_getsync(): not in sync: resp=0x60". I have my DTR pin going through a 0.1uF capacitor, as suggested for the auto-reset. When I click upload, the my pin 19 LED flickers very quickly for a second or so. But the upload still fails.
The fact that I can upload with my programmer tells me that my chip isn't busted, and the fact that I can hear the serial message through the monitor tells me my USB-to-Serial system seems to be working. And the fact that the lights flicker during my upload attempts tell me that it seems to be at least trying to do the upload.
Can someone offer any advice here? I'm running out of ideas. Thanks in advance.