Pages: [1]   Go Down
Author Topic: Arduino Bootloader on Atmega328P-PU  (Read 1616 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
i want to to burn the arduino bootloader to an atmega328 chip. - with no success.
I've already spent much hours in searching, etc with no result.

Here is my wiring:

http://www.abload.de/img/img_20120604_233617hojep.jpg

What i've done at the software side:

at first i've added this to my devices.txt:

Code:
atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600

atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino

after that i've uploaded the File > Examples > ArduinoISP to my Arduino Duemilanove successfully.

after that i've choosen the "ATmega328 on a breadboard (8 MHz internal clock)" on the Tools > Boards menu.

now i've pressed Tools > Burn Bootloader.

Thats the error:

Code:
avrdude: stk500_getsync(): not in sync: resp=0x15

I have no idea how to fix it.
Btw: my atmel chip on the breadboard gets really hot!
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 137
Posts: 6792
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It looks to me like your power connections aren't right.  You have one black and one red wire in each of your +5 and GND rails.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

omg you're right.
big fail at my side!
Thanks!
Logged

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1001
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Also a heads up. 

Whenever anything gets super hot and it shouldn't be, thats the biggest flag possible to check the power rail connections. 
This reaction isn't only limited to the atmel chips.  Every IC can react this way when you have a gnd and a 5v switched by accident.  I've burned out a few chips that way when working with 12v or more.

So just a sidenote
Logged

Accelerate to 88 miles per hour.

Pages: [1]   Go Up
Jump to: