Getting Started
ARM DUI 0224F Copyright © 2003-2007 ARM Limited. All rights reserved. 2-27
3. The command used to program the image depends on the type of image:
• To program the ELF image into flash, use the following command line:
flash> WRITE IMAGE elf_file_name NAME name FLASH_ADDRESS address
The entry point and load address for ELF images are taken from the image
itself.
• To program a binary image into flash, use the following command line:
flash> WRITE BINARY image_file_name NAME name FLASH_ADDRESS address1
LOAD_ADDRESS address2 ENTRY_POINT address3
flash>
Note
name
is a short name for the image. If the
NAME
option is not used at the command
prompt,
name
will be derived from the file name.
4. The image is now in flash and can be run by the Boot Monitor. At the prompt,
type:
flash> RUN name
2.6.10 Running an image from Disk-on-Chip
To run an image from the NAND flash Disk-on-Chip:
1. Build and link the application as described in Loading and running an application
from NOR flash on page 2-26.