Go Down

Topic: Burn Bootloader -> w/ Arduino as ISP option (Read 25249 times) previous topic - next topic

Coding Badly

Quote
Then I connected a 120 ohm resistor directly from the reset hole to a hole on the breadboard right next to the 5V(so that they are connected and the board was setup for burning the bootloader)

The word "reset" is a bit overloaded in this discussion.  I suspect you have the resistor in the wrong place.

Go here...
http://arduino.cc/en/uploads/Main/ArduinoUnoFront.jpg

Along the bottom edge of the board is a pin labeled RESET.  Two pins over is a pin labeled 5V.  The resistor goes across those two pins.

1r15hbit

Yep we're talking about the same reset

Coding Badly

#32
Jan 23, 2011, 10:25 am Last Edit: Jan 23, 2011, 10:26 am by bcook Reason: 1
Quote
Yep we're talking about the same reset

Excellent.  Does it look like the bootloader runs?  Or does it look like the Arduino ISP runs?

Quote
avrdude: Yikes!  Invalid device signature.
       Double check connections and try again, or use -F to override
       this check.

Good news: It appears the Arduino ISP is working.

Quote
Then I selected [glow]ATmega328[/glow] on a breadboard (8 MHz internal clock)

I bought an [glow]atmega168[/glow] from mouser

Bad news: You've selected the wrong board.

Worse news: There's no option for a breadboard 168.

Good news: Adding this to boards.txt should work...

Code: [Select]
##############################################################

atmega168bb.name=ATmega168 on a breadboard (8 MHz internal clock)

atmega168bb.upload.protocol=stk500
atmega168bb.upload.maximum_size=14336
atmega168bb.upload.speed=57600

atmega168bb.bootloader.low_fuses=0xE2
atmega168bb.bootloader.high_fuses=0xD9
atmega168bb.bootloader.extended_fuses=0x07
atmega168bb.bootloader.path=arduino:atmega
atmega168bb.bootloader.file=ATmegaBOOT_168_pro_8MHz.hex
atmega168bb.bootloader.unlock_bits=0x3F
atmega168bb.bootloader.lock_bits=0x0F

atmega168bb.build.mcu=atmega168
atmega168bb.build.f_cpu=8000000L
atmega168bb.build.core=arduino:arduino

1r15hbit

Is this
atmega168bb.bootloader.path=arduino:atmega

Suppose to be this
atmega168bb.bootloader.path=arduino:bootloaders:atmega

Because for the arduino 22 file package that's where the file is located

And I tried what you said and with that change and I'm still getting the same error

Go Up