Hi Forum,
I have some question for building a standalone ATMega328P-PU 16MHz external quartz PCB with the code from my Test and Development Arduino UNO R3.
-) Bootloader for a brandnew single ATMega328P-PU
So far I did upload the bootloader simply with the Arduino IDE with no doubts of doing something wrong. I have a Sparkfun AVR ISP Shield
There I put in the new ATMega328P-PU and I attach it on my Arduino UNO Board, load the ArduinoISP sketch into the Arduino, then I switch the "Programmer mode" in the tools to "Arduino as ISP", and then I push "install bootloader.
It seems to work - but I can not verify if it is ok. The LEDs on the Sparkfun Shield signaling ok.
Is this the correct method of burning the bootloader to a ATMega328P-PU which I want to run with an external 16Mhz crystal?
The reason why I am asking is that I am weird reading to much google and people say that not only every µC needs a special bootloader but also if the µC runs on a certain clock (8MHz internal, 8MHz external, 16MHz external, ...)
Then I read something about optiboot which seems to be a cool stuff.What would be the advantage of taking optiboot and how do I know if I burn a "normal" bootloader or a "optiboot" bootloader on my ATMega328P-PU?
What I did is to download the Optiboot directory and put it into the hardware directory.
So now I can choose different Optiboot boards. I attached a screenshot of my available boards in the Arduino IDE.
Is there now a better choice for my ATMega328P-PU chip?
I know that my questions seems to sound stupid, but as always on the beginning of a hobby there are a lot of stupid questions. Saying that I hope that there will come some good answers ![]()
best regards
