r/microcontrollers • • Mar 07 '16

Where is the bios on a microcontroller?

Hello

I would like to know "where" exactly is on a microcontroller. I have googled around but haven't found any arduino projects related to BIOS, in order to get a litlle more info about the topic.

So I know that you have a bootloader on a microcontroller that accepts the code from the programmer and makes sure your actual code starts running. But where is the bios in this story? Is the bios some code inside the user software that just gets loaded in the microcontroller when you program it? is it part of the bootloader (when speaking about embedded systems)?

how difficult is it to develop your own bios for an embedded system?

0 Upvotes

22 comments sorted by

14

u/FullFrontalNoodly Mar 07 '16

There is no BIOS for microcontrollers. The closest you will find is a serial bootloader in ROM.

0

u/wjwwjw Mar 07 '16

what if I was told (by some guy with 10+ year industry experience) to develop one. How would you interprete that? I suppose there must be one, otherwise I wouldn't have been told to develop one

14

u/FullFrontalNoodly Mar 07 '16

Someone with 10+ years industry experience would have provided you with a detailed specification sufficient for implementation.

7

u/tehnthdegree Mar 07 '16

I... I want to believe.

1

u/wjwwjw Mar 07 '16 edited Mar 07 '16

The mcu in question runs an os... So maybe the BIOS could be the piece of code before the os gets run? Does it make more sense in this context?

8

u/FullFrontalNoodly Mar 07 '16

An MCU can run an OS, typically a RTOS. It contains nothing (no OS, no BIOS) from the factory.

2

u/wjwwjw Mar 07 '16

I am not sure whether your comment answers my question(s)...

11

u/FullFrontalNoodly Mar 07 '16

That is because the problem is with your question, as everyone else as stated.

10

u/aposter Mar 07 '16

some guy with 10+ year industry experience

I would say he was...

  1. Yanking your chain.

  2. Ignorant of what a BIOS is. or

  3. Ignorant of the architecture of microcontrollers.

7

u/tehnthdegree Mar 07 '16

*4. Your college professor with 10+ year "industry" "experience"*

1

u/wjwwjw Mar 07 '16 edited Mar 07 '16

I dont know if it matters, bit the mcu in question runs an os... So maybe the bio could be the piece of code before the os gets run?

3

u/[deleted] Mar 08 '16

There really is no bios on a microcontroller, even if it runs an OS. Are you sure he didn't say bootloader?

3

u/FullFrontalNoodly Mar 08 '16

If you want any hope of some real help, you'll provide all the information you currently have.

2

u/Whatwhereiam Mar 07 '16

I mean you can rewrite the whole thing in assembly....

-2

u/[deleted] Mar 08 '16 edited Nov 17 '16

[deleted]
0.9002

What is this?

3

u/FullFrontalNoodly Mar 08 '16

A bootloader is not a BIOS. Even powerful applications-class systems like the Raspberry Pi have only the most minimal bootstrap loader which (I believe) is capable of nothing more than reading a block from the SD card and executing it.

-1

u/[deleted] Mar 08 '16 edited Nov 17 '16

[deleted]
0.5639

What is this?

4

u/FullFrontalNoodly Mar 08 '16

I've been using microcontrollers since the mid 1990s and doing assembly on 8-bit micros since the early 1980s.

-1

u/[deleted] Mar 08 '16 edited Nov 17 '16

[deleted]
0.8359

What is this?

9

u/FullFrontalNoodly Mar 08 '16

Ok, OP, this is the guy you want to PM with all of your future questions.

4

u/skurk Mar 07 '16

I'm sorry, but this is a really weird question.

What are you looking for in this microcontoller "BIOS"? Anything in particular?

1

u/BraveNewCurrency Mar 11 '16

From searching for BIOS (Basic Input/Output System) on Wikipedia: "a de facto standard firmware interface of IBM PC compatible computers". BIOS is an x86-only standard, with very specific requirements. For example, you would use INT 13H to read a block from a hard drive. On a microcontroller, there may not be an software interrupt 13, and there is probably not even a hard drive.

Bootloaders are the closest thing to BIOS. Except there is no standardization.