Thanks to Nick Gammon's blog http://www.gammon.com.au/forum/?..., I successfully burned the bootloader on to my 1284P. I tried burning some programs using my arduino dumilanalov. I removed the atmega328, and took pins from
TX(arduino digital pin 1)-- TXD0(pin15),
RX(arduino digital pin 0)-- RXD0(pin14),
RESET(arduino) -- RESET(pin 9),
to the 1284p which is on a breadboard. Also
1. Added a 16Mhz crystal with 2 22pf caps.
2. 10k resistor from RESET pin (pin 9) to 5v.
Then i tried burning the blink sketch.
But, I'm getting errors and the weird part is that they change most of the time.
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x42
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude: stk500_loadaddr(): (a) protocol error, expect=0x14, resp=0x55
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
avrdude: stk500_getsync(): not in sync: resp=0x00
Any help will be greatly appreciated.. :(