The Colin Walls Blog

This blog is a discussion of embedded software matters - news, comment, technical issues and ideas, along with other passing thoughts about anything that happens to be on my mind.

16 March, 2017

Financial planning and investing for the future are matters that we all understand are important. Some people are better than others at acting on this knowledge. For most of us, it is a bit of a shock when the future arrives. I used to say that the definition of being old is when pensions start to sound even remotely interesting. For me, it took an “external influence” in 1986 to give the matter some initial thought … Read the rest of this entry »


13 March, 2017

My latest video blog is now available. I am talking about the relationship between the choice of operating system and the power consumption of an embedded system. You can see the video here or here:

Future video blogs will continue to look at topics of interest to embedded software developers. Suggestions for topics are always welcome via comment, email or social networking.

, , , , ,

9 March, 2017

A few weeks ago, I wrote about my challenges with visiting the USA. In summary, I found that I was ineligible to travel using an ESTA and I needed to get a visa. This was annoying, as it resulted in the need to cancel a planned trip, but it did serve to make me think about the implications of international travel. So, I started the process of obtaining a visa. It is very topical right now to think about people gaining entry to countries [like the US] illegally. What is not discussed is how hard it can be to do legally … Read the rest of this entry »


6 March, 2017

Next week, Tuesday-Thursday 14-16 March is Embedded World in Nuremberg, Germany. This is the biggest event in the world of embedded systems. I have been to the show and conference most years over the last decade and this year is no exception. The event is a very large trade show, along with a technical conference. It is the conference where I usually find myself most occupied … Read the rest of this entry »

, , , , ,

2 March, 2017

When I was in my teens, living with my parents, we had a dog. His name was Monty [short for Montmorency]. We got him as a puppy and were told that his mother was a dachshund and this was borne out by his coloration. However, as he grew and grew, we concluded that his father was probably a donkey. 😃 I used to enjoy him at that time, even though I felt that it was always my job to give him exercise.

Somehow, the idea of owning a dog since then has never really taken root … Read the rest of this entry »


27 February, 2017

My latest article on embedded.com has been published. This piece is the fifth installment of the RTOS Revealed series, which will continue to appear through 2017 and beyond. The series will cover every aspect of real time operating systems.

Inter-task communication and synchronization

In this article, I take a look at the various facilities that and RTOS may offer to accommodate communication between and synchronization of tasks… Read the rest of this entry »

, , , ,

23 February, 2017

There has been much discussion in recent years, in most Western countries at least, about marriage – what it means and how it might be reformed. Gay marriage has been discussed endlessly. Very recently, the topical discussion in the UK has been about whether a heterosexual couple might enter into a civil union; a court concluded that they could not. As I see it, all the discussion has been taking place amid great, heart-felt emotions and has been held back by long-standing traditions. All of this has resulted in the muddled thinking that leads to headlines in the less reputable parts of the media.

IMHO, a simple analysis of what a marriage is all about yields logical answers and the possibility for all parties to be reconciled [though this last bit is a long shot] … Read the rest of this entry »


20 February, 2017

If your embedded application makes use of a real-time operating system [RTOS], like Nucleus, you will need to learn the API – the Application Program Interface. The API is a series of function calls that enable the application code to make use of the facilities provided by the RTOS. These facilities include control of tasks, timing, inter-task communication and synchronization and memory management. The number of available calls may run into hundreds, as a modern RTOS offers a wide range of functionality.

Although C is the most widely used language for programming embedded systems, many developers are keen to use C++. This opens up an alternative way to interface with an RTOS … Read the rest of this entry »

, , , , , , ,

16 February, 2017

As I get older, I find that I am increasingly susceptible to strong emotions. I think it started 30 years ago, when I first became a parent. Having children stretches your emotions in every direction. I think that emotions are like muscles: the more you exercise them, the more agile they become. I can be moved by so many things – both in real life and movies etc. When we go to a movie, I am often pleased that we watch it in the dark.

An odd thing is that, although sad events can move me, it is seeing acts of kindness that gets to me most of all … Read the rest of this entry »


9 February, 2017

What do you do when you see a rainbow? I will tell you what I do: I just stand and stare. I have no idea how many I have seen in my life – it must be many hundreds – but I still stop. If I am inside the house and observe that it is raining and the sun is shining [and the angle of the sun is low enough], I rush outside to see whether there is a rainbow. Of course, on a good day, I will also see a fainter secondary rainbow. Once or twice, I have seen the faintest hint of a tertiary too. Even though I know that all I am seeing is the physics of light displayed on a grand scale, I still find a rainbow awe inspiring.

Pondering rainbows has got me thinking about colours in general … Read the rest of this entry »


6 February, 2017

Crystal ball gazing is, I feel, commonly a foolhardy activity. So often, I have heard so-called experts making complete idiots of themselves with their perspectives on a future that seemed unlikely at the time and turns out to be completely wrong in every detail. The world of embedded software is no different. Every few years a new fashionable technology is talked about everywhere, with predictions of the world changing completely, but it never quite happens.

I recently listened to an interesting podcast by a couple of well-known names in the business. A wide spread of opinions is part of life, and we should not always expect to agree with each other. I would like to suggest a different view … Read the rest of this entry »

, , , , , ,

2 February, 2017

A while ago, I wrote about the benefits of saunas. In summary, it appears that regular use of a sauna can extend ones lifetime. Since I wrote that, further research has been reported that suggests that frequent sauna usage [several times a week] can reduce the risk of dementia by as much as 66%! I found the data to be quite compelling and will not let up on my use of saunas.

This encouragement made me wonder what the mechanism is for the benefits of a sauna and, as a result, I have come up with a whole new spa concept … Read the rest of this entry »


30 January, 2017

Not long ago, I was telling a friend about an iPad app that I had found useful. I commented that it was very reasonably priced at $10. They were very proud to tell me that they never pay for apps on their phone or tablet and only use free ones. I am always suspicious of the word “free”. I am a firm believer in the TANSTAAFL [There Ain’t No Such Things As A Free Lunch] principle – everything has a price, which may be monetary or something else.

I started pondering about how TANSTAAFL applies in the world of embedded software … Read the rest of this entry »

, , , , , ,

26 January, 2017

I have some friends, a couple, who are keen tea drinkers – like many English people, of course, including myself. Whilst I am somewhat conventional and like my tea to have some flavor, they are rather odd and seem to want hot water that is barely stained brown. In a café, they will request hot water and a teabag on the side. The teabag is introduced to the water, but not long enough for a strong acquaintanceship to develop – just seconds. They can use a single teabag for 6 or more cups of tea, which is very economic.

I joked recently that what they drink is “homeopathic tea” and this got me thinking about complementary therapies … Read the rest of this entry »

, , ,

23 January, 2017

My latest article on embedded.com has been published. This piece is the fourth installment of the RTOS Revealed series, which will continue to appear through 2017 and beyond. The series will cover every aspect of real time operating systems.

Tasks, the context switch, and interrupts

In this article, I take a further look at tasks and consider how the context switch works and how interrupts may be handled.

I hope that you find the series interesting and look forward to your input by comment or email or via social media.

, , , , ,

19 January, 2017

A while back, I wrote about the Repair Café, which is a monthly event at which a bunch of volunteers endeavor to repair items brought along by members of the public. I have enjoyed being involved with this venture and I am pleased to report on its continued success – we get around 50 “customers” at each session and they report a high level of satisfaction.

However, things have recently taken an interesting turn … Read the rest of this entry »

,

16 January, 2017

For many years, I would regularly be asked about networking options for embedded systems. Commonly, the query was about real time systems and how they might be connected straightforwardly. Most often, the question was “Can I use Ethernet?” This was an obvious enquiry, as Ethernet is a very well established standard. Also the hardware is widely available and competitively priced and it may be used as a vehicle for TCP/IP etc., which is familiar to many developers. The answer was never totally straightforward … Read the rest of this entry »

, , , , , , , , , ,

12 January, 2017

I guess that I spend quite a lot of time thinking about Life the Universe and Everything. Starting out on a new year, I always try to be forward looking and positive – even if the state of the world is not so encouraging just now. Overall, I ponder about the fact that we all have a limited time in this world and we should all think about how to use this scarce resource … Read the rest of this entry »


10 January, 2017

Some exciting news today! Every year, embedded.com publish their Top 10 list of embedded articles. This year I had two entries [#2 and #7], which is a very pleasing start to 2017. It is very interesting that my two articles are both from the RTOS Revealed series, which will be continuing this year, with the next article appearing very soon. It is great to know that they are popular. Perhaps, at the end of this year, I will have the #1 place!

Although I missed #1 this time around, it was great to see that honor going to my colleague at Mentor Graphics, Faizan Khan. Well done Faizan!


9 January, 2017

My latest video blog is now available. I am talking about memory architectures in embedded systems. Not strictly a software issue, but a topic that has a significant impact on embedded software development. You can see the video here or here:

Future video blogs will continue to look at topics of interest to embedded software developers. Suggestions for topics are always welcome via comment, email or social networking.

, ,

5 January, 2017

We decided that we would like to get away for the Christmas and New Year holiday. We had two objectives: find somewhere where Christmas was, if not ignored, a lot lower profile than it is the in UK; get some sunshine. After some deliberation, we chose Sri Lanka [big island, south east of India – formerly called Ceylon]. On vacation, it can be hard to get much impression of the lives of the local people. Tour companies, hotels etc. provide a significant level of insulation, as they endeavor to provide the comforts and mod cons that western visitors expect.

It is always a great opportunity [for me, anyway] to spend time with a “local”, who is happy to tell you something about their way of life. For a few days, we had a driver – I will call him Mr. C. – who, apart from being a good driver on the rather chaotic roads, with an excellent knowledge of his country, liked telling stories. He had many stories and I was taking notes … Read the rest of this entry »


19 December, 2016

As I have been working on the RTOS Revealed series of articles in recent weeks, I have been thinking about the operation and functionality of operating systems. It is a very broad subject – hence the plans for a long series of articles – but I thought that some specific areas might be usefully discussed in this, more compact, context. A topic, that is not often considered, is the question of task identifiers … Read the rest of this entry »

, , , ,

15 December, 2016

As this is my last “off-topic” posting of 2016 [there will be a techie one next week], I wanted to end the year on a high – of sorts. As I get older, I am increasingly affected – moved, really – by acts of kindness. I am most emotional when the kindness is directed to a stranger and the kind-hearted person has absolutely zero expectation of anything in return. This is a topic that I have discussed before. I am casting my mind back 10 years … Read the rest of this entry »


12 December, 2016

My latest article on embedded.com has been published. This piece is the third installment of the RTOS Revealed series, which will continue to appear through 2017 and beyond. The series will cover every aspect of real time operating systems.

RR

Tasks and scheduling

In this article, I take a look at tasks, threads and processes and outline their differences. The various types of task scheduling are discussed and some thought is given to the different states that may pertain to a task at a given moment.

You can gain access to the whole series by following this link.

I hope that you find the series interesting and look forward to your input by comment or email or via social media.

, , , , ,

@colin_walls tweets

Follow colin_walls