Go Down

Topic: Will the bootloader be erased if hex code is uploaded using programmer? (Read 987 times) previous topic - next topic

lightaiyee

I am going to buy a programmer and test it out. Will the bootloader be erased if hex code is uploaded using programmer? If I want to use back the Arduino IDE, do I have to re-upload the Arduino bootloader back?

Runaway Pancake

Right.
If an Arduino ("chip", et al.) is uploaded via ICSP then the bootloader gets wiped out.
To then upload to the Arduino via USB/serial will require its being re-bootloaded.
You can upload via ICSP from within the Arduino IDE, too.
"Who is like unto the beast? who is able to make war with him?"
When all else fails, check your wiring!

fungus


I am going to buy a programmer and test it out. Will the bootloader be erased if hex code is uploaded using programmer?

[/quote]

Yes.


If I want to use back the Arduino IDE, do I have to re-upload the Arduino bootloader back?


Yes.
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Papa G


I am going to buy a programmer and test it out. Will the bootloader be erased if hex code is uploaded using programmer? If I want to use back the Arduino IDE, do I have to re-upload the Arduino bootloader back?


Just make sure the last hex code file you program is a bootloader.  :)

Go Up