Pages: [1]   Go Down
Author Topic: a problem in burn the bootloader to ATmega328P  (Read 3236 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Using an Arduino board(Duemilanove) to burn the bootloader onto an ATmega328P on a breadboard (w/o an external clock). the status bar displayed a message"avrdude: Expected signature for ATMEGA328P is 1E 95 0F. Double check chip, or use -F to override this check."I'm afraid the hardware configuration archive(http://arduino.cc/en/uploads/Tutorial/breadboard.zip)
 is only for ATmega328,not for ATmega328P.So,is there any other way to fix the problem?
(I use a minimal configuration on a breadboard like the picture show)
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

did you set the boards.txt to burn the fuses at 8mhz, avr's dont auto clock themselves
Logged


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

thi is my boards.txt,i don't know how to configure

"##############################################################

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=0xD9
atmega328bb.bootloader.extended_fuses=0x07
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_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

"
Logged

0
Offline Offline
Edison Member
*
Karma: 0
Posts: 1103
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try it with the Lilypad328 selection - that should come close...
Logged

Bari
Offline Offline
Full Member
***
Karma: 0
Posts: 108
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
I did exactly the same try of titanz and I got the same error, I also tryed to set lilypad without success.

Any suggest?
Logged

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

Can you paste also the boards.txt that come with arduino installation?
Your board has an atmega328, right?
Logged

Lancashire, UK
Offline Offline
Edison Member
*
Karma: 9
Posts: 1991
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Make life easy on yourself, buy a 16MHz resonator or Crystal and capacitors. The few pence/cents/klebis/whatever a resonator costs is nothing against the immense pain of leaving behind the standard frequency and fuse settings......
« Last Edit: January 21, 2011, 08:51:43 am by stephen_t » Logged


0
Online Online
Shannon Member
****
Karma: 222
Posts: 12713
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm reckon you don't have a 328P there.  Perhaps you have a 328?  If so try _temporarily_ editing the SIG3 byte in the appropriate section of avrdude.conf to match your chip's 3rd signature byte.  Check the full 88/168/328 datasheet for the signatures of each variant.

There may be a matching entry already in avrdude.conf in which case you should just need to add an entry in boards.txt to select it as the mcu...  Restart the Arduino software after editing boards.txt
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: