Pages: [1] 2   Go Down
Author Topic: Some errors in burning bootloader  (Read 2468 times)
0 Members and 1 Guest are viewing this topic.
Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley-razz
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 ?
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

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

Did you disable auto-reset on the Arduino?
Logged

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm nope.
How to do this ? I read than I can put 10μF cap between RESET and GND ( I use arduino UNO)
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

ਪੰਜਾਬ
Offline Offline
Edison Member
*
Karma: 12
Posts: 1601
Another year! Alone! :(
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

"Real Men can Accomplish  Anything"
-  Website  
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੂਂ !

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

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
Logged

Not USA
Offline Offline
Full Member
***
Karma: 1
Posts: 123
Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

3D Artist,Modeler, Texturer, Animator, Electronics and Robotics, Programming C, VB, Website Design, Flash animator

Too many hobbies?

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, I try to use 120 ohm resistor. I post results later.
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

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

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).
« Last Edit: March 07, 2011, 03:56:36 am by pluggy » Logged


Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I put those resistor and receive another error smiley-grin
When I triet 100nF cap same thing....
@pluggy - Target is ATmega8A base is arduino UNO

Code:
          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
« Last Edit: March 07, 2011, 12:46:14 pm by Max89 » Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

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

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

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Using IDE, I don't forget to select board.
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Problem solved smiley-grin

I used arduino as ISP


Code:
################################################## | 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 ?
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

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

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

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

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

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No this is a part.
I run blink sketch...  and LED blinked smiley-wink
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

Pages: [1] 2   Go Up
Jump to: