2.10.1. Boot Monitor configuration switches

The Boot Monitor application is typically loaded into the NOR flash memory and selected to run at power on. Follow the instructions in Loading Boot Monitor into NOR flash.

The setting of S6-1 determines how the Boot Monitor starts after a reset:

S6-1 OFF

A prompt is displayed enabling you to enter Boot Monitor commands.

S6-1 ON

The Boot Monitor executes a boot script that has been loaded into flash. If a boot script is not present, the Boot Monitor prompt is displayed.

The boot script can execute any Boot Monitor commands. It typically selects and runs an application image that has been stored in NOR flash memory. You can store one or more code images in flash memory and use the boot script to start an image at reset. Use the SET BOOTSCRIPT command to set the boot script file name from the Boot Monitor (see Table 2.7).

Output and input of text from STDIO for both applications and Boot Monitor I/O depends on the setting of S6-2 and S6-3 as listed in Table 2.6.

Table 2.6. STDIO redirection

OFFOFFUART0 or consoleUART0 or consoleSTDIO autodetects whether to use semihosting I/O or a UART. If a debugger is connected and semihosting is enabled, STDIO is redirected to the debugger console window. Otherwise, STDIO goes to UART0.
OFFONUART0UART0STDIO is redirected to UART0. This occurs even under semihosting.
ONOFFLCDKeyboardSTDIO is redirected to the LCD and keyboard. This occurs even under semihosting.
ONONLCDUART0STDIO output is redirected to the LCD and input is redirected to the keyboard. This occurs even under semihosting.

S6-2 and S6-3 do not affect file I/O operations performed under semihosting. Semihosting operation requires a debugger and a JTAG interface device. See Redirecting character output to hardware devices for more details on I/O.


Switch S6-2 and S6-4 to S6-8 are not used by the Boot Monitor and are available for user applications.

If a different loader program is present at the boot location, the function of switch S6 is implementation dependent.

Copyright © 2005-2011 ARM Limited. All rights reserved.ARM DUI 0411D