Using Diecimila as AVR ISP for a ATmega8

prmd:
The programming went apparently fine but then when trying to download a sketch I got the following error:

Binary sketch size: 5842 bytes (of a 7168 byte maximum)

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51




I used the same COM channel.
So, now I feel quite confused.... Any hint?

My first two guesses would be:

  1. Wrong baud rate for the bootloader.
  2. Auto-reset is not working.