Poland
Offline
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« on: March 06, 2011, 03:55:58 am » |
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  avrdude told me : 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
Offline
Shannon Member
Karma: 119
Posts: 10179
|
 |
« Reply #1 on: March 06, 2011, 04:09:28 am » |
Did you disable auto-reset on the Arduino?
|
|
|
|
|
Logged
|
|
|
|
|
Poland
Offline
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« Reply #2 on: March 06, 2011, 05:17:13 am » |
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
Edison Member
Karma: 4
Posts: 1224
WANTED! A Girl with LOVE for me and Arduino!
|
 |
« Reply #3 on: March 06, 2011, 05:28:25 am » |
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
Offline
Shannon Member
Karma: 119
Posts: 10179
|
 |
« Reply #4 on: March 06, 2011, 04:43:19 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Not USA
Offline
Full Member
Karma: 1
Posts: 122
Arduino
|
 |
« Reply #5 on: March 06, 2011, 06:12:12 pm » |
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
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« Reply #6 on: March 07, 2011, 02:46:48 am » |
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
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #7 on: March 07, 2011, 03:51:47 am » |
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
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« Reply #8 on: March 07, 2011, 12:08:22 pm » |
I put those resistor and receive another error  When I triet 100nF cap same thing.... @pluggy - Target is ATmega8A base is arduino UNO 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
Offline
Shannon Member
Karma: 119
Posts: 10179
|
 |
« Reply #9 on: March 07, 2011, 12:42:44 pm » |
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
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« Reply #10 on: March 07, 2011, 12:46:53 pm » |
Using IDE, I don't forget to select board.
|
|
|
|
|
Logged
|
I have solution ! But it involves spherical chickens in frictionless vacuum...
|
|
|
|
Poland
Offline
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« Reply #11 on: March 07, 2011, 12:59:07 pm » |
Problem solved  I used arduino as ISP ################################################## | 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
Offline
Shannon Member
Karma: 119
Posts: 10179
|
 |
« Reply #12 on: March 07, 2011, 06:56:53 pm » |
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
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #13 on: March 07, 2011, 09:31:26 pm » |
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
Jr. Member
Karma: 0
Posts: 58
Newbie
|
 |
« Reply #14 on: March 08, 2011, 02:39:20 pm » |
No this is a part. I run blink sketch... and LED blinked 
|
|
|
|
|
Logged
|
I have solution ! But it involves spherical chickens in frictionless vacuum...
|
|
|
|
|