Pages: [1]   Go Down
Author Topic: Will the bootloader be erased if hex code is uploaded using programmer?  (Read 478 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 103
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Edison Member
*
Karma: 64
Posts: 2452
Now, More Than Ever
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"Hello, I must be going..."
"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?"

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 143
Posts: 5309
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Dallas, TX
Offline Offline
Sr. Member
****
Karma: 10
Posts: 318
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  smiley
Logged

Pages: [1]   Go Up
Jump to: