I'm sorry if this is not the place to post this kind of topic. I didn't know where to post it. If a moderator does consider it is misplaced please move it to the correct category.
The setup is very simple, one ATmega328 with bootloader burned on. Two 22pF capacitors, 16MHz Quartz, reset button, 10kOhm resistor and 560Ohm resistor with led connected on digital pin 13. I want to program this using a FTDI Basic 5v breakout board from SparkFun. The problem is that i keep getting a error message and it does not upload. The error is: avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51 Before this message the board resets itself and then the tx led on the FTDI breakout board blinks 3 times, pauses and then one more time, and then the error. I have tried the following to get to a solution: -Verify that the right board and COM port are selected. -Reinstall the FTDI Drivers. - Verify that the baud rate in boards.txt is ok. -Search for short-circuit or open-circuits that should not be on the schematic. -Tested the ATmega328 on my Duemilanove that I bought earlier. It works great, I can upload on the microcontroller. -Tested two USB cables, none of them are faulty. -Tested the FTDI by making a short-circuit between rx and tx and listening to it in Serial Monitor, it works great. -Tried and failed to upload a sketch thru the FTDI on the Duemilanove...I don't understand this. -Tried on other computers with different operating systems, same error.
At first I thought that the FTDI chip is fried, or the ATmega328 now I know that they are working, but why not together? And also I don't know why it does not upload the sketch to the Duemilanove and it does on the Arduino Pro.