5 more embedded software programming tips

5 more embedded software programming tips

Time for another bunch of tips for embedded software developers, which I hope are helpful. I will admit that, in…

My code is bug-free!

My code is bug-free!

There is an old joke saying: “To err is human, but for a real ****-up, get a computer.” This chimes…

Choose your weapons – options for debugging

Choose your weapons – options for debugging

I was recently approached by a software developer, who was new to embedded programming. As is commonly the case, we…

Writing portable/reusable code

Writing portable/reusable code

What are you priorities when writing code? Obviously you need to implement some specific functionality and there may be a…

Take a break – the break statement in C

Take a break – the break statement in C

It is a given that structured programming – in one form or another – is a Good Thing. For years,…

Waiting for something to happen in an embedded system – a while loop

Waiting for something to happen in an embedded system – a while loop

An embedded system is normally a CPU [or some CPUs] interfaced to a number of peripheral devices. The software processes…

Comments and debug code

Comments and debug code

I have frequently asserted that one of the most important attributes – maybe the most important attribute – of code…

Embedded article: non-intrusive debug

Embedded article: non-intrusive debug

New Year greetings to everyone. But, before charging into 2016, I will just hark back to 2015 briefly … On…

Testing RTOS API code

Testing RTOS API code

A while ago, I concluded that it might be useful to highlight the publication of online articles, that I had…