this post was submitted on 14 Jul 2023
2644 points (98.0% liked)

Technology

58303 readers
10 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 73 points 1 year ago (2 children)

Hardware is the physical part of computer.

Software is the code that runs on the computer to do the thing you want to do.

Firmware is the code that is installed on the hardware itself, usually in some sort of permanent or semi-permanent memory to make the hardware work.

[–] [email protected] 10 points 1 year ago

Oh, that makes sense, thank you!

[–] [email protected] 3 points 1 year ago (2 children)

Can you provide an example for stupid people?

[–] [email protected] 10 points 1 year ago (1 children)

Say you have your display, this is made up of millions of lights that on their own just light up in whatever single colour you want, but together they light up to create an image.

Your software takes care of breaking down that image of a cat you want to look at into its corresponding pixels - with a value for colour and brightness.

For example it'll say this area in the cat's eye is black, so it'll request the no light to come out of it. Another area might be a pale red so it'll request red with some middle level of brightness.

Now your firmware takes that requested black for a specific Pixel and it'll physically cut power to switch off all the lights in the required area. For the pale red it'll power that the red ligh ON with hald power, whilst green and blue are OFF.

(things get more complex once you consider back-lightning)

[–] [email protected] 3 points 1 year ago

Great explanation. Thanks!

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Firmware is software that makes the hardware do what it is supposed to do that runs on the hardware itself.

The term is used somewhat ambiguously though.

  • Sometimes it is just the pure functionality, "if button is pressed, flip the lights on/off".
  • Sometimes it glues communication with the functionality, "if signal is received over some interface, flip the lights on/off".
  • Sometimes it has an operating system, "when power is on, initiate communications with hardware and interfaces and load software if it is present to interact with any of these".
  • Sometimes it is a package with both operating system and software, "when power is on, initiate communications with hardware and interfaces and load software that I know is present".
  • Sometimes the OS and/or software in the firmware package has a helpful front facing user interface.
[–] [email protected] 4 points 1 year ago

Thanks! Nicely explained!