AAMARM Cortex-M Architecture (v7/v8)
This course explains the ARM Cortex-M global architecture.
|
Objectives
|
- 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
Related Courses
AAA
ARM Cortex-A and R Architecture (v7/v8)
RA0
Cortex-A5 implementation
RA1
Cortex-A8 implementation
RA2
Cortex-A9 implementation
RA3
Cortex-A15 implementation
RA4
Cortex-A7 implementation
RA5
Cortex-A17 implementation
RA6
CORTEX-A57 implementation, ARM Architecture V8
RA7
CORTEX-A53 implementation, ARM Architecture V8
RA8
CORTEX-A72 implementation, ARM Architecture V8
RA9
CORTEX-A73 implementation, ARM Architecture V8
RC1
NEON-v7 programming
RC2
NEON-v8 programming
RI0
AXI3 / AXI4 INTERCONNECT
RM0
Cortex-M0 / Cortex-M0+ implementation
RM1
Cortex-M1 implementation
RM2
Cortex-M3 implementation
RM3
Cortex-M4 / Cortex-M4F implementation
RM4
Cortex-M7 implementation
RM5
Cortex-M33 Implementation
RR0
Cortex-R4 implementation
RR1
Cortex-R5 implementation
RR2
Cortex-R7 implementation
RR3
ARM Cortex-R52/R52+ Implementation and software design