STM32 Minimal Development Environment

Tags: ARM, Embedded, Programming

In the past I have written on the advantages of minimal development environments (read: Makefiles and GCC, no IDE, minimal abstraction layers) for ARM processors. One of the advantages of working this way is easy integration with existing processes such as build systems, production line, testing, etc. Using this in a virtualized environment also allows one to make sure every developer uses the same tools, and that the tools are tested and qualified for the intended project with a ready made virtual image available for each developer. They can then add their favorite editor and user interface, but the underlying build environment is fixed for everyone and archived as such on a per-project basis. This means that if a customer comes back a year or two later and wants to make a change, all the tools are there as we left them ready to make the change. In this blog post I'll write down a possible scenario for a typical STM32 project, in this case using a NUCLEO-L152RE board as a target. It should be easy to adapt to other STM32 boards/chips, and in general other ARM microcontrollers as well.

Programmer on chair

Progress!

Tags: Other

We've been busy these past few months. I've made some posts on LinkedIn, but I thought I'd recap those here and add some extra context. First of all, a business partner of ours is doing the RideLondon bike trip at the end of the month in support of a good cause called stem4. In addition, we will equip his bike with air quality sensors and track his ride. Read more about all of this here. Good luck Terence!

bicycle

Getting started with LoRa(WAN)

Tags: Embedded, Network, Wireless

It seems that LoRa(WAN) in general tends to be quite a source of confusion for those starting out with this technology. For starters, there is the difference between LoRa and LoRaWAN that are absolutely fundamental but often these terms are used interchangeably. In addition, there are many different starter kits and devices out there that are not necessarily compatible with each other. The need to build up a gateway network alongside building actual communicating devices doesn’t really help to make this all straight forward. Hopefully this text can help clear some of the confusion and get people to build both infrastructure and things (pun intended) on top of this promising network technology.

Slightly Smaller Still...

Tags: ARM, Electronics, Tracker

...and with even more features than before. 

Matchbox 2017

Some Thoughts on Securing IoT Devices

Tags: Cryptography, Embedded, Programming, Security

Security in the Internet of Things (IoT) leaves much to be desired. Some of the recent DDoS attacks such as those through Mirai on DNS provider Dyn or on popular security site KrebsonSecurity have been possible due to weak security measures in things like network connected cameras. There are many reasons why the situation is what it is today, but that will not be the topic of this entry. While we have seen some initiatives, notably the security guidelines (PDF) by NIST and some comments made by Bruce Schneier, I feel that this leaves a lot of people wondering what practical measures to take to secure their devices. Many companies in the IoT are start-ups lacking a proper understanding of what security in the embedded field entails, and might lack (or didn't plan for) the budget to hire dedicated security people. The goal of this blog entry are to (hopefully) lift the veil on some of the methodologies that should be employed to create more secure IoT systems from a very practical point of view.

IOT