Programmer out of sync

Hi

Last time I program the arduino,I found the error as

"avrdude:sdk500_paged_write: a)protocol error ,expected 0x14,resp 0x64

avrdude:stk500_cmd:programmer out of sync()"

Actually I programmed the Arduino last time by blink sketch only,after few seconds I try to program,this error came.Where is the problem?Is it problem in the USB-UART bride or by the ATmega chip or due to voltage regulation problem.Can anyone figure out the problem.Can I fix this problem without buying any think? or want to change the chip?

By the way can I use the ATtiny2313 or attiny 4313 in the place of the chip ATmega?. Is the same bootloader in arduino is applicable for all AVR chips or bootloader varies for chip to chip?.If separate bootloader,anyone help me to get that bootloader that I can program to the new attiny by means of Arduino as ISP.