Hi
I'm trying to upload a sketch to an Atmega328p using an FT232RL. I've been following this tutorial: 1-Day Project: Build Your Own Arduino Uno for $5 - YouTube
This is how my setup looks:
Basically, the connections are:
- 16mhz clock to 9 and 10 through 20pF caps
- red led from 19 (digital pin 13) to 22 (gnd)
- FT232RL gnd to GND
- FT232RL vcc to vcc
- FT232RL tx to 2 (rx)
- FT232RL rx to 3(tx)
- FT232RL dtr to 1(rst) through a 100nF cap
The Atmega328p has been bootloaded and it works fine when fitted into an Uno board. When I power on the chip via FTDI232 the red led flashes twice.
However, when I try to upload the sketch it gives the following error:
Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9e
I believe the FTDI drivers are up to date and I select COM5 which appears when I connect the FTDI chip to my pc by USB. I've selected the board as Uno.
Does anyone have any ideas on why this is happening?
Thanks