I had seen some tutorials on how to assemble an Arduino on a breadboard. They all just place the external crystal oscillator according to the circuit and then, just burn the bootloader and it starts working. According to my little knowledge the fuse bits have to be set before using the external clock.
My question is - How does the microcontroller know which clock to use internal or external? Is there any setting already in the bootloader that tells the microcontroller to use the external clock?
1 Answer 1
Burning the bootloader via the Arduino IDE also sets the fuse bits according to its configuration files.
-
So, if I have to use the internal clock, I need to change the configuration file?Aneesh Sharma– Aneesh Sharma2017年10月27日 06:03:18 +00:00Commented Oct 27, 2017 at 6:03
-
Yes, or you could find and use a core meant to be used with bare chips. I know of at least one that has the correct configuration.Ignacio Vazquez-Abrams– Ignacio Vazquez-Abrams2017年10月27日 06:03:55 +00:00Commented Oct 27, 2017 at 6:03
-
So your keeping it a secret? Which core(s)?tgunr– tgunr2018年02月07日 10:48:49 +00:00Commented Feb 7, 2018 at 10:48