ARM ARM DUI 0224I manual Boot Monitor configuration

Models: ARM DUI 0224I

1 402
Download 402 pages 14.06 Kb
Page 43
Image 43

Getting Started

2.2.3Boot Monitor configuration

Switches S6-1 and S6-3 control the Boot Monitor.

The setting of S6-1 determines whether 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.

The boot script can execute any Boot Monitor commands. It typically selects and runs an image in application flash. 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 enter a boot script from the Boot Monitor (see Table 2-4 on page 2-15).

Output of text from STDIO for both applications and Boot Monitor I/O depends on the setting of S6-3:

S6-3 ON STDIO is redirected to UART0. This occurs even under semihosting.

S6-3 OFF 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 the UART.

S6-3 does 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 on page 2-21 for more details on I/O.

Note

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

ARM DUI 0224I

Copyright © 2003-2010 ARM Limited. All rights reserved.

2-7

Page 43
Image 43
ARM ARM DUI 0224I manual Boot Monitor configuration