| |||
| Home > Boot Monitor Commands > Boot Monitor command set | |||
Table E.1. Standard Boot Monitor command set
| Command | Action |
|---|---|
@ | Runs a script file. |
ALIAS | Create an alias command for
the string of commands contained in . |
CLEAR BOOTSCRIPT | Clear the current boot script. The Boot Monitor prompts for input on reset even if the S6-1 is set to ON to indicate that a boot script must be run. |
CONFIGURE | Enter Configure subsystem. Commands that Table E.2 lists can now be executed. |
CONVERT BINARY | Provides information to the system that is
required by the RUN command to execute a binary file. A new file
with name is
produced, but with an .exe file extension. |
COPY | Copy NoteRemote file access requires semihosting. Use a debugger connection to provide semihosting. |
CREATE | Create a new file by inputting text. Press Ctrl-Z to end the file. |
DEBUG | Enter the debug subsystem. Commands that Table E.3 lists can now be executed. |
DELETE | Delete from
MMC or SD card or CompactFlash card |
DIRECTORY [] | List the files in a MMC or SD card or CompactFlash card directory. Files only accessible from semihosting cannot be listed. |
DISABLE CACHES | Disable both the I and D caches. |
DISPLAY BOOTSCRIPT | Display the current boot script. |
ECHO | Echo to
the current output device. |
ENABLE CACHES | Enable both the I and D caches. |
EXIT | Exit the Boot Monitor. The processor is held in a tight loop until it is interrupted by a JTAG debugger. |
FLASH | Enter the flash file system for the NOR flash on the baseboard. See Table E.4 for flash commands. |
HELP [ | List the Boot Monitor commands. Entering HELP followed
by a command displays help for that command. |
LOAD | Load the image into
memory and run it. |
QUIT | Alias for EXIT. Exit the
Boot Monitor. |
RENAME | Rename file named to . |
RUN | Load the image into
memory and run it. |
SET BOOTSCRIPT | Specify |
TYPE | Display the file . |
Table E.2 lists the commands for the Configure sub-menu.
Table E.2. Boot Monitor Configure commands
| Command | Action |
|---|---|
DISPLAY CLOCKS | Display system clocks. |
DISPLAY DATE | Display date. |
DISPLAY HARDWARE | Display hardware information (for example, the FPGA revisions). |
DISPLAY TIME | Display time. |
EXIT | Exit the configure commands and return to executing standard Boot Monitor commands. |
HELP [ | List the configure commands. Entering HELP followed
by a command displays help for that command. |
QUIT | Alias for EXIT. Exit the
Configure commands and return to standard Boot Monitor commands. |
SET CLOCK n FREQUENCY | Set the NoteThe Boot Monitor does not set any of the clocks on startup. The clock values are determined by the default values in the FPGA image. |
SET DATE | Set date. The date can also be entered as . |
SET TIME | Set time. The time can also be entered as . |
Table E.3 lists the commands for the Debug sub-menu.
Table E.3. Boot Monitor Debug commands
| Command | Action |
|---|---|
DEPOSIT | Load memory specified by with .
The parameter
is optional. If used, it can be BYTE, HALFWORD,
or WORD. The default is WORD. |
DISABLE MESSAGES | Disable debug messages. |
ENABLE MESSAGES | Enable debug messages. |
EXAMINE | Examine memory at . |
EXIT | Exit the debug commands and return to executing standard Boot Monitor commands. |
GO | Run the code starting at . |
HELP [ | List the debug commands. Entering |
QUIT | Alias for EXIT. Exit the
Debug commands and return to standard Boot Monitor commands. |
MODIFY | Performs read-modify-write at memory specified
by . The current
value at the location is ORed with the result of ANDing and .
The parameter is
optional. If used, it can be BYTE, HALFWORD,
or WORD. The default is WORD. |
START TIMER | Start a timer. |
STOP TIMER | Stop the timer started with the START
TIMER command and display the elapsed time. |
Table E.4 lists the commands for the NOR Flash subsystem.
Table E.4. Boot Monitor NOR flash commands
| Command | Action |
|---|---|
DISPLAY IMAGE | Displays details of image . |
ERASE IMAGE | Erase an image or binary file from flash. |
ERASE RANGE | Erase an area of NOR flash from the NoteIt is only possible to erase entire blocks of flash. Therefore
the entire block of flash that contains CautionThis command can erase the Boot Monitor image. See Loading Boot Monitor into NOR flash. |
EXIT | Exit the NOR flash commands and return to executing standard Boot Monitor commands. |
HELP [ | List the flash commands. Entering |
LIST AREAS | List areas in flash. An area is one or more contiguous blocks that have the same size and use the same programming algorithm. |
LIST IMAGES | List images in flash. |
LOAD | Load the image into
memory. |
QUIT | Alias for EXIT. Exit the
NOR flash commands and return to standard Boot Monitor commands. |
RESERVE SPACE | Reserve space in NOR flash. This space is not
used by the Boot Monitor. is
the start of the area and is
the size of the reserved area. |
RUN | Load the image from
flash and run it. |
UNRESERVE SPACE | Free the space starting at in
NOR flash. This space can be used by the Boot Monitor. |
WRITE BINARY | Write a binary file to flash. By default,
the image is identified by its file name. Use Use If an entry point is not specified, the load address is used as the entry point. NoteRemote file access requires semihosting. Use a debugger connection to provide semihosting. |
WRITE IMAGE | Write an ELF image file to flash. By
default, the image is identified by its file name. For example,
t:\images\boot_monitor.axf is identified as boot_monitor. Use Use NoteRemote file access requires semihosting. Use a debugger connection to provide semihosting. |