Although I regard the New Year as a time to look forward, I am continuing my catch-up process of cataloging embedded software articles that I have had published on embedded.com in the recent past. This time they cover medical systems, C function parameters, the basics of multitasking and the Forth language…
Electronics is used for numerous applications, but one, for which most of us feel grateful, is medical instrumentation. A modern hospital or doctor’s surgery is bristling with electronics. This article reviews the embedded software technology that drives such systems and looks at how this application area is driving many new developments as well as leveraging existing techniques and devices. At the same time, medical applications present new challenges to embedded software developers, which cannot be ignored.
Passing parameters to a C function seems simple enough, the details of how that process takes place have a significant impact on the behavior and performance of the code. Programmers of desktop computers do not care about this impact; embedded developers do not have that luxury. This article looks at parameter passing mechanisms and how to use them optimally.
In a world dominated real time operating systems with enormous arrays of functionality and full scale operating systems, like Linux, it can be useful to stand back and consider the basics. What if you just need some basic multi-threading? How complex does that need to be? In this article, some ideas are proposed for almost trivially simple multi-threading, which might even be implemented in a single line of code!
The most commonly used programming language for embedded applications is C, with C++ gradually becoming more popular. C was never designed for embedded use, but a handful of languages were intended from day 1 to be used for this purpose. One of those languages is Forth. Although it may be argued that the language’s heyday was about 30 years ago, there are still a loyal band for Forth fanatics who keep the language alive. In this article, there is a very brief introduction to the language and we consider whether it might have a place in modern embedded systems.