I had to erase and reprogram my Arduino Mega2560 R3 memory with Atmel studio 7 and AVRISP mkII. When I use the hex-file with bootloader, for example Blink.ino.with_bootloader.mega.hex, Arduino IDE works. But after that, if I burn a hex-file without bootloader like Blink.ino.mega.hex, the IDE stops working. IDE says timeout from AVRdude.
Isn't there addresses in hex-files, why does an user program like Blink.ino.mega.hex trash the bootloader.