Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what is a bootloader?

Status
Not open for further replies.

injohn

Newbie level 5
Joined
Aug 14, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,331
can anyone tell me what is a bootloader and what is it used for??
 

Bootloader is a piece of code that runs before any operating system is running.
Bootloader are used to boot other operating systems, usually each operating system has a set of bootloaders specific for it.
Bootloaders usually contain several ways to boot the OS kernel and also contain commands for debugging and/or modifying the kernel environment.


**broken link removed**
 

A bootloader is a piece of code that sits usually at the beggining of memory in an microcontroller, this means that when there is no firmware loaded into the microcontroller the bootloader will run. When the bootloader runs it will communicate externally to a PC, this PC will then send the bootloader program a hex file a byte at a time, this hex file will then be loaded into the appropriate program memory location, once the bootloader is finished doing its thing it will place a goto instruction at the 0x0000 program memory location to the start of the program it has just loaded, this means that once the program has been loaded in the microcontroller will act as though it does not contain a bootloader.

Pete
 
in simple words if you have bootloader you can program you Chip/Microcontroller simply using USB or UART
 

that means if i buy a micro controller there exists a bootloader in it?

---------- Post added at 10:01 ---------- Previous post was at 09:56 ----------

and if the bootloader doesnt exist micro controller shouldnt work?
 

that means if i buy a micro controller there exists a bootloader in it?

No, not necessarily. Some microcontrollers have a bootloader available in ROM at the time of manufacture, but many do not.

and if the bootloader doesnt exist micro controller shouldnt work?

You will have to use an alternative method of programming the device, like a JTAG or ISP cable. Of course, if a bootloader does not already exist in the device's ROM, programming the device with your own bootloader is always a possible option.

What microcontroller (MCU) family are you considering?

BigDog
 

im talking about AT89sXX family
 

im talking about AT89sXX family

No, the AT89SXX family does not have a bootloader installed in ROM at the time of manufacture.

You will need to program the device with an ISP cable. And which cable depends on exactly what device of AT89SXX family you are attempting to program.

An Example:



BigDog
 
  • Like
Reactions: injohn

    injohn

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top