The basic setup is like here → http://arduino.cc/en/Main/Standalone except I do not have the 16Mhz crystal, SKU BOB-08508 or the FT232 breakout board. I have the AVR USB Programmer mentioned before connected as follows:
Since you can connect to the Atmel328P-PU, it is a good sign your basic setup works. Your problem is likely in the settings you chose in the Arduino IDE.
You might check to see if you are using the correct COM port. Also, it would be helpful if we knew what the actual AVRDUDE command is, (the Arduino IDE usually doesn’t tell you). Could you use just AVRDUDE instead and tell us the exact command you typed?
Please post a picture of your connections, what version Arduino IDE you are using and what your settings are for the Board, Programmer and Serial Port.
Avrdude returned: avrdude: stk500_getsync(): not in sync: resp=0x00
From the USB AVR Programmer Utility:
ISP Frequency = 4.0 kHz
minimum voltage = 4832 mV
Error From Last Programming:
The SPI command for entering programming mode was sent, but the expected response from the target was not received. Make sure that the ISP frequency setting is less than 1/4th of the target’s clock frequency.
I still haven’t been able to get a bootloader to upload to the Atmega328P-PU, but I did get a simple blink program to upload by using Atmel Studio and pre-compiling the program, then opening the Device Programming (On the Tools menu), selecting the proper programmer and IC then changing the ISP frequency to 14.07 kHz. I then selected “Memories”, loading the pre-compiled blink program and uploading it from there. Only thing is…it operates at 1/4 speed. The internal clock must be WAY OFF! I am ordering crystals and going external for the clock.
I will try changing the m128 to m328p as well, but I think my biggest issue is the internal clock rate.
I have not had any success uploading the bootloader to the 328P and now i have Atiny85 and still cannot upload a bootloader to it either. The programmer works fine for uploading programs and reading from the ICs, but will not upload a bootloader. Any suggestions or clarifications I can make?