Home › Evil Mad Scientist Forums › Microcontrollers › trouble burning the bootloader to atmega 328
- This topic has 16 replies, 3 voices, and was last updated 13 years ago by protheus.
-
AuthorPosts
-
August 1, 2012 at 11:52 pm #20084hodxParticipant
i have been searching the net and trying, i still can’t get the bootloader to go on the blank chip….I am usint the Diavolino as my ISP…i keep getting this for the last 2 chips i tried
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Double check chip, or use -F to override this check.hope somebody can help…i am pulling my hair out
August 1, 2012 at 11:55 pm #20817Windell OskayKeymasterCan you say what signature you *are* getting?
August 2, 2012 at 12:09 am #20818hodxParticipantdoesn’t say anything….i am stumped
August 2, 2012 at 12:11 am #20819hodxParticipantuse -F to override this check
how do i over ride the chip?
August 2, 2012 at 12:14 am #20820Windell OskayKeymasterThere is supposed to be a line above that one, saying what it actually read– the “expected signature” line always follows that if the value is wrong. It should be something like “avrdude: Device signature = 0x1e9514 .
You may need to just scroll up a line to see it.If you’re doing this from within the Arduino IDE, you may need to turn on verbose mode in the preferences.August 2, 2012 at 12:14 am #20821Windell OskayKeymasterYou *do not* want to override the check. This is a *symptom* of something else wrong, not the cause of the problem.
August 2, 2012 at 12:20 am #20822hodxParticipantthere is no other line about it….I forgot to say instead of crystal and caps, i’m using a 16mhz resonator….but i also tried another chip using the build in 8mhz osc…..
August 2, 2012 at 12:21 am #20823hodxParticipantthere is no other line…just what i posted
August 2, 2012 at 12:24 am #20824Windell OskayKeymasterDo you have the verbose option turned on?
August 2, 2012 at 12:27 am #20825Windell OskayKeymasterAnd, to be clear, you are *not* reporting nearly enough information here to figure out what the problem is. I can give you a list of things to check (like, for example, that your target chip actually is an an ATmega328P), but until you can see the actual error, it’s pretty hard to guess what might be wrong.
August 2, 2012 at 12:46 am #20826hodxParticipantok …i am using arduino IDE 0023 version….using Diavolino as ISP….wired the breadboard, just like on your tutorial or the one on the Arduino site….i put the sketch ArduinoISP on the Diavolino…i selected Arduino Duemilanove or Nano w/ATmega328…..then run Burn Bootloader with Arduino as ISP…what is the verbose option?
August 2, 2012 at 12:47 am #20827Windell OskayKeymasterExactly what chip are you using? Are you certain that it’s a ‘328P, not just a ‘328?
The verbose option, as I said, is in the Arduino preferences.August 2, 2012 at 12:52 am #20828hodxParticipanti am using a atMega 328-PU
August 2, 2012 at 12:57 am #20829Windell OskayKeymasterYes, that would be the problem right there. That’s actually a different chip, with a different signature, from the one supported by Arduino.
You can work around this by changing the expected signature in your avrdude.conf file, following the instructions from this thread: http://www2.evilmadscientist.com/forum/viewtopic.php?showtopic=4997August 2, 2012 at 1:08 am #20830hodxParticipantthanks for the help
-
AuthorPosts
- You must be logged in to reply to this topic.