Questions tagged [firmware]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
148 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
4answers
471 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
7answers
6k 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
1answer
2k 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
2answers
87 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
3answers
499 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
1answer
2k 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
3answers
2k 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
3answers
955 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
1answer
257 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
3answers
297 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
2answers
212 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 ...
-1
votes
1answer
2k views

Belkin device runs Linux, how can I create my own custom firmware for it? [closed]

The Belkin N300 F9K1002 firmware is located here. It does not appear to be encrypted. How can I upload my own custom Linux firmware to this device. How would I go about hacking it?