| |||
Home > Writing Code for ROM > About writing code for ROM |
This chapter describes how to write code for ROM, and shows different methods for simple and complex images. Sample initialization code is given, as well as information on initializing data, stack pointers, interrupts, and so on.
This chapter contains examples of using scatter loading to build complex images. For detailed reference information on scatter loading, refer to Chapter 6 Linker in the ARM Software Development Toolkit Reference Guide.
Two examples are given to illustrate the use of scatter loading:
a scatter loading application that runs under the
ARMulator, and also uses sprintf()
from the
Embedded C library. The example displays the linker-generated scatter
symbols on the screen.
a more complex scatter loading application that runs from Flash memory on an ARM Development Board (PID7T).