4.6. Creating a new BCD file

To create a new BCD file, it is suggested that you create a blank BCD file to use as a template. However, you might want to view the settings in the BCD files provided with RealView Debugger, to see how the various settings are used.

To create a new BCD file using the aatemplate.bcd:

  1. Create a template BCD file as described in Creating a BCD file to use as a template.

  2. Select Connection Properties... from the Target menu to display the Connection Properties window.

  3. Expand the (*.bcd) Board/Chip Definitions group in the left pane. A list of existing BCD files is displayed.

  4. Right-click on the ...\aatemplate.bcd entry.

  5. Select Save As... from the context menu to display the Enter New Name dialog box. Figure 4.11 shows an example. The location displayed in this dialog box is the directory you last selected in the dialog box.

    Figure 4.11. Saving an existing BCD file with a new name

    Saving an existing BCD file with a new name

    By default, RealView Debugger searches for *.bcd files in the current working directory, then in your home directory, and then in your default settings directory:

    C:\Documents and Settings\userID\Local Settings\Application Data\ARM\rvdebug\version\shadowbase\etc

    In this example, save the new file in your RealView Debugger home directory.

  6. Enter the new filename. You must use the .bcd file extension when saving the file in your home directory.

    For this example, enter AM.bcd.

  7. Click Save.

    The New Name dialog box closes and the new name is displayed in the *.bcd list. Although the new BCD entry replaces the BCD entry you used to make the copy, the original file still exists. To restore the complete list of BCD file:

    1. Select Save Changes from the File menu, to save the changes.

    2. Select Refresh from the File menu. This restores the list of all current BCD files, including the new file you have created.

    3. Expand the group (*.bcd) Board/Chip Definitions to display the current list of BCD files. The list includes the new BCD file, that is AM.bcd.

  8. Select Save and Close from the File menu to save your changes and close the Connection Properties window.

Note

The general layout and controls of the RealView Debugger settings windows are described in the online help topic Changing Settings.

See also:

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0182K
Non-Confidential