Skip to main content

IAR Embedded Workbench for Arm 9.70.x

Modifying a device description file

In this section:

C-SPY uses device description files provided with the product to handle several of the target-specific adaptations, see Selecting a device description file. Device description files contain device-specific information such as:

  • Definitions of registers in peripheral units and groups of these.

  • Interrupt definitions (for Cortex-M devices only), see Interrupts.

Normally, you do not need to modify the device description file. However, if the predefinitions are not sufficient for some reason, you can edit the file. Note, however, that the format of these descriptions might be updated in future upgrades of the product.

Make a copy of the device description file that best suits your needs, and modify it according to the description in the file. Reload the project to make the changes take effect.

Tip

If you are using an I-jet debug probe, and the modified device description file contains modified memory ranges, make sure to select the option Use Factory in the Memory Configuration dialog box.

The syntax of the device description files is described in the IAR Embedded Workbench for Arm device description file format guide (EWARM_DDFFormat.pdf) located in the arm\doc directory.

For information about how to load a device description file, see Selecting a device description file.