Go Down

Topic: Some errors in burning bootloader (Read 2706 times) previous topic - next topic

Max89

I have some error when burning bootloader.
I build a board using  http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard.
I replace ATmega8 with ATmega8a.
Next I must burn bootloader so I turny my first arduino into AVRISP using ready-made program, connect all 4 wires and power to second board. I don't forget to change type of board. So I start and fail :P
avrdude told me :
Quote


Reading | avrdude: Send: u [75]   [20]
avrdude: Recv:
################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATMEGA8 is 1E 93 07
         Double check chip, or use -F to override this check.
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: Recv:

avrdude done.  Thank you.


What I might do to fix this ?
I have solution !
But it involves spherical chickens in frictionless vacuum...

Coding Badly

Did you disable auto-reset on the Arduino?

Max89

Hmm nope.
How to do this ? I read than I can put 10?F cap between RESET and GND ( I use arduino UNO)
I have solution !
But it involves spherical chickens in frictionless vacuum...

NI$HANT

Put a 110Ohm to 124ohm resistance in Between the +5v and reset Pin's on Arduino Board and you have Disables the Auto resetting.
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Coding Badly

To this...

http://arduino.cc/en/Tutorial/ArduinoISP

...add step 1.5...

1.5 Disable auto-reset.  Instructions are available here...
http://www.arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection

Crook

I was doing this the other day, and began hunting around for the right resistor, or was thinking about doing something with the software - putting a delay in somewhere as I read. Then it hit me. Take out the chip and put it into a spare DIL socket, and snip the reset pin on the socket. It's now my 'bootloading' setup. Worked like a charm.
3D Artist,Modeler, Texturer, Animator, Electronics and Robotics, Programming C, VB, Website Design, Flash animator

Too many hobbies?

Max89

Ok, I try to use 120 ohm resistor. I post results later.
I have solution !
But it involves spherical chickens in frictionless vacuum...

pluggy

#7
Mar 07, 2011, 09:51 am Last Edit: Mar 07, 2011, 09:56 am by pluggy Reason: 1
Any capacitor between 1uF & 47uF (or even bigger) between Gnd and Reset works fine.  It has the effect of 'swallowing' the Gnd pulse coming from the auto-reset capacitor.   The resistor solution holds it high by brute force.

Although I've never bothered disabling the autoreset when using the arduino as an ISP sketch, it just works in my experience.  Might be a different story if your target 328 isn't running at 16 Mhz with an external oscillator / crystal. I think if it were imperative the author would have mentioned it in the well documented sketch in examples.  (never bothered with the extra LEDS either and just worked blind).
http://pluggy.is-a-geek.com/index.html

Max89

#8
Mar 07, 2011, 06:08 pm Last Edit: Mar 07, 2011, 06:46 pm by Max89 Reason: 1
I put those resistor and receive another error :D
When I triet 100nF cap same thing....
@pluggy - Target is ATmega8A base is arduino UNO

Code: [Select]
          Using Port            : \\.\COM12
         Using Programmer      : stk500v1
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I have solution !
But it involves spherical chickens in frictionless vacuum...

Coding Badly

Are you trying to burn the bootloader from the command-line or the IDE?

If you are trying to burn the bootloader from the IDE, did you select an ATmega8 based board?

Max89

Using IDE, I don't forget to select board.
I have solution !
But it involves spherical chickens in frictionless vacuum...

Max89

Problem solved :D

I used arduino as ISP


Code: [Select]

################################################## | 100% 0.04s

avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude: Send: Q [51]   [20]
avrdude: Recv:
avrdude: Recv:

avrdude done.  Thank you.



This is done ?
I have solution !
But it involves spherical chickens in frictionless vacuum...

Coding Badly

Quote
This is done ?


If that's the entire output from AVRDUDE then, no, burning the bootloader was not successful.  Is that the entire output?

RBR

Hi
while trying to burn bootloader using parallel port in windows I am getting the following error


avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
avrdude: AVR device not responding
***failed; 
avrdude: verification error, first mismatch at byte 0x0000
         0xca != 0xff
avrdude: verification error; content mismatch



What may be the error?

Max89

No this is a part.
I run blink sketch...  and LED blinked ;)
I have solution !
But it involves spherical chickens in frictionless vacuum...

Go Up