| |||
| Home > Introduction > Locating the configuration files > Saving and restoring connection properties | |||
When you are configuring RealView Debugger, you are recommended to keep backups of known-good configuration information before changing settings. If you want to restore the default configuration files, then you can do one of the following:
Start
RealView Debugger with the --cleanstart option.
Delete your RealView Debugger home directory. The next time you start RealView Debugger it recreates the home directory and populates it with the default set of configuration files.
It is recommended that you make backups before using the worked examples in the rest of this book.
If you edit a board file, or a Board/Chip Definition file,
RealView Debugger automatically renames the original file by adding
a .bak file extension. Any previous backup copy
of the file is deleted.
If you want to restore a backup file:
Exit the Connection Properties window without saving changes.
Delete the current file or files.
Rename the backup file to the original filename
by deleting .bak from the name.
For safer backups, you are recommended to make copies of the files in another location. The simplest policy is to save the whole directory when you make a backup, and then restore individual files when you want to revert changes.
If you restore the whole directory, then in addition to restoring the Connection Properties configuration information, you restore preferences that you might not want to change, for example workspace properties and window layout.
Creating a directory backup requires you to locate and copy the home directory to a safe place. You do not have to exit the debugger to do this.
Restoring previously backed up files requires you to:
Locate the backup that you want to restore from and the debugger home directory that RealView Debugger is using for your session.
Determine the files to restore.
Deciding which files to restore depends on the type of configuration change you have performed. These hints might help:
If you have changed everything, or you are not sure what to restore, select all the files listed in What the configuration files contain to restore the Connection Properties window to its original state.
If you have configured or reconfigured a chip or
board using BOARD, CHIP or COMPONENT groups,
select appropriate files from the *.bcd set.
If you have created new *.bcd files in
your debugger home directory, you might also want to delete them
from that directory. However, a *.bcd file
is not used unless it is explicitly referenced from a Debug Configuration.
If you have changed target-specific settings by
changing items in the related Debug Interface configuration dialog
box, select the configuration files for the related target connections
you have reconfigured. For example, if you have changed settings
for connections through DSTREAM or RealView ICE using the RVConfig utility,
then select the *.rvc files.
Copy the backup files to the debugger home directory.
the following in the RealView Debugger User Guide:
DSTREAM and RealView ICE Using the Debug Hardware Configuration Utilities.