How to use emIDE


Debugging with emIDE and J-Link - The Peripheral Registers window

With the Peripheral Registers window you can view the device specific memory mapped registers of your target device.
Since V2.05 emIDE can parse CMSIS-SVD files and view the registers defined in it.

CMSIS-SVD files can be downloaded from the ARM CMSIS website at 'CMSIS-SVD'. (Login required.)
emIDE will also include some SVD files in future versions.

If you have a CMSIS-SVD file (*.svd / *.xml) for your device, you can select it in the debugger settings
(Project -> Properties... -> Debugger -> Register file).
When you have set this file, the Peripheral Registers window will show you all device specific registers, and their values.
The registers are grouped by the corresponding peripherals, which can be expanded to show the registers. If a register has defined its flags, it can be expanded, to show those flags.

The recently changed registers and flags are highlighted:

  • Level 1: Value has just changed.
  • Level 2: Value changed the previous time it was updated.
  • Level 3: Value changed the second-previous time.

Legend to the screenshot

  1. Group name. In most SVD files this is the peripheral name.
    Click in the '+' / '-' to expand / collapse the group.
    Right-click on the name to force an update of this register group.
  2. Register name. One of the registers in a group.
    Move the mouse over the name to see the description and address.
    Click in the '+' / '-' to expand / collapse the register.
    Right-click on the name to force an update of this register.
  3. Register value. The Current value of the register.
    The background indicates the change status, as described above.
  4. Flag name. Describes a field of the register. e.g. bit 0-3.
    Move the mouse over the name to see the bit mask and access rights.
  5. Flag value. The Current value of the flag.
    The background indicates the change status, as described above.