Skip to main content

IAR Embedded Workbench for Arm 10.10.x

SFR Setup window

In this section:

The SFR Setup window is available from the Debug menu.

SFRSetup_win_32-bit_Qt_01.png

This window displays the currently defined SFRs that C-SPY has information about. You can choose to display only factory-defined or custom-defined SFRs, or both. If required, you can use the Edit SFR dialog box to customize the SFR definitions, see Edit SFR dialog box. For factory-defined SFRs (that is, retrieved from the ddf file in use), you can only customize the access type.

To quickly find an SFR, drag a text or hexadecimal number string and drop in this window. If what you drop starts with a 0 (zero), the Address column is searched, otherwise the Name column is searched.

Any custom-defined SFRs are added to a dedicated register group called Custom, which you can choose to display in the Registers window. Your custom-defined SFRs are saved in projectCustomSFR.sfr. This file is automatically loaded in the IDE when you start C-SPY with a project whose name matches the prefix of the filename of the sfr file.

You can only add or modify SFRs when the C-SPY debugger is not running.