We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Hardware

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is an Arduino® Bootloader?

By N. Kalu
Updated: May 16, 2024

The Arduino® bootloader is a small piece of software burned into a chip in all Arduino® boards. Its purpose is to facilitate easy and rapid reprogramming. The Arduino® bootloader is open source, meaning that it can be freely copied, modified, and redistributed, and is only useful on Arduino® systems.

Bootloaders are small pieces of software that run when a computer is first turned on. Most desktop computer use a bootloader to load the computer's operating system into memory or to start the operating system along the path of loading itself. On machines configured to boot multiple operating systems, a bootloader also serves to ask the user to select which operating system to use. Despite their relative simplicity, Arduino® devices are essentially very small general purpose computers and require a bootloader when turned on.

The default Arduino® bootloader runs through a sequence to determine what software to load into short term memory. If the board is attached to a computer by USB cable, Xbee® radio, or serial connection, the bootloader will attempt to download new software from the computer. Arduino® programs are also referred to as Arduino® sketches. Once the sketch is downloaded, it will be written into long-term memory and then loaded back into short term memory to run. If the board is not connected to a computer or if it fails to download new software, it will load the most recently written program from long term memory.

An Arduino® bootloader is especially useful because it eliminates the need for an external programming device, which is usually required to change the software on similar devices. Arduino® inventions usually run their software directly off the chips without the advantage of magnetic storage devices. This approach is faster and cheaper than using magnetic storage. The major disadvantage of a bootloader is that it uses up some of the limited space on chips, minimizing the space available for software.

Some users have been frustrated with the limitations of the Arduino® bootloader and resort to using an external programming device to remove the bootloader and manually add new programs. Although this technique increases the available space and somewhat increases the execution speed of software, it is fairly time consuming and not recommended for most users. Other users have written alternative Arduino® bootloaders, some of which are open source and available for free online.

EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
Share
https://www.easytechjunkie.com/what-is-an-arduino-bootloader.htm
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.