What I am trying to do is program the ATmega328P on a breadboard. I have followed the schematic by which the Duemilanove board was wired to no avail.
I have a SparkFun AVR Pocket Programmer that works fine. I am able to successfully program, using ISP, the ATmega328P on the Arduino Duemilanove board. Further, I am able to remove the stock controller, replace it with a new controller (same model and same chip I am attempting to program on the breadboard), and program successfully as well.
I directly connect the following:
- MISO to pin 18
- SCK to pin 19
- RESET to pin 1
- RESET also has a pull-up resistor
- VCC to pin 7
- MOSI to pin 17
- GROUND to pin 8
I have tried tying AREF to VCC and both GROUNDs together - still nothing. I also tried programming the board by powering it externally (i.e. removing VCC from the ISP connector). The pins I have described above are the only connections. Is there something I am missing here?
There error I get is:
Where I have read this result indicates that the programmer cannot connect to the target board.
I tried looking over the schematic further to see if there were any extra connections that I was missing(i.e. some other grounded or 5V supplied pin I would otherwise be bypassing by tying VCC directly to pin 7); I could not find anything. Any suggestions?
Here is the verbose output ( -v flag using avrdude ). I am not sure what to make of this information.