| |||
| Home > Configuring Custom Memory Maps, Registers and Peripherals > 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:
Create a template BCD file as described in Creating a BCD file to use as a template.
Select Connection Properties... from the Target menu to display the Connection Properties window.
Expand the (*.bcd) Board/Chip Definitions group
in the left pane. A list of existing BCD files is displayed.
Right-click on the ...\aatemplate.bcd entry.
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.
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 identified by the RVDEBUG_SHADOW_DIR_ETC environment
variable.
In this example, save the new file in your RealView Debugger home directory.
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.
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:
Select Save Changes from the File menu, to save the changes.
Select Refresh from the File menu. This restores the list of all current BCD files, including the new file you have created.
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.
Select Save and Close from the File menu to save your changes and close the Connection Properties window.
The general layout and controls of the RealView Debugger settings windows are described in the online help topic Changing Settings.
See also:
the following in the RealView Debugger User Guide: