Arm Cortex-M

Arm Cortex-M Introduction

Set up a QEMU emulator and run and debug some startup code.

Arm Cortex-M Exception Example – Usage Fault

Generate a usage fault and demonstate the correct handler being called

Arm Cortex-M Exception Example – Stack Frame

Examine the stack frame after an exception is called

Arm Cortex-M Serial I/O Example

Generate output on the PL1011 serial device

Arm Cortex-M SysTick Example

Enable the SysTick timer

Arm Cortex-M Context Switching Part 1

Initialise an initial task and switching to thread mode using the SysTick exception

Arm Cortex-M Context Switching Part 2

Implement a simple round robin scheduler capable of executing multiple tasks

Arm Cortex-M Context Switching Part 3

Use the PendSV exception to enable deferred context switching

Arm Cortex-M Context Switching Part 4

Implement a simple priory mechanism for tasks

 

 

 

 

 

Advertisements