Found lots of tutorials on adding the Arduino bootloader, but what is the simplest way of removing the bootloader?
Appreciate its a bit of a strange request, but would like to show someone how to instal the bootloader using another Arduino, but all the ones I have already have the bootloader on them!
larryd:
Burn the sketch using the ICSP pins and a programmer.
pert: Tools > Upload Using Programmer will erase the bootloader.
Thank you both!
I burnt the blink sketch using a USBTinyISP, to an Arduino Mega and that seems have worked, sketch ran, and the board was not recognised under COM ports, then did the Burn bootloader part.......it worked.....but got an error message, is this normal?
avrdude: verification error, first mismatch at byte 0x3e000
0xff != 0x0d
avrdude: verification error; content mismatch
Error while burning bootloader.
I think the USBtinyISP is not compatible with the Mega. I remember having this sort of error when using my USBtinyISPs. I recommend using a different type of programmer. You can use a spare Arduino as an "Arduino as ISP" or if you want to spend a little money for a really nice dedicated programmer then get one of the 6 pin USBasp programmers the Chinese sell on eBay. The USBasp does have a problem doing Upload Using Programmer to the ATmega2560 but you can solve that by updating the firmware on the USBasp. After that you have the best AVR ISP programmer available.
Well it worked regardless of the error (famous last words) not sure if that's anything to do with the "V2" stamped on it and the option for 6 and 10 pin, but will see if I get the same errors using a Uno!