How can I restore the Bootloader on my Arduino Mega Board. With the Arduino Software I get the error avrdude: stk500_getsync(): not in sync: resp=0x00 when I try to Install the Bootloader with a ISP Programmer.
I tried the ISP Connection next to the reset button.Is this correct. Is there maybe a hex File with I can upload with the AVR Studio 4.18 or 5.1??
The file should in the Arduino distribution, called I think: stk500boot_v2_mega2560.hex
I tried the ISP Connection next to the reset button.Is this correct.
Yes, on mine it is between the reset button and the processor chip. If there is another ICSP header near the USB port that is for reprogramming the USB chip.
If you can't get avrdude to work, this post describes a way of uploading the bootloader if you have a spare Uno around:
thanks. Now It works nearly perfect. Only one problem is left.
Before I can flash with my program I have to press the reset button. Is there a way to do this automaticaly?
And is there a special version of the avrdude for the Arduino to flash the hex files?