Go Down

Topic: Will the bootloader be erased if hex code is uploaded using programmer? (Read 594 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.
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"
Hey, it's "bipolar transistor" or "junction transistor" - "BJT" is just stupid.

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy