6.3.1. Switch S6

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

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 6.6. Default positions for VE System Model switch

SwitchDefault PositionFunction in default position
S6-1OFFDisplays prompt permitting Boot Monitor command entry after system start.
S6-2OFFSee Table 6.7.
S6-3OFFSee Table 6.7.
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 6.7.

Table 6.7. STDIO redirection

S6-2S6-3OutputInputDescription
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.

Copyright © 2008-2013 ARM. All rights reserved.ARM DUI 0423O
Non-ConfidentialID060613