Adding System Viewer Windows
Silicon vendors maintain and publish device-specific CMSIS-SVD files on the CMSIS-SVD web interface. Developers can download and process the file and add the resulting peripheral register file (*.sfr) to the Device Database. This enables the System Viewer to display peripheral register information when debugging an application.
MDK-ARM provides many CMSIS-compliant peripheral register files that are ready for use in the folder ..\ARM\SFD\vendor\device_series.
In case the needed file cannot be found in the folder above, create files suitable for programming and displaying debug information as described below:
- Download the XML file from the CMSIS-SVD web page.
- Generate the header and peripheral register file with the System View Description Converter.
- Add the peripheral register file (*.sfr) to the device definition in the µVision Device Database using the parameter SVD. Refer to C. Device Database Parameters.
Note
- As an alternative, the generated file can be added to a single project. Instead of step #3, do the following:
- Open the dialog Options for Target - Target.
- Add the generated file (*.sfr) into the field System-Viewer File (.Sfr).