Trying to reprogram bootloader on a 328 running at 3.3V & 8MHZ

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
cappy2112
 
Posts: 18
Joined: Thu Nov 03, 2011 1:19 pm

Trying to reprogram bootloader on a 328 running at 3.3V & 8MHZ

Post by cappy2112 »

[*]I've built the USBTiny V2.0 from a kit, installed the USB Drivers (libusb v1.12) on Windows XP, SP3. I see the Lib USB Win32 entry in Control panel.
[*]The PC is a Core2 Duo, 32-bit 3.2 Ghz machine.
[*]This is the first time I'm using the USBTiny
[*] Arduino IDE 0022
[*] I've connected the 6pin cable from USB Tiny to the board below, observing pin1 orientation.
[*] The jumper on USB Tiny is removed- I'm powering the board through an external power supply.

I've bought this board
http://www.spikenzielabs.com/Catalog/in ... cts_id=160

changed the regulator to a LM3940, to supply 3.3V and replaced crystal with an 8MHZ crystal.
I need to change the bootloader because the 328 needs to run @ 8Mhz (actually, anything up to 10Mhz) for 3.3V operation.
I've measured 3.3V at Pin 7 of the 328, so I know the regulator is working.

When I plug the USB Tiny into the USB port, the green LED comes on- which indicates USB enumeration was successful.

I've followed these steps to reprogram the bootloader, but I have intentionally skipped step 1, because I have a different board.
http://www.ladyada.net/make/usbtinyisp/faq.html

I've selected "Arduino Pro or Pro Mini (3.3V, 8Mhz) w/ATMega 328" from the Board Menu,
even though I"m not using an Arduino Pro. I need to select an entry which indicates 328 @ 3.3V, 8Mhz.

When I select "Tools->Burn Bootloader->w/USBtinyISP ",
the Ardunio IDE displays
"avrdude: initialization failed, rc= -1
Double check connections and try again, or use -F to override this check"

I'm not sure what else to try at this point.

Would someone who has reprogrammed bootloaders give some suggestions?

Thanks
BootloaderError.jpg
BootloaderError.jpg (7.9 KiB) Viewed 1920 times

User avatar
tytower
 
Posts: 61
Joined: Fri Sep 18, 2009 12:47 am

Re: Trying to reprogram bootloader on a 328 running at 3.3V & 8MHZ

Post by tytower »

You might find something here-http://www.arduino.cc/en/Hacking/Bootloader
You will get more response by posting on the forum there probably
There was a guy making a bootloader for just such but I cant find it as I can't search the old forum but this might help too-http://www.arduino.cc/cgi-bin/yabb2/YaB ... 418637/all

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”