Did you know that firmware is literally everywhere? It might be strange to think about – but it's just as common as hardware and software.
In fact, it is thanks to firmware that:
- Printers work
- Defibrillators work
- Car radios works
- and more …
Based on the examples above, you probably already have some idea of what firmware is. But you don't have a clear definition of it.
In order to truly understand what firmware is, we must first understand software, then hardware, and finally we can jump into firmware.
In this tutorial, I'll explain each topic with an analogy. By doing so, everyone can understand.
It doesn't matter if you're just getting into technology!
With that, I would like to make sure that everyone understands what software, hardware, and firmware is. I will not elaborate on the technical terms.
In this article we will explore:
- What exactly is software?
- What exactly is hardware?
- What exactly is firmware?
What is Software?
Imagine, if you will, that you have no idea what to make for dinner today.
Luckily, you find an old cookbook you have and decide to cook one of the recipes in it.
The cookbook has many recipes. Each of these recipes has its own instructions.
In the cookbook, a recipe can be seen as a set of steps (or instructions) that together make a meal.
You can also create your own meals based on your experience in cooking many different recipes, right?
Software is no different.
Software programs can be seen as a set of instructions that work together to form a program.
Then, applications are a big sets of instructions that perform specific tasks.
Operating systems are big sets of instructions that coordinate software and hardware resources.
- Cookbook = software
- Dinner cookbook = type of software (application or operating system)
- Recipe = program
You need a recipe to make dinner. You must follow each step in the cookbook to create a recipe.
Once you have completed all the steps, your dinner is ready.
You need software to accomplish a particular task. A computer has to follow all instructions for the software to function.
Therefore, the software is running either while the instructions are being followed or after they have been completed.
What is Hardware?
In order to make dinner, you need a series of steps from the cookbook that tell you how to make a particular meal.
You also need various tools to cook with - like pots and pans, knives, and the food itself. This is like hardware.
So a cookbook gives you instructions that allow you to cook.
For hardware to work, it needs software (a set of instructions) to tell it what to do.
Software then, gives instructions to hardware that lets it work.
- Meal prep tools = hardware
- Recipe = software
Without software, you can't make hardware work.
Without a recipe, you won't know what to do with your various tools and ingredients to make a meal.
Like hardware without software, you can also eat a meal with just uncooked food. Gross.
In the same way that there are various types of meals, there are also various types of computer hardware.
- and so much more…
What is Firmware?
A program is a set of instructions read by a computer.
Let's say you just want to make a snack or dessert. You probably don't need as many ingredients as when making a dinner for your family, right?
Let's say you want software that runs on a microwave. You don't need all the hardware the computer has to make the microwave work, right? You just need that specific to making the microwave work.
Or say you want software running on a printer. You don't need all the hardware the computer has to make the printer work right? Just the software for the printer.
- Microwave software = firmware
- Printers software = firmware
So this means that firmware is nothing more than software, but in a hardware device. Not in a computer.
Firmware lets very specific hardware complete very specific tasks.
Thanks for reading! Now you know more about: