New Arduino Board & Processor

I have a board with a mega2561 on it that I would like to use with Arduino. I have made up a programming cable which I have tested with the ICSP on a mega2560 and it works.

I have added a section to the boards.txt file, and it appears in the tools>boards menu. I also looked to provide a new .h file, and found that it already existed with the correct signature in it.

When I try to program the board I get the following message:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

Any help will be much appreciated.

Macca

Just a stupid question - but i miss the part in your description where you say something about uploading the firmware.

Also - did you check your device signature complies with the AVRDude codes?

Thanks for the prompt reply. I think by upload firmware you are referring to the boot loader, which I do not actually need as I am using an ICSP. That said however I have uploaded a boot loader using a JTAG programmer, earlier to try a different programming approach.

I checked the signature against the value given in the Atmel programming manual.

I just checked my AVR Dude config and found this

#------------------------------------------------------------

ATmega2561

#------------------------------------------------------------

part
id = "m2561";
desc = "ATMEGA2561";
signature = 0x1e 0x98 0x02;
has_jtag = yes;

stk500_devcode = 0xB2;

avr910_devcode = 0x43;

chip_erase_delay = 9000;
pagel = 0xD7;
bs2 = 0xA0;
reset = dedicated;

did you doublecheck it?

Thanks Nachtwind,

That is the exact signature in the file.

Macca