Exporting peripheral register values

When in a debug session, you can export values from peripheral registers to an XML-formatted file.

To export peripheral register values:

  1. In the EmbSys Register view, expand the required group of registers and double-click registers to start reading their values.

    The registers selected for reading are marked with the “blue arrow” sign.

  2. Click the (Export selection to file) toolbar button on top of the EmbSys Registers view.
  3. In the Export registers dialog box, specify the full path of the file (TXT, XML, or other) for data export. If the file does not exist, it will be created during export.



  4. Under Registers, choose to export all registers or only selected registers. A register or a group of registers is selected when clicked and highlighted in the EmbSys Registers view.
  5. Click OK.
The data is exported to the specified file in the XML format:



If a register is read-only or not marked for reading, the register value is not exported to the file. Instead, the “value” XML element shows the “?” character for each byte.