Modern Embedded Systems Programming Video Course
This is the companion web-page to the YouTube video course about programming embedded systems the modern way. The course is taught by Quantum Leaps’ Miro Samek.
Here you can find various resources for the course as well as links to all released videos and project downloads.
Home » Video Course
About the Course...
The course consists of focused, fast-paced, hands-on lessons that teach you how to program embedded microcontrollers in C. The course begins with the fundamentals, but gradually covers increasingly advanced concepts all the way to the contemporary modern embedded programming practice.
The course is specifically designed not just to be watched, but to be actively followed along on your own computer (Windows based PC) and a small, self-contained, very inexpensive evaluation board. This companion web-page provides the project downloads that you can open in a specific embedded toolchain and run on your PC at home.
The goal of the course is not just to teach C–other sources do it already quite well. But there are virtually no courses that would step down to the machine level and show you exactly what happens inside a microcontroller.
So, starting from Lesson 1 you will actually see how the ARM Cortex-M processor executes your code, how it manipulates registers, and how an embedded microcontroller can “do” things in the real world, such as turn on and off an LED.
This deeper understanding will allow you to use the C language more efficiently and with greater confidence. You will gain understanding not just what your program does, but also how the C statements translate to machine instructions and get a sense for how fast the processor can execute them. Also, you will get some familiarity with the ARM Cortex-M core, which will look really good on your resume.
The course has been going from January 2013, but it is never too late to join. Stay tuned…
Course Resources
The following list provides links to useful resources about the embedded board and the development toolchains used in the course.
Embedded Board: TivaC LaunchPad
This course is based on the inexpensive and widely available EK-TM4C123GXL board from Texas Instruments, also known under the name TivaC LaunchPad.
The board is based on the ARM Cortex-M4 CPU.
To be able to run the projects provided below, you need to use the exact board. No other board, even if based on the same ARM Cortex-M4 CPU, will allow you to run the projects prepared for the TivaC LaunchPad.
The TivaC LaunchPad board was previously called EK-LM4F120XL "Stellaris LaunchPad" and the first segment of lessons refers to the board by its old name. But the two boards (TivaC LaunchPad and Stellaris LaunchPad) are essentially equivalent and both are equally suitable for this course.
Troubleshooting TivaC LaunchPad
Application Note describing how to fix common problems with TivaC LaunchPad and related software.
Tiva TM4C123GXL LaunchPad User Manual
(applies also for Stellaris EK-LM4F120XL LaunchPad)
Tiva TM4C123GH6PM Data Sheet
Document that describes in detail the microcontroller: the CPU, all peripherals and registers.
ARM Cortex™-M4 Users Guide
Describes ARM Cortex-M4 instruction set.
Tiva/Stellaris USB Drivers
Tiva/Stellaris USB drivers for Windows.
Tiva/Stellaris In-Circuit ICDI Manual
USB drivers installation instructions.
LM-FLASH programmer
The LM-FLASH tool can be used to recover an unresponsive TivaC Lauchpad board. Please see the "Troubleshooting TivaC LaunchPad" for details.
Tiva TM4C123GH6PM header file
(also applies to LM4F120H5QR)