ARM Cortex-M Architecture (v7/v8) Training | Ac6 Training

ac6-training, un département d'Ac6 SAS
EN
EnglishFrench
 
go-up

ac6 ac6-training Processors ARM Cores ARM Cortex-M Architecture (v7/v8)
AAMARM Cortex-M Architecture (v7/v8)
This course explains the ARM Cortex-M global architecture.
Objectives
  • Describing the ARM Cortex-M processors architecture (ARMv6, ARMv7 and ARMv8)
  • Presenting the Hardware and Software implementation possibilities to learn how to create Cortex-M based applications
  • Review the differences between the different Cortex-M cores
  • Get an overview of the new features included in ARMv8 architecture (TrustZone, MPU, New Memory Types, ...)
  • Learn how to:
    • Develop and debug an ARM Cortex-M application
    • Configure and Manage Exceptions/Interrupts
    • How to configure a privileged and unprivileged access with the MPU
  • This course provides all the prerequisites for the courses describing in details the various Cortex-M cores and CPUs.
  • Theoretical course
    • PDF course material (in English)
  • For online courses :
    • Course dispensed using the Teams video-conferencing system
    • The trainer to answer trainees’ questions during the training and provide technical and pedagogical assistance through the Teams video-conferencing system
    • One Online Linux PC per trainee for the practical activities
    • The trainer has access to trainees’ Online PCs for technical and pedagogical assistance.
  • Familiarity with embedded C concepts and programming
  • Basic knowledge of embedded processors
  • Any embedded systems engineer or technician with the above prerequisites.
  • The prerequisites indicated above are assessed before the training by the technical supervision of the traineein his company, or by the trainee himself in the exceptional case of an individual trainee.
  • Trainee progress is assessed in two different ways, depending on the course:
    • For courses lending themselves to practical exercises, the results of the exercises are checked by the trainer while, if necessary, helping trainees to carry them out by providing additional details.
    • Quizzes are offered at the end of sections that do not include practical exercises to verifythat the trainees have assimilated the points presented
  • At the end of the training, each trainee receives a certificate attesting that they have successfully completed the course.
    • In the event of a problem, discovered during the course, due to a lack of prerequisites by the trainee a different or additional training is offered to them, generally to reinforce their prerequisites,in agreement with their company manager if applicable.

Course Outline

  • Introduction to the ARM Architecture
  • Cortex-M Processors
  • Programmers’ Model
    • Core Registers
    • Privileges, Modes and Stacks
    • Instruction Set
    • Datapath and pipeline, speculative branch target prefetch
  • Exception Model
  • Memory Model
    • Address Map
    • Memory Types
    • Instruction and data alignment
    • System Control Space
  • Power Management
Exercise:  Core register review and changing Mode and Stack
Exercise:  Using low power mode
  • ARM Cortex-M0 processor
  • ARM Cortex-M0+ processor
  • ARM Cortex-M3 processor
  • ARM Cortex-M4 processor
  • ARM Cortex-M7 processor
  • ARM Cortex-M33 processor
  • ARM Cortex-M23 processor
  • ARM Cortex-M processor family comparison
  • Tools
    • Keil IDE and Ulink2 probe presentation
    • System Workbench for MCU
  • Standards
    • AAPCS
    • UAL
    • CMSIS
  • Code Generation
    • Variable types supported
    • Register Usage, Parameter passing
    • Aligned and Unaligned accesses
    • Endianness
  • Image Generation
    • Dealing with branches
  • Fault Tolerance
    • Stack issues
  • Determinism
  • RTOS Support
    • MPU Overview
    • Systick Timer Overview
Exercise:  AAPCS review, CMSIS utilization and Assembly language inlining
  • Compiler optimizations
    • Optimization levels
    • Tail-call
    • Inlining of function
    • Loop transformation
    • Mutlifile compilation
    • Floating point
  • Bit Banding
  • Memory copy optimizations
  • Base pointer optimization
Exercise:  Bit banding implementation
  • ARMv6-M and ARMv7-M Debug Overview
    • Coresight presentation
  • Invasive Debug
    • Beakpoints and Watchpoints
    • Vector Catch
    • Semi-hosting
  • Non-invasive Debug
    • Data Watchpoint and trace unit
    • Instrumentation Trace Macrocell (ITM)
    • Embedded Trace Macrocell (ETM)
    • Micro Trace Buffer (MTB)
Exercise:  Debug features review through the Keil IDE
  • Reset Behavior
    • Vector Table
  • CMSIS-CORE Startup and System Initialization
    • Startup File
    • Exception Handlers
    • Stack and heap setup
  • Post Startup Initialization
  • Working with the linker
    • Creating code and data sections
    • Placing code and data in memory
Exercise:  Startup sequence to the main() review
Exercise:  Executing the code from a SRAM
  • Exception Handling
  • Exception entry and exit
  • Exception stacking
  • Nesting
  • Tail-chaining
  • Late-arriving
Exercise:  Exception entry review
  • Prioritization and Control
  • NVIC registers
  • Priority boosting
  • Priority grouping
  • Masking exceptions
  • Writing Interrupt Handlers
  • Interrupt Sensitivity
  • Internal Exceptions and Faults
  • Fault escalation
Exercise:  Managing interrupts and priorities
  • MPU regions
  • Privileged vs Unprivileged
  • Memory Types
  • Access permissions
  • Region overlapping
  • Access Fault
Exercise:  MPU Utilization
  • Security States
  • Register Banking
  • Secure State Address Protection
  • Secure and Non-Secure Interactions
  • SysTick Configuration and Calibration
Exercise:  Working with the Systick Timer
  • Synchronization
    • Critical section, atomicity
    • LDREX/STREX instructions
    • Lock and unlock examples
  • Memory Barriers
    • Data memory, Data Synchronization and Instruction Synchronization Barriers
    • Utilization examples
  • Further Instruction Set Information
    • Return on the Instruction Set
    • If-Then Block
    • DSP extension Overview
Exercise:  Using DSP instructions
More

To book a training session or for more information, please contact us on info@ac6-training.com.

Registrations are accepted till one week before the start date for scheduled classes. For late registrations, please consult us.

You can also fill and send us the registration form

This course can be provided either remotely, in our Paris training center or worldwide on your premises.

Scheduled classes are confirmed as soon as there is two confirmed bookings. Bookings are accepted until 1 week before the course start.

Last update of course schedule: 23 February 2026

Booking one of our trainings is subject to our General Terms of Sales