3.3.1. Switch S6

Switch S6 is equivalent to the Boot Monitor configuration switch on the EB hardware. Default settings are listed in Table 3.3.

If you have the standard ARM Boot Monitor flash image loaded, the setting of switch S6-1 changes what happens on model reset. Otherwise, the function of switch S6 is implementation dependent.

To write the switch position directly to the S6 parameter in the model, you must convert the switch settings to an integer value from the equivalent binary, where 1 is on and 0 is off.

Table 3.3. Default positions for EB System Model switch S6

SwitchDefault PositionFunction in default position
S6-1OFFDisplays prompt allowing Boot Monitor command entry after system start.
S6-2OFFSee Table 3.4.
S6-3OFFSee Table 3.4.
S6-4 to S6-8OFFReserved for application use.

If S6-1 is in the ON position, the Boot Monitor executes the boot script that was loaded into flash. If there is no script, the Boot Monitor prompt is displayed.

The settings of S6-2 and S6-3 affect STDIO source and destination on model reset as defined in Table 3.4.

Table 3.4. STDIO redirection

OFFOFFUART0UART0STDIO autodetects whether to use semihosting I/O or a UART. If a debugger is connected, STDIO is redirected to the debugger output window, otherwise STDIO goes to UART0.
OFFONUART0UART0STDIO is redirected to UART0, regardless of semihosting settings.
ONOFFCLCDKeyboardSTDIO is redirected to the CLCD and keyboard, regardless of semihosting settings.
ONONCLCDUART0STDIO output is redirected to the LCD and input is redirected to the keyboard, regardless of semihosting settings.

For more information on Boot Monitor configuration and commands, see the Emulation Baseboard User Guide (Lead Free).

Copyright © 2008-2010, 2012 ARM. All rights reserved.ARM DUI 0424G