issue 20 - Embedded systems newsletter

Embedded systems #20

Hardware

Getting started with CPLDs
If you have always wanted to know what is it to do CPLD developement but you have never found your way to begin, this page is a step by step guide for beginners. Forget your fears and go for it

Implementing MicroBlaze MCS on the Papilio One
Another guide, this time to get the soft processor Microblaze work on the XC3SXXXE FPGAs (XC3S250E, XC3S500E,..). The author describes all the steps to code a C program for the Microblaze, to solder a led on the FPGA and demonstrates that its setup makes the led blink.

A FPGA based Bus Pirate Clone
If you don’t know bus pirate it’s a nice piece of hardware that can talk to your card through almost all the bus types that you can think about. It’s a must have to bootstrap your next prototype.

Software

Embedded Linux - Accessing hardware, part 1
An article that is in fact an extract of the book “Linux for Embedded and Real-time Applications”. This extract describes how to access Input/Output hardware from Linux.

The Eudyptula Challenge
As a Linux kernel developer beginner, or as an experimented one, it’s always interesting to test your skills with a challenge like the Eudyptula one. Their webpage says that you do not need any previous Linux kernel coding experience but the first step is already a bit complex : a Hello World Linux kernel module. whatever are the difficulties, I’m sure you will love them

The Vulnerable Linux Kernel Code
A well written article on the possible consequence of a bug discovered on january the 31th. The article starts with the description of the bug and finishes with a walk-through of a proof-of-concept exploit. This kind of article are the best to my mind to raise our own awareness on security consequences of our coding style

How to debug small programs
Young developers are surprised how it can be easy to debug small programs, if the coder follows a systematic technic. This article describes clearly how you can reproduce it and never, never, never again ask someone else why your 20 lines of code are not doing what you expect from them.

The SubC Compiler
SubC is a pedagogic compiler that compiles the subset of C called the ANSI C or C89. It targets many operating systems (FreeBSD, Linux, Windows, etc..) and it can run on three architectures 386, armv6 and x86-64. SubC can be a very interesting compiler if you are in the process to learn how things are done under the hood.

10 lsof command usages with example – Unix/Linux
Sadly the last busybox does not have any lsof classic option but it still interesting to know them for your bigger Linux embedded systems

Misc

Linux Video of the Week: Yocto Project Saves Embedded Linux Devs from Frankenstein OS
A fun video that explains how the Yocto project can save you from creating another Frankenstein embedded system

Embedded Agile Project by the Numbers With Newbies
For those who still search if it is possible to apply agile methods to embedded systems with a software part and a hardware part, this paper is a good demonstration on how this can be accomplished