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
3 answers
355 views
How to Deploy Machine Learning Model on Wearable Edge Devices?
I have done mostly machine learning with big data, GPUs on EC2 VMs, K8S clusters etc. But this new assignment is on the other end of the scale. Basically, it is a time series forecasting and ...
-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.
0 votes
2 answers
249 views
Why is device firmware often distributed on CDs with the device?
Often, when any low-cost computer peripheral device is sold, it is sold with a CD containing the device's controlling firmware. Why can't it simply be sold with the firmware pre-installed by the ...
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 ...
25 votes
7 answers
7k views
Can abstractions and good code practice in embedded C++ eliminate the need for the debugger?
I am a C developer for an embedded system. YouTube has recently started recommending "C++ for embedded systems" talks. Having watched some of them, they pique my interest, but none of them answer the ...
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 ...
-1 votes
2 answers
198 views
Firmware development philosophy in function wrapping
I wrote some code in the past for 8bit MCUs, realizing that every time I gained experience, the next iteration will be with a wrapper API or something more distant from the "bare metal" register ...
9 votes
3 answers
575 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....
1 vote
4 answers
5k views
What is involved in compiling or interpreting machine G-Code?
The G-Code and M-Code that we used to instruct CNC lathe, 3d-Printers and engraving machines, to my understanding, is not a programming language, but a scripting language like Python where scripts ...
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? ...
0 votes
3 answers
2k views
What level of a computer system does firmware run on?
In the following levels of a computer system, on which level does firmware (e.g. BIOS) run? I guess: BIOS doesn't depend on OS, so it must run on some level lower than level 3. BIOS is written in ...
1 vote
1 answer
645 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 ...
5 votes
3 answers
372 views
Customer ask firmware source file
Recently my company was asked by a customer to develop a control board that includes firmware and PCB layout development. After finishing development the customer will buy the control boards at ...
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 ...