You are on page 1of 30

Building Bare Metal Systems - An ARM

Perspective

Nishchay S. Mhatre
College of Engineering Pune

March 26, 2011

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Bare Metal?

What?
Why?

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Software-Hardware Architecture

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Bare Metal - No OS

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Embedded Software Spectrum

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
User Mode

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Privileged Mode

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Memory Management

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
I/O

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Interrupts

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is RISC ?

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is RISC ?

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is so Advanced about ARM ?

Powerful auto-update instructions

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is so Advanced about ARM ?

Powerful auto-update instructions


Full conditional execution

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is so Advanced about ARM ?

Powerful auto-update instructions


Full conditional execution
Fast context switch support

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is so Advanced about ARM ?

Powerful auto-update instructions


Full conditional execution
Fast context switch support
Many more features

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is so Advanced about ARM ?

Powerful auto-update instructions


Full conditional execution
Fast context switch support
Many more features

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is the Architecture like ?

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is the Architecture like ?

Load-Store

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is the Architecture like ?

Load-Store
Many GP Registers

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is the Architecture like ?

Load-Store
Many GP Registers
Link registers and Banked registers

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
The Advanced RISC Machine
What is the Architecture like ?

Load-Store
Many GP Registers
Link registers and Banked registers
Different Modes

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Programmer’s Model

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
ARM – Evolution

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Examples and Demo

Very Simple Systems - “Hello ARM !”

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Examples and Demo

Very Simple Systems - “Hello ARM !”


Exception Handling

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Examples and Demo

Very Simple Systems - “Hello ARM !”


Exception Handling
Memory Management

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Examples and Demo

Very Simple Systems - “Hello ARM !”


Exception Handling
Memory Management
Multi-Tasking

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Examples and Demo

Very Simple Systems - “Hello ARM !”


Exception Handling
Memory Management
Multi-Tasking
Software Interrupts

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective
Examples and Demo

Very Simple Systems - “Hello ARM !”


Exception Handling
Memory Management
Multi-Tasking
Software Interrupts
Basic OS

Nishchay S. Mhatre College of Engineering Pune Building Bare Metal Systems - An ARM Perspective

You might also like