Pages: [1] 2   Go Down
Author Topic: Another Duemilanove with error not sync  (Read 2428 times)
0 Members and 1 Guest are viewing this topic.
São Paulo/BR
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello guys,

 I am new to the forum and newbie with Arduinos, but I have basis for electronics and computing.
 I am writing as last wish to save an Arduino Duemilanove (e_roboto.tw) bought in dx.com.
 Important to say that I have an Arduino Nano which works perfectly.

 After some errors in the installation drivers and a boot, managed to load the example blink on my Duemilanove and since then has never more worked, I explain: In the next day and it wasn't blinking and when trying to load and got the error: avrdude: not in sync : resp = 0x00.
After reading many posts, I tried:

 - tested the cable;
 - did the loop-back test;
 - checked model and port;
 - tested on different computers (my Nano works forever at all);
 - tried different IDE versions (0022 until 1.0.5);
 - tried different versions of FDTI drivers (2.0.0, 24, 28, 30);
 - press the reset button before/during/after/in a row/ strongly smiley-wink when uploading;
 - put a resistor between pin 5   and Reset to load;
 - bought and changed the ATmega328P-PU with bootloader already recorded;
 - tried to burn the bootloader using a TinyISP (Atmega new and old);

 And I still getting the error message: avrdude: not in sync: resp = 0x00
 I'm using Windows 7 32-bit.

 Is it time to give up or have something to be done yet?

Thank you
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13039
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
- did the loop-back test;

And?
Logged

In transition
Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
I'm so confused.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

srmark, have you noticed any complications with the Nano now that, I assume, you have the FTDI driver installed along with the Arduino driver?
Logged

If it isn't worth doing right, it isn't worth doing at all.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nano also uses FTDI driver. There is no indication of 16U2 type driver being installed.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

São Paulo/BR
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you guys,

Coding Badly,
loop-test OK

Honduras,
Nano works perfectly, I suppose Nano and Duemilanove use the same FTDI driver, right?

CrossRoads,
Can I assume that there is no driver error?

Additional information:
I tried upload the blink sample using an usbTiny and this is the result:

Programmer Type : USBTINY
         Description     : USBtiny simple USB programmer

avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 00 00]
CMD: [ac 53 00 00] [00 00 00 00]
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0% 0.00sCMD: [30
00 00 00] [00 00 00 00]
CMD: [30 00 01 00] [00 00 00 00]
Reading | #################                                  | 33% 0.00sCMD: [30
 00 02 00] [00 00 00 00]
Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.

avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure doesn't look like the chip is talking.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 504
Posts: 19106
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try the chip detector sketch:

http://www.gammon.com.au/forum/?id=11633

Quote
- did the loop-back test;

And? What happened?
Logged


São Paulo/BR
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you Nick. Very interesting...
Just a doubt: in this case, what the objective: check the fuses or other information that would be used to correct the previous error (upload the blink sample)?
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 504
Posts: 19106
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.

To find out if the chip is working or not. If the chip responds, then there is some comms issue (eg. wrong baud rate, wrong baud selected, wrong fuses, USB interface not working, no bootloader, etc.).
Logged


Offline Offline
Faraday Member
**
Karma: 66
Posts: 2578
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

- tried to burn the bootloader using a TinyISP (Atmega new and old);

Oh?

avrdude: Expected signature for ATMEGA328P is 1E 95 0F

Well, that's what would bounce back if you were trying to bootload with your "Tiny ISP" and there was a "plain" 328 in place.  Many Arduino clones use the ATmega328 instead of the 328P to save a few cents.  Anyway, it probably shipped without a bootloader on it (read of that a few times in "comments" there at dx.com - caveat emptor.)
The signature for the 328P is 0x1e 0x95 0x0f
The signature for the 328 (no "P" suffix) is signature = 0x1e 0x95 0x14

"Non-P" devices can be programmed by modifying the avrdude.conf file.
In the ATmega328 section, find and change signature = 0x1e 0x95 0x0f (the P signature) to signature = 0x1e 0x95 0x14 (non-P)
Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 504
Posts: 19106
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
avrdude: Device signature = 0x000000

However that is not a valid signature.
Logged


Offline Offline
Faraday Member
**
Karma: 66
Posts: 2578
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, a lot of thrashing about preceded the "last wish" effort here.
Logged

"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

São Paulo/BR
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,

I found a cold solder (or maybe cold weld?  smiley-roll) in the second capacitor, see the image:



Could be this issue the reason of the sync error?

I'm not sure I can fix it... it's seeming damaged

Thank you
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No, that will not keep the 328 from responding, unless it drags down  the 5v line.
Do you measure 5V at the power header?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

São Paulo/BR
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try the chip detector sketch:

http://www.gammon.com.au/forum/?id=11633


Hi Nick,

Sorry, but I got some errors on compilation (Did I something wrong?)

Atmega_Board_Detector\md5.c.o: In function `md5_starts':
C:\Arduino\libraries\Atmega_Board_Detector/md5.c:40: multiple definition of `md5_starts'
md5.c.o:C:\Temp\build8542142942334762976.tmp/md5.c:40: first defined here
Atmega_Board_Detector\md5.c.o: In function `md5_process':
C:\Arduino\libraries\Atmega_Board_Detector/md5.c:51: multiple definition of `md5_process'
md5.c.o:C:\Temp\build8542142942334762976.tmp/md5.c:51: first defined here
Atmega_Board_Detector\md5.c.o: In function `md5_update':
C:\Arduino\libraries\Atmega_Board_Detector/md5.c:174: multiple definition of `md5_update'
md5.c.o:C:\Temp\build8542142942334762976.tmp/md5.c:174: first defined here
Atmega_Board_Detector\md5.c.o: In function `md5_finish':
C:\Arduino\libraries\Atmega_Board_Detector/md5.c:221: multiple definition of `md5_finish'
md5.c.o:C:\Temp\build8542142942334762976.tmp/md5.c:221: first defined here


Thank you
Logged

Pages: [1] 2   Go Up
Jump to: