Questions tagged [embedded-systems]
"An embedded system is a computer system designed for specific control functions within a larger system, often with real-time computing constraints." Michael Barr. "Embedded Systems Glossary". Neutrino Technical Library. Retrieved 2007-04-21, copied from Wikipedia.
191 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
667 views
What's the difference between embedded systems and other software systems?
I've decided to self-study software engineering from textbooks. and I came across the term "embedded systems". I went to chatGPT to ask it what it is and the answer it gave me was: "a ...
1 vote
3 answers
373 views
Is Feeding a Watchdog Timer from an Interrupt Service Routine a Bad Practice?
In an embedded system, I require a watchdog to be able to pass ESD qualifications. Having no experience with watchdogs, I went through this Memfault article. I liked the events "registration"...
2 votes
1 answer
295 views
Embedded C++ classes vs. namespaced free functions
I am using C++ in an embedded environment (ESP32) and have been playing around with different ways of structuring my program. The program isn't super complex but not so simple that it could all be ...
-1 votes
1 answer
252 views
What are ARM64 system registers
I see in arm reference manuals they give info about certain configurations such as HCR_EL2, Hypervisor Configuration Register (HCR_EL2), and what I read in books and reference manual is that ARM64 ...
2 votes
2 answers
407 views
Optimizing Flash Memory Writes in Embedded Systems with Unpredictable Power Loss
I'm working on an embedded C++ project that involves logging certain types of statistical data (like successful accesses, failed attempts, and other events) to the flash memory (just incrementing ...
4 votes
1 answer
340 views
Dealing with global variables required by badly-written library
I am working with a library that is somewhat poorly written. In order to function, it requires several global variables to be declared and sometimes even maintained by my own code. I really don't ...
0 votes
0 answers
85 views
Decoupling a Configuration API in an Embedded Framework
In my embedded project I am designing a framework that allows the user to create widgets at compile time. All widgets must provide the same base functionality. Further, there are multiple widget ...