I erased bootloader from the board with studio 4 and then I burned it with a bootloader file that I got from Arduino hardware folder. Now my mega just blinks and it does not respond any code that I upload into. Arduino just happily compiles everything that I give.
When I try to burn bootloader in Arduino with STK500 clone it gives this:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
What should I do? Buy another Arduino? I have avr dragon on my table but haven't figured out what to do with it.
Should I get eeprom programming file somewhere or should it be empthy or what?