I'm trying to build an arduino on a breadboard using a Atmega644 and a MAX232.
I hooked up the max232 as it is shown in this schematics:http://www.freeduino.org/files/duino232/Duino232-2.png
The serial connection works fine, i uploaded a small programm, which just receives chars and sends them back, directly to the chip via isp.
Reset via the DTR Line also works.
I uploaded the sanguino bootloader which i recompiled to use only 9600 baudrate. I also changed the CPU type to match my 644 instead of the default 644P and changed the clock settings to match my 20MHz. The bootloader seems to be working -> the LEDs blink and when i open a terminal and keep hitting '1' and ' ' I'm getting the "AVR ISP" response.
However, I cannot upload anything via the bootloader. Everytime I try I get this error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
Here is my boards.txt section:
atmega644.name=Sanguino W/ ATmega644
Anyone an idea ?