Hi
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:
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
atmega644.upload.protocol=stk500
atmega644.upload.maximum_size=63232
atmega644.upload.speed=9600
atmega644.bootloader.low_fuses=0xFF
atmega644.bootloader.high_fuses=0xDC
atmega644.bootloader.extended_fuses=0xFD
atmega644.bootloader.unlock_bits=0x3F
atmega644.bootloader.lock_bits=0x0F
atmega644.bootloader.path=atmega644
atmega644.bootloader.file=ATmegaBOOT_644.hex
atmega644.build.mcu=atmega644
atmega644.build.f_cpu=20000000L
atmega644.build.core=arduino
Anyone an idea ?