Bare metal micro:bit

From Bare metal micro:bit
Revision as of 16:15, 6 August 2024 by Mike (talk | contribs)
Jump to navigation Jump to search
Front cover

Twenty-one experiments in low-level programming

Welcome to the online version of my book, "Bare metal micro:bit", an experiment-based introduction to programming embedded devices at the machine level. The book shows you how to program the ARM-based BBC micro:bit in assembly language and in C, how to make programs interact with hardware devices, and later how to use a simple, embedded operating system.

The complete book will contain 21 or more experiements, each described in a separate chapter, plus supporting material. On this page I have listed the chapters in more or less the order I have uploaded them, which is also the order I suggest you read them and try the experiments. Among the first few items are instructions for obtaining and setting up the hardware and software you will need to follow the book, followed by Experiment 1, a simple task where you compiler and upload a simple C program to check that everything is working properly.

If you'd like to see my plan for the whole book, then look at the contents page, which has links to all the chapters present and future. The conventions regarding the naming of files and hardware registers are a bit different in this draft of the book from previous drafts, so if you have begun to work with the software previously, I'm afraid some changes to your programming will be needed.

Chapters

  • Experiment 1 – Building a program. Check you can build and upload a simple program.

    Copyright © 2019–24 J. M. Spivey. All rights reserved.