Discussion in 'Embedded Systems and Microcontrollers' started by Konstabel, Feb 1, 2008.
What exactly is the purpose of a bootloader?
Take a look at the definition provided by wikipedia for the term bootloader.
Gee, I thought the bootloader was the operator, who would flip the switches to enter the boot instructions, make a mistake, and kick (boot) the machine in frustration!
It's a variation on a common theme of pulling yourself up by your own bootstraps. The purpose is to get a large program into the code space and begin executing it.
Many chips come preprogrammed with SPI, serial, or USB bootloaders.
The Atmel AT89C5131 has a factory-installed bootloader on the chip. You can get a little understanding of the function of the bootloader from its datasheet.
Basically it is a program that runs when you boot up the chip. This program waits for communication with a USB Host (PC) for the purpose of downloading your own code (which you hv compiled and linked) into the chip.