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 supplied CD. How the Boot Monitor runs is determined by the setting of User Switches.
It is not necessary to open the enclosure to configure the Boot Monitor. The User Switches 1 to 3 on the front panel of the ATX enclosure (see Figure 3.2) control this. The User Switches in switch bank S4 on the PB11MPCore baseboard (see Figure 3.1) duplicate the front panel User Switches and must be left in the default all switches OFF position for normal operation.
User Switches 4 to 8 (S4-4 to S4-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 User Switch bank becomes implementation dependent.
User Switch 1 (S4-1) determines the Boot Monitor behavior after a reset. The available options are shown in Table 2.1.
|User Switch 1||Startup Behavior|
|OFF||A prompt is displayed enabling you to enter Boot Monitor commands.|
|ON||The Boot Monitor executes a boot script that has been loaded into NOR flash, 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 a 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 (see Table F.1).
Output and input of text from STDIO for both applications and Boot Monitor I/O depends on the setting of User Switch 2 (S4-2) and User Switch 3 (S4-3) as listed in Table 2.2.
|User Switch 2||User Switch 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||DVI||Keyboard||STDIO is redirected to the DVI display and keyboard. This occurs even under semihosting.|
|ON||ON||DVI||UART0||STDIO output is redirected to the DVI display and input is redirected to UART0. This occurs even under semihosting.|
User Switches 2 and 3 (S4-2 and S4-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.