Learning Embedded System Programming in a Virtual Environment Using Android Emulator.pdf

Learning Embedded System Programming in a Virtual Environment Using Android Emulator.pdf


Today, embedded systems programming is a more valuable discipline than ever, driven by entirely new fields such as wearable technology and the "Internet of Things." Now, for the first time, there's a complete guide to bare-metal embedded system programming using the Android Emulator virtual environment. Embedded systems expert Roger Ye teaches all the skills you need to program directly to hardware: gaining performance and efficiency benefits you can't achieve any other way. Since this hands-on guide utilizes the widely accessible Android Emulator, you can now learn bare-metal programming without access to the hardware itself. Ye guides you through setting up your complete development environment, and then builds your skills through several realistic projects. First, you'll construct a complete bootloader: one of the most common and useful embedded systems programming projects. Ye covers implementing U-Boot from start to finish: loading the first instruction on your target hardware platform, programming in assembly language for the ARM processor, programming in the higher level C language, adding C library support, adding hardware support, and more. As you master the workflow of an embedded systems project, you'll gain essential skills for diverse tasks ranging from error handling to integrating hardware interfaces. Then, you'll deepen your knowledge through additional real-world projects: serial ports, NAND flash devices, real time clocks, interrupt controllers, and more. These projects show how to decouple hardware interface handling tasks from other tasks associated with the software framework or OS support. They also give you deep insights into the internals of the Android emulator: insights that can help you use it far more effectively in embedded development.

Preface 1. Introduction of Embedded System Programming 2. Inside Android Emulator 3. Setting Up the Development Environment 4. Linker Script and Memory Map 5. Using C Language 6. Using the C Library 7. Exception Handling and Timer 8. NAND Flash Support in Goldfish 9. U-Boot 10. Compile and Build Goldfish Kernel 11. Boot Goldfish Kernel Using U-Boot


当当网购书 京东购书 卓越购书