Questions tagged [firmware]

Firmware is one of the most often used terms to denote the fixed programs and/or data structures that internally control an electronic device.

The wiki page describes firmware as the combination of persistent memory and program code and data stored in it.

Typical examples of devices containing firmware are embedded systems (such as traffic lights, consumer appliances, and digital watches), computers, computer peripherals, mobile phones, and digital cameras. The firmware contained in these devices provides the control program for the device. Firmware is held in non-volatile memory devices such as , , or .

Changing the firmware of a device may rarely or never be done during its economic lifetime; some firmware memory devices are permanently installed and cannot be changed after manufacture. Common reasons for updating firmware include fixing bugs or adding features to the device. This may require physically changing ROM integrated circuits, or reprogramming flash memory with a special procedure.

Firmware such as the ROM of a personal computer may contain only elementary basic functions of a device and may only provide services to higher-level software. Firmware such as the program of an embedded system may be the only program that will run on the system and provide all of its functions.

640 questions
13
votes
1 answer

What does the MSP in STM32CubeMX HAL_xxx_MspInit() functions stand for?

I was wondering what the abbreviation "MSP" in HAL_xxx_MspInit() callbacks stands for. I have seen that in some firmware drivers like the HAL library from ST. For example: void HAL_UART_MspInit(UART_HandleTypeDef *huart); void…
StarSheriff
  • 1,477
  • 2
  • 17
  • 23
12
votes
1 answer

Loopback mount in OSX

I am trying to mount an .img file (rootfs.img) so I can modify the features of the firmware for a derivitive of the 4fff N618 (Pandigital Novel). I have flashed it with the firmware of the bqAvant and it is fully operational, but I cannot find a way…
spaghettiCode
  • 123
  • 1
  • 1
  • 4
12
votes
1 answer

What is a typical keypress duration

I'm doing some work on key press handing in a firmware project. I've been googling to try to find what the typical duration of a key press is, particularly the minimum for a fast typist. Surprisingly I can't find any figures for this anywhere.
Will
  • 805
  • 1
  • 9
  • 26
11
votes
4 answers

EFI console on Mac OS X (Intel)

According to ADC documentation: You can access Open Firmware this by holding down Command-Option-O-F at boot time. However, in reality this does not work on current hardware. Does anybody know if there is a way (through trigger-keys, etc.) to get…
kent
  • 6,286
  • 4
  • 27
  • 32
11
votes
0 answers

Is it possible to create themes for android mobile

I have googled and gone through some of the posts, im not clear about creating the themes for the android phone. I just want to create the themes for the android mobile. Not necessary to be an app.As far as i know the HTC Desire HD consists the…
Hussain
  • 5,552
  • 4
  • 40
  • 50
11
votes
4 answers

What are some available software tools used in testing firmware today?

I'm a software engineer who will/may be hired as a firmware test engineer. I just want to get an idea of some software tools available in the market used in testing firmware. Can you state them and explain a little about what type of testing they…
LEMUEL ADANE
  • 8,336
  • 16
  • 58
  • 72
11
votes
4 answers

Are there any FreeRTOS interpreted language libraries available?

I work for a company that created firmware for several device using FreeRTOS. Lately our request for new features has surpassed how much work our firmware engineers are capable of, but we can't afford to hire anyone new right now either. Making…
Great Turtle
  • 3,315
  • 7
  • 32
  • 36
11
votes
4 answers

How to keep interrupts short?

The most heard advice in embedded programming is "keep your interrupts short". Now my situation is that I have a very long running task in my main() loop (writing large blocks of data to SDcard), which can sometimes take 100ms. So to keep my system…
Maestro
  • 9,046
  • 15
  • 83
  • 116
11
votes
4 answers

What do people mean by ROM and firmware in the context of android?

I read "custom ROM" and "customized firmware" all over the internet. To my understanding ROM stands for Read Only Memory. Despite that I see links to files, that I suppose, are filesystem images, containing an operating system with preinstalled…
user1358
  • 623
  • 2
  • 8
  • 13
10
votes
1 answer

How does processor read BIOS from SPI flash?

A typical x86 systems has firmware (aka BIOS or UEFI) stored in a SPI based Flash chip. When the power-on happens, the processor starts executing at Reset Vector which is pointing to memory-mapped SPI chip where BIOS is stored. From here onwards,…
Naveen
  • 7,944
  • 12
  • 78
  • 165
10
votes
5 answers

What is the scancode of "Pause/Break" key?

I download "SharpKeys.exe" from here. It works well. But I want to change "Pause/Break" to another, this app cannot recognize this key correctly. Does any one know the scancode? Thx
Redick
  • 149
  • 1
  • 1
  • 8
9
votes
3 answers

Does malloc needs OS support?

Memory management is a service provided by underlying operating system. When we call malloc()/free() and there's no operating systems running(for example a bare metal embedded system), how is the memory allocation and tracking handled? There should…
doubleE
  • 1,027
  • 1
  • 12
  • 32
9
votes
4 answers

"printf" in microcontroller, what is it for?

I see "printf" instruction in sample codes of c language for microcontroller particularly in 8051. Since microcontrollers has no fixed output display what is the use of the "printf" instruction?
LEMUEL ADANE
  • 8,336
  • 16
  • 58
  • 72
8
votes
1 answer

Remotely Updating Raspberry Pi Software 'over the air'

We use a Raspberry Pi embedded computer to connect IP cameras on a customers network to our cloud based recording service. We are using Raspbian and about 50% are Wheezy and 50% are Jessie. The challenge we have is how to remotely update the…
dopey
  • 496
  • 1
  • 6
  • 19
8
votes
2 answers

What's the difference between software and firmware?

I know this is a bit of a basic question, but I am a little confused and couldn't find the complete answer on Google. I know that the difference has to deal with how permanent and malleable a section of code is. However, how do you draw the line…
wcarhart
  • 2,685
  • 1
  • 23
  • 44
1
2
3
42 43