Show Posts
Pages: 1 [2]
16  Forum 2005-2010 (read only) / Development / Help getting the FTDI to talk to atmega168. on: July 01, 2010, 05:01:36 pm
So I'm working on a project that will be programed with the Arduino IDE.  On my board I have a atmega168 in the TQFP form and the FT232R FTDI chip.  Essentially I'm building an Arduino board but in the same size as a Diecimila I have the rest of my project.  My board runs on 3.3V and therefore uses the internal 8MHz clock.  I have been able to connect with AVRISP MKII and set the fuses to 8MHz, bootreset, and no div8.  I then burned the "ATmegaBOOT_168_pro_8MHz.hex" bootloader because that seemed the most appropriate.  My computer recognized the FTDI chip and installed a COM port.  In Arduino I used the board "Pro or Mini (8Mhz, 3.3) atmega168" and got out of sync errors.  I also tried almost all other board settings and a couple other boot loaders.
HARDWARE: Could someone proof this and see where I'm going wrong?

The left two 0805s are .1uF caps.  Right of the FTDI, the two verticle ones are 1k and the lower horizontal is 100 ohm.  Sorry if my board design seems a little unorthodox.  I'm new to this and I make the boards myself so layers aren't as important.
Oh and those are not vias.  Wire connections/jumps-It's a single sided board.

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Thank you for your help.
17  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: uploading arduino code with avr-isp and AVR Studio on: September 13, 2010, 08:45:17 pm
I can't seem to find the hex file anywhere.  I am using v18 on vista.  Does the IDE need to be opened or closed?
Thanks
Pages: 1 [2]