7. Exception Handling and Timer

We now have a standard programming environment with a C runtime library. This is a good start on our way to build a complete system. Now let’s explore bare metal programming in more detail and move toward embedded system programming. Before we try to build a system, including the bootloader, Linux kernel, and file system, however, we should examine the goldfish hardware more closely. We will explore exception handling in this chapter and NAND flash memory in next chapter. This information will help us build a solid foundation before we tackle the task of U-Boot porting.

The goldfish platform provides a unique way to handle interrupts and exceptions. This chapter first provides an overview of the goldfish interrupt ...

Get Embedded Programming with Android: Bringing Up an Android System from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.