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
6
votes
2 answers

Find linux kernel version of a router firmware from the filesystem

I've downloaded the file DAP2690-firmware-v101-rc019.bin (link) which is a firmware update to some D-Link router. I've extracted it using binwalk -e DAP2690-firmware-v101-rc019.bin (Binwalk v1.2b) and now I have the root filesystem in the folder…
assafmo
  • 1,047
  • 3
  • 15
  • 32
5
votes
1 answer

How can i change Android Default Home screen Code and Replace my Customize Home Screen application source code?

Here i already make one customize home screen launcher application for android. Now i want to add this application in Android Source code. And Remove Default android home screen source code from Android 2.3 source code. than i want to built whole…
sam_k
  • 5,983
  • 14
  • 76
  • 110
5
votes
1 answer

Modifying BOOTCLASSPATH in Android Building

This question is related to this other one. I have recompiled Android framework and generated a new image. I need to add some classes to the original framework and did it by adding new jars that go into /system/framework. I modified BOOTCLASSPATH to…
Fernando Miguélez
  • 11,196
  • 6
  • 36
  • 54
5
votes
0 answers

Azure Iot Edge firmware and custom files inside

I have device that works under Ubuntu server, there are two apps I created which is actually my "firmware" My goal is to update those two apps by having Azure IoT Edge and create some kind of agent that send health and sensor status. I read couple…
Sanja Melnichuk
  • 3,465
  • 3
  • 25
  • 46
5
votes
4 answers

What are common structures for firmware files?

I'm a total n00b in embedded programming. Suppose I'm building a firmware using a compiler. The result of this operation is a file that will be flashed into (I guess) the flash memory of a MCU such an ARM or a AVR. My question is: What common…
El Marce
  • 3,144
  • 1
  • 26
  • 40
5
votes
5 answers

Good sites/blogs for FPGA development projects

I'm looking for interesting online resources on FPGA development - sites, blogs, that sort of thing. What I'm after is examples of fun (and hopefully not too expensive) projects that one can try out and learn from.
Dmitri Nesteruk
  • 23,067
  • 22
  • 97
  • 166
5
votes
1 answer

ELF loading when VMA != LMA

I have a problem on this one. I am using ARM Cortex-A9 with DS-5 to create baremetal firmware. I modified my linker file to intentionally put the .data section LMA adjacent to the text and rodata sections, because its default run-time VMA is…
ubermensch
  • 363
  • 2
  • 12
5
votes
1 answer

What kind of api does a sata hard drive expose?

I understand that the linux kernel uses a driver to communicate with the hard disk device and that there is firmware code on the device to service the driver's requests. My questions are: what kind of functionality (i.e. api) does the firmware…
Mike G
  • 4,829
  • 11
  • 47
  • 76
5
votes
1 answer

Windows scancodes for F11 and F12 are different. Why?

Why are they separate from the rest of the scan codes? Is there some reason for it? F9 is 67 F10 is 68 Numlock is 69 F11 is 87 F12 is 88
Lfod
  • 581
  • 5
  • 14
5
votes
1 answer

How to store firmware file into header file (.h)

I have got a firmware (.raw) file which has to be written in serial flash. One way is to create a header file out of it i.e. a string array with the file content and then in code read this buffer and write it in serial flash. In linux do we have…
5
votes
2 answers

Dump Flash Memory through a single GPIO pin

I'm working with Infineon's XMC4500 Relax Kit and I'm trying to extract the firmware through a single GPIO pin. My very naive idea is to dump one bit at a time through the GPIO pin and somehow "sniff" the data with a logic…
5
votes
2 answers

Reverse engineering a firmware - what's up with every fourth byte?

So I decided to grab my tools and analyze a router firmware. It went pretty okay up to the point where I had to find segments manually. I wouldn't bother you with it and i really don't want to ask about hacking anything or to do a favor for me.…
Bálint Juhász
  • 304
  • 1
  • 16
5
votes
3 answers

Does breaking Arduino code into functions take up more space/resources?

Let's say I have this code below: int led = 13; void setup() { pinMode(led, OUTPUT); } void loop() { ledChange(HIGH); delay(1000); ledChange(LOW); delay(1000); } void ledChange(int pinState) { digitalWrite(led,…
Anonymous Penguin
  • 2,027
  • 4
  • 34
  • 49
5
votes
0 answers

Bluegiga Bluetooth LED USB dongle firmware update tool not working correctly

So I was following step by step BlueGiga's BGDemo application note but ran into a problem when using the dfutool.exe to update my USB dongle's firmware. The steps I took are as follow: Open BLEGUI and connect to my USB dongle. Press DFU to restart…
stellarowl12
  • 525
  • 6
  • 18
5
votes
2 answers

Opinions on Bus Pirate device programmer?

I'm looking to do some hobby firmware development at home and need a device programmer. Hoping to keep to Open Source solutions, I found the OpenOCD project and also the Bus Pirate. For $30 it seems like a no-brainer, especially since it supports…
Ryan
  • 185
  • 11