-c arduino
issue with Arduino optiboot bootloader which does not support EEPROM
#1458
-
I was testing PR #1373 and then I see the following issue with
urclock is about correct.
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
The above is probably a legacy issue. I am thinking that we may want to put a warning against using |
Beta Was this translation helpful? Give feedback.
-
@MCUdude is still using Optiboot with Mini Core and not yet switching to urboot. But at least it behaves better with newer version of optiboot.
|
Beta Was this translation helpful? Give feedback.
-
This problem lies squarely with optiboot, which has a number of, ahem, features when compiled w/o EEPROM support:
My previous advice still stands: Ditch optiboot. Never look back. Use urboot. Be happy ever after.
Great idea, but what should the warning be and where and how should it be displayed? I believe that |
Beta Was this translation helpful? Give feedback.
-
To cut a long short this issue is caused by faulty optiboot, not by a bug in |
Beta Was this translation helpful? Give feedback.
-
I agree.
For example, we can put an warning message like the following if we detect optiboot bootloader.
And if the user is using the old Optiboot 4.x version, we can even add more warnig messages. We can progressively roll this warning message to other Optiboot version if @MCUdude and @SpenceKonde do not raise strong objections.
|
Beta Was this translation helpful? Give feedback.
-
We certainly shouldn't go showing that on a part that doesn't have urboot available. Like, you know, all the modern AVRs...... I can say that if that warning were being shown by a version of avrdude that I wanted to start putting in my cores, it would not pass muster. I can't go putting it into a release showing that warning if I can't supply the binaries it recommends. |
Beta Was this translation helpful? Give feedback.
-
You are of course right here about the suggested warnings to recommend urboot.
Take note And the extra warning proposal against very old Optiboot 4.x will not affect you or @MCUdude. It is only used by Arduino for things like Uno or Nano. The bootloader is like 12 years old. But I guess you do not want to see warnings to newer version of Optiboot. I get that. |
Beta Was this translation helpful? Give feedback.
-
Yet the other solution without any changes to the code is just to update the documentation and Wiki to give the users some recommendations with regard to |
Beta Was this translation helpful? Give feedback.
-
On a second thought, tThere are too many users who are still using the Arduino Uno/Nano or clones and they will tend to use the old 4.x optiboot bootloader by Arduino. If we add a warning they may not be happy. Since we label this as invalid, I will close this for now. I will update the Wiki FAQ page later. |
Beta Was this translation helpful? Give feedback.
-
@SpenceKonde
So by and large |
Beta Was this translation helpful? Give feedback.
To cut a long short this issue is caused by faulty optiboot, not by a bug in
-c arduino
. I recommend using-c urclock
with optiboot bootloaders.