| |||
| Home > Boot Monitor and platform library > Using the baseboard Boot Monitor and platform library > 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 for details of loading the boot flash with the image from the Versatile CD.
The setting of S6-1 determines how the Boot Monitor starts after a reset:
A prompt is displayed enabling you to enter Boot Monitor commands.
The Boot Monitor executes a boot script that has been loaded into a Multimedia (MMC) or Secure Digital (SD) card. 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 either NOR flash memory or on the MMC or SD card. 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.
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 F.1.
Table F.1. STDIO redirection
| S6-2 | S6-3 | Output | Input | Description |
|---|---|---|---|---|
| OFF | OFF | UART0 or console | UART0 or console | STDIO 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. |
| OFF | ON | UART0 | UART0 | STDIO is redirected to UART0. This occurs even under semihosting. |
| ON | OFF | VGA/DVI | Keyboard | STDIO is redirected to the VGA/DVI and keyboard. This occurs even under semihosting. |
| ON | ON | VGA/DVI | UART0 | STDIO output is redirected to the VGA/DVI and input is redirected to the UART. 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.
Switches 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 the entire S6 switch bank is implementation dependent.