pocket avr programmer gives "avrdude: initialization failed, rc=-1"

Hi All
I have a arduino uno that the bootloader is bad ( bd still works I need add some new code). I have a Pocket AVR programmer (yesterday) from sparkfun. When I try to use it get

avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

Google tells me the Pocket AVR programmer is not seeing connecting to the arduino.
I have tried powerTarget and powering the arduino by PC and still get the same thing.

I do not have a usb hub here (but will try it) since people have found that out)

Any other ideas?

ps Cable came with Pocket AVR programmer That is the next step I will be looking into.

On my old PC I had to use the primary/master USB ports on the back of the computer to upload code. The front USB ports on my PC were basically a hub and would not work for code upload.

If you have other USB ports on your machine, give them a try if you already haven't.

Hi,

How are you plugging into the pins on the UNO?

With only the AVR programmer connected and Target Power you should see the power LED ON, on the UNO.
As you can see you can plug into the group of headers two ways.

Hope this helps... Tom.. :slight_smile:

@ Tom
Your pic is the way I have the 2 connected (not using Target power right?? Target power is for powering UNO with AVR) But I have tried with and without Target power.

@pYri Yes I did try the USB from the back of the PC.

Has any one used Pocket AVR programmer to program the arduino using the programming cable? That cable is not wired the same as sparkfun's website shows. Maybe I needed to wire it as shown and skip the programming cable.

Hi,
Does your programmer show up in your system USB connections, does it indicate a COM port in the IDE?

Tom... :slight_smile:

@ tom
Device Manager shows "libusb-win32 devices" (changes with Pocket AVR programmer)

As for the arduino software "port" is grayed out. (no changes with Pocket AVR programmer)
So if arduino software will not see the AVR programmer it cannot use it??
"avrdude: initialization failed, rc=-1" is telling me arduino software and AVR is talking right??

If I add the arduino bd is shows com 7 (arduino/Genuino uno)

Win 7
Arduino 1.6.7 (was told to be at 1.6.7 for win 7)

Found out cable was bad. but Still not working