Go Down

Topic: Another Duemilanove with error not sync (Read 9168 times) previous topic - next topic

srmark


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


I have 5.06V between pin 7 and 8 of the AtMega.

nickgammon

Quote

C:\Arduino\libraries\Atmega_Board_Detector/md5.c


What is the sketch doing there in the libraries folder?

It should be in your sketches folder, and not inside the C:\Arduino download folder at all.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

srmark


What is the sketch doing there in the libraries folder?

It should be in your sketches folder, and not inside the C:\Arduino download folder at all.


I don't know... I used the menu (1.0.5) and after your post I copied manually and it ran.
I'll connect the boards and post the result soon.

srmark

Hello Nick,

I performed the sketch and just received that:

¿ï?ܽ¿!.Ì (57,600 baud)

Atmega chip detector.  (115,200 baud)

BTW: Led 13 is blinking very very fast


nickgammon

Quote

Atmega chip detector.


That means it has not gone into programming mode. (115200 is the right baud rate).

Please post a photo of how you have it wired up.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

srmark

I'm not sure, but I think that it's something with the reset circuit.



The result again:

nickgammon

We usually appreciate photos that aren't too large, but in this case I can't really see which wires go where. Can you do it again with maybe double the resolution? As far as I can tell it looks OK though.

Did you have anything connected to the Duemilanove before it failed? Like a LED, motor or something?

Also that photo looks a bit different to the Duemilanove I've seen. Is that a genuine one? Where did you get it?
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

srmark


Can you do it again with maybe double the resolution? As far as I can tell it looks OK though.

OK. See this one it's better.  :smiley-roll-sweat:



Did you have anything connected to the Duemilanove before it failed? Like a LED, motor or something?

Yes. I had another led with resistor connected in the pin 13.  :smiley-eek:


Also that photo looks a bit different to the Duemilanove I've seen. Is that a genuine one? Where did you get it?

DX.com.
http://dx.com/p/arduino-duemilanove-2009-avrmega328p-pu-with-usb-cable-118036
The Nano and Funduino (photo) were bought there too.

nickgammon

Maybe it isn't getting a clock.

Try running an extra wire from D9 on the programming board (the left one in your photo) to pin 9 (not D9) on your Duemilanove. You may have to jam the wire between the chip leg and the socket to do that, as I don't think pin 9 (XTAL1) is brought out anywhere.

Example of doing this on a breadboard:



As described here:

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

You may have a dud board. You could ask for a replacement, or if that isn't feasible order a new Atmega328P. If you get one from (say) Adafruit it will be pre-programmed with the bootloader.

http://www.adafruit.com/products/123
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

srmark

You're the man!  :)

This means that my crystal went to the space?!?

Atmega chip detector.
Entered programming mode OK.
Signature = 1E 95 0F
Processor = ATmega328P
Flash memory size = 32768
LFuse = FF
HFuse = DA
EFuse = FD
Lock byte = CF
Clock calibration = 9E
Bootloader in use: Yes
EEPROM preserved through erase: No
Watchdog timer always on: No
Bootloader is 2048 bytes starting at 7800

Bootloader:

7800: 0C 94 34 3C 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C
7810: 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C
7820: 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C
7830: 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C
7840: 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C
7850: 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C 0C 94 51 3C
7860: 0C 94 51 3C 0C 94 51 3C 11 24 1F BE CF EF D8 E0
7870: DE BF CD BF 11 E0 A0 E0 B1 E0 EC E9 FF E7 02 C0
7880: 05 90 0D 92 A2 30 B1 07 D9 F7 12 E0 A2 E0 B1 E0
7890: 01 C0 1D 92 AD 30 B1 07 E1 F7 0E 94 2D 3D 0C 94
78A0: CC 3F 0C 94 00 3C 98 2F 95 95 95 95 95 95 95 95
78B0: 90 5D 8F 70 8A 30 7C F0 28 2F 29 5A 80 91 C0 00
78C0: 85 FF FC CF 90 93 C6 00 80 91 C0 00 85 FF FC CF
78D0: 20 93 C6 00 08 95 28 2F 20 5D F0 CF 98 2F 80 91
78E0: C0 00 85 FF FC CF 90 93 C6 00 08 95 EF 92 FF 92
78F0: 0F 93 1F 93 EE 24 FF 24 87 01 80 91 C0 00 87 FD
7900: 17 C0 08 94 E1 1C F1 1C 01 1D 11 1D 81 E4 E8 16
7910: 82 E4 F8 06 8F E0 08 07 80 E0 18 07 70 F3 E0 91
7920: 04 01 F0 91 05 01 09 95 80 91 C0 00 87 FF E9 CF
7930: 80 91 C6 00 1F 91 0F 91 FF 90 EF 90 08 95 0E 94
7940: 76 3C 98 2F 80 91 C0 00 85 FF FC CF 90 93 C6 00
7950: 91 36 2C F4 90 33 0C F0 90 53 89 2F 08 95 97 55
7960: 89 2F 08 95 1F 93 0E 94 9F 3C 18 2F 0E 94 9F 3C
7970: 12 95 10 7F 81 0F 1F 91 08 95 1F 93 18 2F 88 23
7980: 21 F0 0E 94 76 3C 11 50 E1 F7 1F 91 08 95 1F 93
7990: 18 2F 0E 94 76 3C 80 32 49 F0 80 91 03 01 8F 5F
79A0: 80 93 03 01 85 30 C1 F0 1F 91 08 95 80 91 C0 00
79B0: 85 FF FC CF 84 E1 80 93 C6 00 80 91 C0 00 85 FF
79C0: FC CF 10 93 C6 00 80 91 C0 00 85 FF FC CF 80 E1
79D0: 80 93 C6 00 1F 91 08 95 E0 91 04 01 F0 91 05 01
79E0: 09 95 1F 91 08 95 0E 94 76 3C 80 32 41 F0 80 91
79F0: 03 01 8F 5F 80 93 03 01 85 30 81 F0 08 95 80 91
7A00: C0 00 85 FF FC CF 84 E1 80 93 C6 00 80 91 C0 00
7A10: 85 FF FC CF 80 E1 80 93 C6 00 08 95 E0 91 04 01
7A20: F0 91 05 01 09 95 08 95 40 E9 51 E0 88 23 A1 F0
7A30: 2D 9A 28 EE 33 E0 FA 01 31 97 F1 F7 21 50 30 40
7A40: D1 F7 2D 98 28 EE 33 E0 FA 01 31 97 F1 F7 21 50
7A50: 30 40 D1 F7 81 50 61 F7 08 95 3F 92 4F 92 5F 92
7A60: 6F 92 7F 92 8F 92 9F 92 AF 92 BF 92 CF 92 DF 92
7A70: EF 92 FF 92 0F 93 1F 93 CF 93 DF 93 00 00 80 E1
7A80: 80 93 C4 00 10 92 C5 00 88 E1 80 93 C1 00 86 E0
7A90: 80 93 C2 00 50 98 58 9A 25 9A 81 E0 0E 94 14 3D
7AA0: 24 E1 F2 2E 9E E1 E9 2E 85 E9 D8 2E 0F E0 C0 2E
7AB0: 10 E1 B1 2E AA 24 A3 94 B1 E4 9B 2E A6 E5 8A 2E
7AC0: F2 E5 7F 2E E0 E2 6E 2E 79 E4 57 2E 63 E5 46 2E
7AD0: 50 E5 35 2E 0E 94 76 3C 80 33 B1 F1 81 33 B9 F1
7AE0: 80 34 09 F4 6F C0 81 34 09 F4 76 C0 82 34 09 F4
7AF0: 85 C0 85 34 09 F4 88 C0 80 35 31 F1 82 35 21 F1
7B00: 81 35 11 F1 85 35 09 F4 85 C0 86 35 09 F4 8D C0
7B10: 84 36 09 F4 96 C0 84 37 09 F4 03 C1 85 37 09 F4
7B20: 72 C1 86 37 09 F4 66 C0 80 91 03 01 8F 5F 80 93
7B30: 03 01 85 30 79 F6 E0 91 04 01 F0 91 05 01 09 95
7B40: 0E 94 76 3C 80 33 51 F6 0E 94 F3 3C C3 CF 0E 94
7B50: 76 3C 80 32 49 F7 80 91 C0 00 85 FF FC CF F0 92
7B60: C6 00 80 91 C0 00 85 FF FC CF 90 92 C6 00 80 91
7B70: C0 00 85 FF FC CF 80 92 C6 00 80 91 C0 00 85 FF
7B80: FC CF 70 92 C6 00 80 91 C0 00 85 FF FC CF 60 92
7B90: C6 00 80 91 C0 00 85 FF FC CF 50 92 C6 00 80 91
7BA0: C0 00 85 FF FC CF 40 92 C6 00 80 91 C0 00 85 FF
7BB0: FC CF 30 92 C6 00 80 91 C0 00 85 FF FC CF B0 92
7BC0: C6 00 88 CF 0E 94 76 3C 86 38 08 F4 BD CF 0E 94
7BD0: 76 3C 0E 94 F3 3C 7E CF 0E 94 76 3C 80 38 09 F4
7BE0: 9C C0 81 38 09 F4 0B C1 82 38 09 F4 3C C1 88 39
7BF0: 09 F4 8F C0 80 E0 0E 94 C7 3C 6C CF 84 E1 0E 94
7C00: BD 3C 0E 94 F3 3C 66 CF 85 E0 0E 94 BD 3C 0E 94
7C10: F3 3C 60 CF 0E 94 76 3C 80 93 06 01 0E 94 76 3C
7C20: 80 93 07 01 0E 94 F3 3C 55 CF 0E 94 76 3C 80 33
7C30: 09 F4 1D C1 83 E0 0E 94 BD 3C 80 E0 0E 94 C7 3C
7C40: 49 CF 0E 94 76 3C 80 93 09 02 0E 94 76 3C 80 93
7C50: 08 02 80 91 0C 02 8E 7F 80 93 0C 02 0E 94 76 3C
7C60: 85 34 09 F4 15 C1 80 91 08 02 90 91 09 02 89 2B
7C70: 89 F0 00 E0 10 E0 0E 94 76 3C F8 01 E8 5F FE 4F
7C80: 80 83 0F 5F 1F 4F 80 91 08 02 90 91 09 02 08 17
7C90: 19 07 88 F3 0E 94 76 3C 80 32 09 F0 45 CF 80 91
7CA0: 0C 02 80 FF 01 C1 60 91 06 01 70 91 07 01 66 0F
7CB0: 77 1F 70 93 07 01 60 93 06 01 A0 91 08 02 B0 91
7CC0: 09 02 10 97 C9 F0 E8 E0 F1 E0 9B 01 AD 01 4E 0F
7CD0: 5F 1F F9 99 FE CF 32 BD 21 BD 81 91 80 BD FA 9A
7CE0: F9 9A 2F 5F 3F 4F E4 17 F5 07 99 F7 6A 0F 7B 1F
7CF0: 70 93 07 01 60 93 06 01 80 91 C0 00 85 FF FC CF
7D00: F0 92 C6 00 80 91 C0 00 85 FF FC CF B0 92 C6 00
7D10: E1 CE 83 E0 0E 94 C7 3C DD CE 82 E0 0E 94 C7 3C
7D20: D9 CE 0E 94 76 3C 80 93 09 02 0E 94 76 3C 80 93
7D30: 08 02 80 91 06 01 90 91 07 01 88 0F 99 1F 90 93
7D40: 07 01 80 93 06 01 0E 94 76 3C 85 34 09 F4 A6 C0
7D50: 80 91 0C 02 8E 7F 80 93 0C 02 0E 94 76 3C 80 32
7D60: 09 F0 B8 CE 80 91 C0 00 85 FF FC CF F0 92 C6 00
7D70: 60 91 08 02 70 91 09 02 61 15 71 05 B9 F1 40 E0
7D80: 50 E0 80 91 0C 02 A8 2F A1 70 B8 2F B2 70 11 C0
7D90: BB 23 09 F4 5C C0 E0 91 06 01 F0 91 07 01 31 96
7DA0: F0 93 07 01 E0 93 06 01 4F 5F 5F 4F 46 17 57 07
7DB0: E8 F4 AA 23 69 F3 F9 99 FE CF 20 91 06 01 30 91
7DC0: 07 01 32 BD 21 BD F8 9A 90 B5 80 91 C0 00 85 FF
7DD0: FC CF 90 93 C6 00 2F 5F 3F 4F 30 93 07 01 20 93
7DE0: 06 01 4F 5F 5F 4F 46 17 57 07 18 F3 80 91 C0 00
7DF0: 85 FD E5 CE 80 91 C0 00 85 FF F8 CF E0 CE 81 E0
7E00: 0E 94 C7 3C 67 CE 0E 94 76 3C 80 32 09 F0 8C CE
7E10: 80 91 C0 00 85 FF FC CF F0 92 C6 00 80 91 C0 00
7E20: 85 FF FC CF E0 92 C6 00 80 91 C0 00 85 FF FC CF
7E30: D0 92 C6 00 80 91 C0 00 85 FF FC CF C0 92 C6 00
7E40: 80 91 C0 00 85 FF FC CF B0 92 C6 00 43 CE E0 91
7E50: 06 01 F0 91 07 01 94 91 80 91 C0 00 85 FF FC CF
7E60: 90 93 C6 00 9C CF 80 E1 0E 94 C7 3C 33 CE 0E 94
7E70: 76 3C 0E 94 76 3C 18 2F 0E 94 76 3C 11 23 09 F4
7E80: 83 C0 11 30 09 F4 84 C0 8F E0 0E 94 C7 3C 22 CE
7E90: 80 91 0C 02 81 60 80 93 0C 02 E5 CE 80 91 0C 02
7EA0: 81 60 80 93 0C 02 59 CF 80 91 07 01 88 23 88 0F
7EB0: 88 0B 8A 21 80 93 0B 02 80 91 06 01 90 91 07 01
7EC0: 88 0F 99 1F 90 93 07 01 80 93 06 01 80 91 08 02
7ED0: 80 FF 09 C0 80 91 08 02 90 91 09 02 01 96 90 93
7EE0: 09 02 80 93 08 02 F8 94 F9 99 FE CF 11 27 E0 91
7EF0: 06 01 F0 91 07 01 C8 E0 D1 E0 80 91 08 02 90 91
7F00: 09 02 10 30 91 F4 00 91 57 00 01 70 01 30 D9 F3
7F10: 03 E0 00 93 57 00 E8 95 00 91 57 00 01 70 01 30
7F20: D9 F3 01 E1 00 93 57 00 E8 95 09 90 19 90 00 91
7F30: 57 00 01 70 01 30 D9 F3 01 E0 00 93 57 00 E8 95
7F40: 13 95 10 34 98 F0 11 27 00 91 57 00 01 70 01 30
7F50: D9 F3 05 E0 00 93 57 00 E8 95 00 91 57 00 01 70
7F60: 01 30 D9 F3 01 E1 00 93 57 00 E8 95 32 96 02 97
7F70: 09 F0 C7 CF 10 30 11 F0 02 96 E5 CF 11 24 80 91
7F80: C0 00 85 FF B9 CE BC CE 8E E1 0E 94 C7 3C A2 CD
7F90: 85 E9 0E 94 C7 3C 9E CD F8 94 FF CF 80 00 FF FF
7FA0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
7FB0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
7FC0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
7FD0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
7FE0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
7FF0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

MD5 sum of bootloader = 0A AC F7 16 F4 3C A2 C9 27 7E 08 B9 D6 90 BC 02

First 256 bytes of program memory:

0: 0C 94 61 00 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00
10: 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00
20: 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00
30: 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00
40: 0C 94 9D 00 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00
50: 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00 0C 94 7E 00
60: 0C 94 7E 00 0C 94 7E 00 00 00 00 00 24 00 27 00
70: 2A 00 00 00 00 00 25 00 28 00 2B 00 00 00 00 00
80: 23 00 26 00 29 00 04 04 04 04 04 04 04 04 02 02
90: 02 02 02 02 03 03 03 03 03 03 01 02 04 08 10 20
A0: 40 80 01 02 04 08 10 20 01 02 04 08 10 20 00 00
B0: 00 07 00 02 01 00 00 03 04 06 00 00 00 00 00 00
C0: 00 00 11 24 1F BE CF EF D8 E0 DE BF CD BF 11 E0
D0: A0 E0 B1 E0 EA E3 F4 E0 02 C0 05 90 0D 92 A2 30
E0: B1 07 D9 F7 11 E0 A2 E0 B1 E0 01 C0 1D 92 AB 30
F0: B1 07 E1 F7 0E 94 0C 02 0C 94 1B 02 0C 94 00 00


Thank you

nickgammon


You're the man!  :)

This means that my crystal went to the space?!?


Looks like it. You could try to replace it, or simply reconfigure the board to use the internal oscillator at 8 MHz.  Maybe use this:

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

Choose the "Lilypad" option which is the 8 MHz oscillator and you will get the correct bootloader and then use the Lilypad as the board type in the IDE.

Or, send the board back and complain.
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

srmark

It's alive!  :D

I reconfigured with the Lilypad option.

Thank you very much Nick!


Go Up