SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By emilevictor
#119736
I am trying to get Sparkfun's Pocket ISP programmer working on my 32bit Windows 7 machine. I have installed the required device drivers, and it is visible in my device manager:
Image

Now, when I run avrdude in command prompt with the following command:
Code: Select all
avrdude -c usbtiny -B 1 -p m328p -U flash:w:main.hex
It responds with:
Code: Select all
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override this check.

avrdude done. Thank you.
Image

So, what am I doing wrong? Can someone help?
By emilevictor
#120050
frank26080115 wrote:usually that error means the chip you are programming is not responding, and the programmer is working fine
Could it possibly mean I have the wrong bootloader on it? Or is it a bad connection through the ISP header?