The SCVD (Software Component View Description) files are formatted in XML and based on the schema file Component_Viewer.xsd.
The SCVD file format is described in the following sections:
- XML elements : specifies the structure and top level elements of an SCVD file.
- Symbol Access : explains how to refer to application symbols when reading program variables.
- Data types : lists available scalar data types used in XML elements and explains how complex data types are defined.
- Expressions : describes supported expressions for making calculations in an SCVD file.
- Built-in functions : lists built-in functions that can be used for calculating stack memory usage, accessing CPU registers or application program symbols.
- Value output : shows how to format output data for display in the Component Viewer or Event Recorder.
SCVD file validation
The schema file Component_Viewer.xsd. specifies the XML format. Use this schema file together with XML tools for validating an *.scvd file.
Using SCVD files in a debugger
The following steps explain how to use an *.SCVD file in the µVision Debugger. Other tools might require different steps:
SCVD files in software packs
Software components which are part of Software Packs may add related *.SCVD files directly in the Package Description file (*.pdsc) using the <file> element category other. In the *.pdsc file example below Network.scvd is added to the debugger when the component :Network:Core is selected. For details, refer to CMSIS-Pack - Pack Description (*.PDSC) Format.
<component CClass="Network" Cgroup="Core">
<files>
<file category="library" name="Network/Lib/ARM/Network.lib"/>
<file category="other" name="Network/Network.scvd"/>
</files>
</component>