Let me first describe the physical setup.
I have a arduino duemilanove. I am trying to upload the codes from my duemilanove to my Arduino Mini 04.
- I removed the IC from Duemilanove board.
- Tx Duemilanove is connected to Tx of Arduino Mini, Rx to Rx, Gnd to Gnd, reset to reset, 5v supply to 5v . http://arduino.cc/en/Guide/ArduinoMini. This is the Exact setup.
- Copied the Boards.txt
mini328.upload.protocol=stk500
mini328.upload.maximum_size=28672
mini328.upload.speed=115200
mini328.bootloader.low_fuses=0xff
mini328.bootloader.high_fuses=0xd8
mini328.bootloader.extended_fuses=0x05
mini328.bootloader.path=bt
mini328.bootloader.file=ATmegaBOOT_168_atmega328.hex
mini328.bootloader.unlock_bits=0x3F
mini328.bootloader.lock_bits=0x0F
mini328.build.mcu=atmega328p
mini328.build.f_cpu=16000000L
mini328.build.core=arduino
Am using Arduino 1.0
4. Selected the Arduino mini using Atmega 328 from the boards in the IDE.
5. And when I upload I get this message
Binary sketch size: 1026 bytes (of a 28672 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
Hope that Helps!!!