Questions tagged [firmware]
The firmware tag has no summary.
16 questions
1 vote
1 answer
238 views
Internal data representation in firmware
I'm developing firmware for control system. That system will collect data from different sensors (using ADC, GPIO, I2C temperature sensors, etc.), process this data and generate some control signals. ...
-4 votes
1 answer
226 views
if The ISA acts as an interface between the hardware and the software why we need firmware? [closed]
if The ISA acts as an interface between the hardware and the software why we have firmware? What exactly is firmware and how it works.
3 votes
4 answers
2k views
Alternative to nested-if on single return functions
I'd like to see if there has been any precedent on alternatives to nested-ifs--particularly for error-code returns. My workplace requires one return per function, so I cannot early exit. Here is some ...
1 vote
1 answer
7k views
Firmware Design Document (FDD) for an embedded system
What is a firmware design document (FDD) in terms of an embedded system? I am working on developing an application that would be working on a customised board similar to the Xilinx Zynq Development ...
9 votes
3 answers
573 views
Writing at the start of a file something you only know at the end
Background: I'm writing micro controller C code to write an EBML file. EBML is like a binary XML with nested elements, but instead of start and end tags, there is a start ID, length, and then the data....
4 votes
3 answers
3k views
Where and when does firmware of a device run?
Does firmware of a device run in the device or the device's controller? When does firmware of a device run? Does it run if and only if the cpu sends commands and/or data to the device's controller? ...
1 vote
1 answer
642 views
Appropriate design / technologies to handle dynamic string formatting?
recently I was tasked with implementing a way of adding support for versioning of hardware packet specifications to one of our libraries. First a bit of information about the project. We have a ...
7 votes
2 answers
264 views
How to test the same software on all products in a product line?
In my team we have been working on a firmware for a product. The product was released some years ago but we still implement new features in the firmware and regularly provide a new firmware for our ...