Problems Loading Bootloader from USBtinyISP


 

Mache

TVWBB Fan
After building my v3.2 HeaterMeter, I purchased and built a USBtinyISP and have been having problems flashing the bootloader onto the HeaterMeter.

After installing the Arduino IDE on my Windowws 7 laptop, I attached the B USB cable to the USBtinyISP, the other end of the USB cable to my laptop, and installed the USBtinyISP drivers onto Windows 7.

USBtiny is listed under libusb-win32 devices in the Device Manager. The Driver Provider is libusb-win32, Driver Date 1/17/2012, Driver Version 1.2.6.0, and the Digital Signer is Not digitally signed. The Device type is libusb-win32 devices and the Location is Port_#0001.Hub_#0003. Device status is This device is working properly. Diver files are C:\Windows\system32\drivers\libusb0.sys, C:\Windows\system32\libusb0.dll, C:\Windows\syswow64\libusb0.dll. Provider is http://libusb-win32.sourceforge.net.

When I next attach the USB cable to my laptop and the USBtinyISP to the Heatermeter via the 6-pin ICSP header, the green LED glows on the USBtinyISP.

Following the instructions on the wiki, I select Arduino Uno from the Tools, Board menu and select USBtinyISP from the Tools, Programmer menu. When I select Tools, Burn Bootloader, I get a brief blink of the red LED on the USBtinyISP and the following error message on my laptop.

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

Turning on a verbose mode I get the following additional information:

C:\Patches\Arduino\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Patches\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cusbtiny -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m


avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch


System wide configuration file is "C:\Patches\Arduino\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"


Using Port : lpt1
Using Programmer : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: bus-0:\\.\libusb0-0001--0x1781-0x0c9f
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :


Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00


Programmer Type : USBtiny
Description : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported


avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 00 00]
CMD: [ac 53 00 00] [00 00 00 00]
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

I have checked the connectivity on the pins of the ATMega328P chip on the HeaterMeter back to the pins on the ribbon cable headers of the USBtinyISP with an OHM meter and they are fine.

What am I doing wrong?

-- Mache
 

 

Back
Top