Monday, April 16th, 2018
I often joke that my job puts me in a difficult position, as I am a software guy and a very large proportion of Mentor employees are hardware design specialists; I am consorting with the “the enemy”. Although I am making a light-hearted comment, there is, sadly, something of an “us and them” attitude between software and hardware teams in many companies. It is in everybody’s interest to make this a thing of the past.
Sometimes, it seems as if this view is reasonable, when hardware seems to be designed specifically to make life hard for software developers … (more…)
Thursday, March 15th, 2018
I like simple things. In particular, I like clean and simple ways to solve a problem. For example, user interaction with an embedded system might be something very slick – touch screen LCDs seem to be fitted to everything nowadays. But sometimes a simple LED indicator is enough. It is amazing how useful a simple blinking light can be … (more…)
Thursday, February 15th, 2018
Nowadays, most embedded systems are built using 32-bit CPUs. These devices give plenty of scope for performing the arithmetical processing required for various applications. Calculations can be performed on signed or unsigned integers and 32 bits gives a good range of values: +/- 2 billion or up to 4 billion respectively. Extending to 64 bits is reasonably straightforward.
If you need to stray outside of these ranges of values or perform more sophisticated operations, then you need to think in terms of floating point and this presents a range of new challenges … (more…)
Monday, January 15th, 2018
Most of the time, I subscribe to the view that “the only stupid question is the one you did not ask”. However, I do have trouble with a question that I have been asked countless times at trade-shows, seminars etc. The question is “How much memory does Nucleus RTOS need?”
It is not that this is a stupid question. It is very sensible to be fully aware of resource utilization with deeply embedded systems. The problem is that I am rarely sure how to give a meaningful and useful answer, so I resort to generalities and this is often viewed with suspicion. The reason for this is that the answer is dependent upon a great many variables … (more…)
Tuesday, December 19th, 2017
The term “interrupt latency” is widely used, but, like a lot of technical terms, its meaning is sometimes unclear. This is our first challenge – to define our terms. The second challenge is to make a meaningful measurement. (more…)
Wednesday, November 15th, 2017
Not so long ago, I was having some trouble with my Internet connection. I will probably never know exactly what was wrong (as broadband is, for intents and purposes, magic), but investigating the problem was interesting. I am not a networking specialist, so I would expect that messing with the settings inside a router would be hard, but the manufacturers have made it very simple.
I began to wonder why there are not many devices that work in the same way … (more…)
Monday, October 16th, 2017
I have historically been somewhat skeptical about open source software (OSS). I am always wary of anything that is “free” and subscribe to the TANSTAAFL (“there ain’t no such thing as a free lunch”) principle. It has taken me quite a few years to understand that open software is not free – it is just a different business model from the usual “we make it, you buy it” approach.
I am only now coming to grips with how the OSS model really works, why it is a good thing and how business can leverage it to mutual benefit … (more…)
Monday, September 18th, 2017
Somebody asked me: “What is the plural of Linux?” Maybe it is Linuxes. That sounds a bit messy, which seems rather appropriate really… (more…)
Tuesday, August 15th, 2017
It is interesting how different parts of my life intersect with one another. I am thinking of my working life in embedded software and an aspect of my personal life: my lifelong interest in photography. Years ago, they were very separate activities, but the move from film to digital has brought them closer together.
A particular incident occurred recently that raised interesting questions about the value of software … (more…)
Monday, July 17th, 2017
For a software developer, the idea of a library is quite simple: It is a file containing a (typically large) number of functions/procedures/subroutines in a special format. At link time, the linker looks in the library (or there may well be more than one, in which case it checks each in turn) to resolve any references to functions not satisfied by the supplied object modules. This means that the programmer just needs to reference commonly used functions and their code is pulled in automatically.
Of course, it is not quite that simple. Also, as with most aspects of embedded programming, libraries present more challenges and options to developers … (more…)