Welcome, Guest. Please Login or Register
Arduino: Forum
02.09.2010 at 15:22:09


Poll
Question: What arduino do you have that won't work

Mega
duemilanove
dieimila
other


« Created by: 1 on: 16.06.2009 at 15:55:58 »

Pages: 1 2 3 
AVR Dude Error (Read 11256 times)
1
YaBB Newbies
*
Offline

Arduino rocks

Posts: 3

Re: AVR Dude Error
Reply #15 - 11.06.2009 at 22:23:33
 
same for me
Back to top
 
 
View Profile   IP Logged
1
YaBB Newbies
*
Offline

Arduino rocks

Posts: 3

Re: AVR Dude Error
Reply #16 - 11.06.2009 at 22:23:50
 
have a diecimila and got the same thing
just got 0016
loop feedback does not work
i am just doing Blink
i got with verbose mode on:

Binary sketch size: 896 bytes (of a 14336 byte maximum)


avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/


        Using Port            : \\.\COM4
        Using Programmer      : stk500v1
        Overriding Baud Rate  : 19200
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

avrdude done.  Thank you.


Exclaim I Need Help!  Exclaim
Back to top
 
 
View Profile   IP Logged
madworm
God Member
*****
Offline

make it bigga   
make it round

Posts: 890
"The old Europe"
Gender: male
Re: AVR Dude Error
Reply #17 - 11.06.2009 at 23:18:34
 
loop feedback does not work

are the FTDI drivers installed properly ?
do you see an additional serial port when you plug it in ?
Back to top
 
 
View Profile | WWW   IP Logged
inthebitz
Junior Member
**
Offline

Arduino rocks

Posts: 63

Gender: male
Re: AVR Dude Error
Reply #18 - 12.06.2009 at 00:22:05
 
hey guys, i just saw this post come up about the mega... i don't really know what it might be, but the one i have at home works perfectly? i have a vista laptop that pretty much never worked (for some reason the driver crashes my computer every once in a while when it downloads, but that's with the diecimila and duemilanove too), so i always do programming on my xp desktop.

sadly i'm still at work Sad but i'm going to run home as soon as i can to see if i can help. in the meantime i just emailed chris too i think he's home, and maybe he can see what's up?

hmmmm....

matt
Back to top
 
 
View Profile | WWW   IP Logged
AVRman
Junior Member
**
Offline

Arduino rocks

Posts: 73
USA
Re: AVR Dude Error
Reply #19 - 12.06.2009 at 00:25:15
 
i have two Mega's that i dug out of my desk that seem to program correctly.

i'm using the Arduino 0016 version, which one are you using?
Back to top
 
 
View Profile | WWW   IP Logged
Severino
YaBB Newbies
*
Offline

Build with me.

Posts: 43
Connecticut
Gender: male
Re: AVR Dude Error
Reply #20 - 12.06.2009 at 00:38:03
 
Hi... i just tested 6 of the new Megas in my book case and none of them will program with Arduino 15 or 16.
i'm going to test the rest and see if i can figure out why these Arduinos aren't working...

Back to top
 
 
View Profile | WWW   IP Logged
Severino
YaBB Newbies
*
Offline

Build with me.

Posts: 43
Connecticut
Gender: male
Re: AVR Dude Error
Reply #21 - 12.06.2009 at 02:59:21
 
update...
I just checked all of the Arduino Megas i have in my apartment...
The 3 that i first bought (in April) from the arduino team in italy worked fine.
The new 58 Arduino Megas (i bought in May) don't work at all... not a single will program!

I tested the ftdi usb circuitry and that checks out fine...

I just took out my AVR ISPMKII and i will test the fuse bits on the processor to see if they are different from my working Megas...
Back to top
 
 
View Profile | WWW   IP Logged
retrolefty
God Member
*****
Offline

Measurement changes
behavior

Posts: 4034
Left Coast, CA (USA)
Re: AVR Dude Error
Reply #22 - 12.06.2009 at 03:08:49
 
Code:
I just took out my AVR ISPMKII and i will test the fuse bits on the processor to see if they are different from my working Megas...  



Maybe they missed the step to burn the bootloader  Wink

Why don't you try and use your burner to try and reload the bootloader from the IDE.

Lefty
Back to top
 
 
View Profile   IP Logged
Severino
YaBB Newbies
*
Offline

Build with me.

Posts: 43
Connecticut
Gender: male
Re: AVR Dude Error
Reply #23 - 12.06.2009 at 03:17:18
 
The fuse bits look fine...

Reading fuses address 0 to 2.. 0xFF, 0xDA, 0xFD .. OK!



now i will export the .hex file and compare the boot and flash to see if they are the same...
Back to top
 
 
View Profile | WWW   IP Logged
Severino
YaBB Newbies
*
Offline

Build with me.

Posts: 43
Connecticut
Gender: male
Re: AVR Dude Error
Reply #24 - 12.06.2009 at 03:38:23
 
well... it isn't that either...

I just compared the working .hex with the other .hex
the boots look identical



I also tried to use the known good .hex on the other broken Mega... but as expected it did nothing...

next i'm taking out my scope and giving some tests to the serial signals going into the Arduino...

I have a hunch that this is some kind of hardware issue...
Back to top
 
 
View Profile | WWW   IP Logged
madworm
God Member
*****
Offline

make it bigga   
make it round

Posts: 890
"The old Europe"
Gender: male
Re: AVR Dude Error
Reply #25 - 12.06.2009 at 05:23:19
 
Maybe somebody used a bit too much solder paste on the fat chip. The pin pitch is similar to the FTDI chip though and that has worked before.
Or die DTR capacitor is borked, or the FTDI chip spits out inverted signals or... whatever.

Edit: So I was once right. That feels so good  Cheesy

And it is easy to fix too.
Back to top
 
 
View Profile | WWW   IP Logged
Severino
YaBB Newbies
*
Offline

Build with me.

Posts: 43
Connecticut
Gender: male
Re: AVR Dude Error
Reply #26 - 12.06.2009 at 05:32:09
 
yay!!!

i got it!

all the arduinos had an incorrect cap placed on them...



so i looked at the reset pulses on both sides of this capacitor to see if it was charging properly when the reset was sent from the ftdi chip...



this was in fact the case...
the ftdi chip was outputing the correct signal, yet the arduino wasn't being reset...

so i replaced it with a 100nF capacitor that i found lying around from the touchshields i built...

the only problem is that the 100nF i used was 0402 surface mount technology... but hey



and...

program!

and fixed

if you bought an Arduino from my website, give me a call on my cell phone (860  930   6480) or shoot me an e-mail ( mike.gionfriddo@gmail.com ) and i will mail you out a fixed MEGA as soon as possible...

sorry for the delay...
Back to top
 
 
View Profile | WWW   IP Logged
Brian Avery
YaBB Newbies
*
Offline

Arduino rocks

Posts: 4

Re: AVR Dude Error
Reply #27 - 12.06.2009 at 05:47:47
 
Mike,

Thanks for putting in all the time tonight to figure out what the problem was. Great customer service.

-Brian
Back to top
 
 
View Profile   IP Logged
retrolefty
God Member
*****
Offline

Measurement changes
behavior

Posts: 4034
Left Coast, CA (USA)
Re: AVR Dude Error
Reply #28 - 12.06.2009 at 06:28:41
 
Good troubleshooting, thanks for sharing your experiance.

Looking back now that we know the root cause, a test using the manual reset button while uploading a sketch would have worked and helped isolate the problem quicker and with less steps? Sorry, I was a hardware troubleshooter before retirement and can't help myself, I always tried to keep a lessons learned list on equipment I had to support.  Wink

Lefty
Back to top
 
 
View Profile   IP Logged
Severino
YaBB Newbies
*
Offline

Build with me.

Posts: 43
Connecticut
Gender: male
Re: AVR Dude Error
Reply #29 - 12.06.2009 at 08:38:14
 
Ok... I just got done fixing and testing a bunch of them.
They are as good as new!

@Brian Avery
I will ship your package in the morning.

@Chankster
Your Arduino will also ship out tomorrow.

@retrolefty
Good call!
a hack that can be done is... pressing the reset button on the arduino after you click the upload button, and the arduino mega should accept the program....
Back to top
 
« Last Edit: 12.06.2009 at 16:40:50 by Severino »  
View Profile | WWW   IP Logged
Pages: 1 2 3