WestfW / OptiLoader

Arduino sketch for burning new bootloaders
198 stars 105 forks source link

Suggest adding 8MHz bootloaders #1

Open maniacbug opened 12 years ago

WestfW commented 12 years ago

I couldn't figure out a way to figure out whether the AVR is running at 8MHz or not. For instance, you COULD read the fuses and decide that if the internal oscillator is selected you should leave it that way, except that this is the way that brand new AVRs are shipped. OptiLoader is supposed to be low-interaction; plug in a target and hit reset and the new bootloader is programmed in a couple of seconds. I suppose there could be a second optiLoader equipped only with 8MHz bootloaders, but...

(meanwhile, if you program an 8MHz part with a 16MHz bootloader, the only real results are that the upload speed will be 57600 instead of 115200, and the initial LED blinking will be slower...)

avandeweghe commented 12 years ago

How about monitoring a pin for low/high. If low then load 8mhz bootloaders if high then load 16mhz bootloaders.

syst5 commented 5 years ago

Is a 328p target 8 mhz internal resonator works with OptiLoader ?