1.5.4. 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:

Note

It is recommended that you make backups before using the worked examples in the rest of this book.

Using the automatic backup files

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:

  1. Exit the Connection Properties window without saving changes.

  2. Delete the current file or files.

  3. Rename the backup file to the original filename by deleting .bak from the name.

Performing manual file or directory backups

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.

Note

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:

  1. Locate the backup that you want to restore from and the debugger home directory that RealView Debugger is using for your session.

  2. 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.

  3. Copy the backup files to the debugger home directory.

See also

Copyright © 2002-2010 ARM Limited. All rights reserved.ARM DUI 0182M
Non-ConfidentialID102410