3.1.2. Default configuration files

As introduced in Chapter 1 Introduction, the debug target configuration settings are maintained through the use of a hierarchy of configuration files:

Note

Some default configuration files are supplied as part of the RealView Debugger installation, see Configuration files for details.

Board file

RealView Debugger uses a board file to access information about the debugging environment and the debug targets that are available. You can use RealView Debugger with the default board file that is installed for you. This is called rvdebug.brd and is copied into your home directory, from the default settings directory \etc, when you first use RealView Debugger after installation. This means that if you damage your personal board file, you only have to delete it from your home directory and a new copy of the original default board file is placed there when you next run the debugger.

The board file defines the debug target configuration settings for the current session. For each available target, it describes the type of target, the simulator or emulator being used, and any custom connection information.

RealView Debugger must have a board file to make connections. If you work with a variety of targets and connections, you might set up, and save, several board files so that you can easily switch the debugger from one to another. You can use the default board file as a basis for making many copies, each edited for a particular purpose.

You can use a text editor to display or print the contents of a board file, and all associated configuration files, but it is recommended that you never edit these files with a text editor or word processor. Use only the Connection Properties window to make changes to a board file, or to create a new one.

RV-msg configuration files

These files are used to define the configuration settings for RV-msg connections, such as RealView ICE. You change the contents of one of these files when you modify the configuration of an RV-msg connection using the RVConfig dialog box.

Each interface unit is defined using a .rvc file, for example rvi_940T-_tst.rvc. However, you can specify different .rvc files to configure custom targets.

When you install RealView ICE, these XML files are created in your RVI\RVConfig directory ready for use. RealView Debugger searches for these files using the default search path, see The RealView Debugger search path for details. However, you can specify a full pathname in your board file to use a different location, for example \RVI\test_targets\rvi_920T-_tst.rvc.

Note

Do not edit these files manually. See the chapter that describes configuring a RealView ICE connection in RealView ICE User Guide for full details on how to use the RVConfig dialog box.

JTAG configuration files

JTAG (Joint Test Action Group) files are used by RealView Debugger to specify the type and order of devices on a JTAG scan chain that are available for connections such as the ARM® Multi-ICE® direct connect.

Note

When installing RealView Debugger, support for the CEVA Inc. and LSI Logic DSPs is automatically installed.

If you want support for the Motorola M56621 DSP (Neptune), you must choose the Custom option. Do this to ensure that the required JTAG files are available to enable connection using Multi-ICE direct connect and RealView ICE.

You must also have a DSP license (see RealView Debugger v1.8 Extensions User Guide for more details).

JTAG files for supported targets, for example arm.jtg, are created in the default settings directory \etc at installation.

Whenever RealView Debugger reads a .brd file, it also searches for any of these related files and reads them. In this way, the information held in the JTAG files becomes part of the configuration settings for this session. You can add or remove JTAG files if necessary, without having to edit the .brd file. By default, new .jtg files are stored in \etc, but you can specify a different location in your .brd file.

RDI configuration files

When you are working with RDI targets, such as Multi-ICE and Remote_A, special configuration files are generated by the RDI configuration utilities. These files make up the RealView Debugger configuration settings specific to RDI targets.

The RDI configuration files consist of:

.rbe

These files hold the default RealView Debugger connection properties for an RDI connection. Example 3.1 shows part of a .rbe file.

Example 3.1. .rbe example file contents


Description="ARM JTAG debug interface (parallel port)"
connect_with.manufacturer=ARM-A-RR
configuration="multiice.cnf"
Advanced_Information.default={\
    Memory_block.default={}:Map_rule.default={}:Register_enum.default={}:\
        Register.default={\ ...

There is one .rbe file for each RDI target available for connection.

.cnf

These files define the processor to which you are connecting. Example 3.2 shows part of a .cnf file.

Example 3.2. .cnf example file contents


{ TARGET_PROCESSORS
{ ARM720T_0
MULTI-ICE_CLEANDATAADDR=3758096384
MULTI-ICE_XSCACHEVECTORS[HI][RESRV ...

Note

You must not edit these files manually. Instead, use the RDI configuration utilities provided as part of the RealView Debugger base product, as described in Chapter 5 Configuring Custom Connections.

Board/Chip definition files

Board/Chip definition files contain ETV information about a particular board or chip as supplied by the manufacturer, including peripheral registers and memory regions. Board/Chip definition files are also supplied as part of support plugins to enable awareness in RealView Debugger, for example RTOS.

Each board or chip is defined using a file named filename.bcd, where filename identifies the scope of the file contents, and can be:

  • a processor name, for example CM920T_ETM.bcd

  • a board name, for example, AP.bcd

  • a peripheral name or other meaningful name, for example, realmonitor.bcd.

By default, .bcd files are stored in \etc, but you can specify a different location in your board file.

In general, you do not have to edit these files. However, where changes are required, use the Connection Properties window to make the necessary changes.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0182G
Non-Confidential