Pages: 1 2 [3]   Go Down
Author Topic: Burn Bootloader -> w/ Arduino as ISP option  (Read 23003 times)
0 Members and 5 Guests are viewing this topic.
Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 207
Posts: 12909
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep we're talking about the same reset
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 207
Posts: 12909
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
##############################################################

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
« Last Edit: January 23, 2011, 04:26:05 am by bcook » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: 1 2 [3]   Go Up
Jump to: