November 2019
Intermediate to advanced
506 pages
12h 1m
English
This chapter introduces bare metal programming on the Raspberry Pi. A simple example is given, showing how interrupts can be configured and used to wake the processor from sleep mode.
Exception processing; AArch64; Exception states; The boot process; Bare metal program; Interrupt; ARM processor
The previous chapters assumed that the software would be running in user mode under an operating system. Sometimes, it is necessary to write assembly code to run on “bare metal,” which simply means: without an operating system. For example, when we write an operating system kernel, it must run on bare metal and a significant part of the code (especially during the boot process) must be written ...
Read now
Unlock full access