Sanguino: wrong signature?

Hi!

I built a very compact Sanguino on stripboard, but I happen to have problems. I installed Sanguino files in the IDE. I use an USBtinyISP. I disconnected all other arduino boards from the computer.

I couldn't burn the bootloader from the IDE because it told me that I should check the connections. So I burnt it using

avrdude -p m644p -c usbtiny -P usb -B 8 -F -u -U flash:w:/Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex

Everything seemed ok :

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9609 avrdude: Expected signature for ATMEGA644P is 1E 96 0A avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "/Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex" avrdude: input file /Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex auto detected as Intel Hex avrdude: writing flash (65370 bytes):

Writing | ################################################## | 100% 102.64s

avrdude: 65370 bytes of flash written avrdude: verifying flash memory against /Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex: avrdude: load data flash data from input file /Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex: avrdude: input file /Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex auto detected as Intel Hex avrdude: input file /Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644.hex contains 65370 bytes avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 49.16s

avrdude: verifying ... avrdude: 65370 bytes of flash verified

avrdude done. Thank you.

I now changed upload.using in the preferences.txt file to use usbtinyisp.

I now get the following error uploading:

avrdude: Expected signature for ATMEGA644P is 1E 96 0A Double check chip, or use -F to override this check.

What could I do? I see a ATmegaBOOT_644P.hex file in the bootloader folder, should I use this one? I use a DIP version of the 644...

Thanks ;)

Oh yes, and the Sanguino happens to blinks 3 times (with 2 sec between) after reset and 8 seconds later one time. I know that for Arduino Diecimila this was because the NG bootloader was burnt...

I tried to burn

avrdude -p m644p -c usbtiny -P usb -B 8 -F -u -U flash:w:/Applications/Arduino.app/Contents/Resources/Java/hardware/bootloaders/atmega644p/ATmegaBOOT_644P.hex

But it doesn't change anything :-/

Ii have a sanguino that works and i can check the sig for you.

Have you looked at the datasheet to see what it should be?

Thanks for you reply. The error message says that it should be 1E 96 0A. That's perhaps a firmware problem but I don't see why it does't work, I think I burnt it properly? What surprises me is the first error message I got as I tried to burn from within the IDE. :-/ Why can't I burn it from the IDE?

An idea anyone?

I think I got it : I have a 644-20PU instead of a 644 I will try http://dev.forums.reprap.org/read.php?13,29956,29956

Solved! ;)

... but I don't have the second UART :'(