This chapter describes how to build ROM images, typically for embedded applications. There are also hints on how to avoid the most common errors in writing code for ROM.
This chapter contains the following information:
About writing code for ROM
Memory map considerations
Initializing the system
Example 1: Building a ROM to be loaded at address 0
Example 2: Building a ROM to be entered at its base address
Example 3: Using the embedded C library
Example 4: Simple scatter loading example
Example 5: Complex scatter load example
Scatter loading and long-distance branching
Converting ARM linker ELF output to binary ROM formats
Troubleshooting hints and tips.