Book Image

The Insider's Guide to Arm Cortex-M Development

By : Zachary Lasiuk, Pareena Verma, Jason Andrews
Book Image

The Insider's Guide to Arm Cortex-M Development

By: Zachary Lasiuk, Pareena Verma, Jason Andrews

Overview of this book

Cortex-M has been around since 2004, so why a new book now? With new microcontrollers based on the Cortex-M55 and Cortex-M85 being introduced this year, Cortex-M continues to expand. New software concepts, such as standardized software reuse, have emerged alongside new topics including security and machine learning. Development methodologies have also significantly advanced, with more embedded development taking place in the cloud and increased levels of automation. Due to these advances, a single engineer can no longer understand an entire project and requires new skills to be successful. This book provides a unique view of how to navigate and apply the latest concepts in microcontroller development. The book is split into two parts. First, you’ll be guided through how to select the ideal set of hardware, software, and tools for your specific project. Next, you’ll explore how to implement essential topics for modern embedded developers. Throughout the book, there are examples for you to learn by working with real Cortex-M devices with all software available on GitHub. You will gain experience with the small Cortex-M0+, the powerful Cortex-M55, and more Cortex-M processors. By the end of this book, you’ll be able to practically apply modern Cortex-M software development concepts.
Table of Contents (15 chapters)
Part 1: Get Set Up
Part 2: Sharpen Your Skills


This chapter outlined the basics of getting started with developing code for Cortex-M devices in practical terms. We got basic software running on a variety of Cortex-M-based platforms on a variety of environments and IDEs. Each example examined startup code, memory mapping, and I/O mechanisms in progressively more detail while offering tips for effectively debugging code throughout.

The skills learned in this chapter will help you start your next Cortex-M project from a position of fundamental knowledge, eliminating the black magic of initializing hardware. You should now be aware of common setup issues and be able to iterate to a solution more quickly, helping you get to the fun parts of developing that much quicker.

The fun part of coding, to us at least, is creating code that interacts with the real world in exciting ways. Machine learning applications offer incredible opportunities for impacting the world through smaller devices and are moving away from the cutting...