988 lines
77 KiB
HTML
988 lines
77 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<title>System Description File (*.SDF) Format</title>
|
|
<title>CMSIS-Pack: System Description File (*.SDF) Format</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="cmsis.css" rel="stylesheet" type="text/css" />
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="printComponentTabs.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { searchBox.OnSelectItem(0); });
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 46px;">
|
|
<td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">CMSIS-Pack
|
|
 <span id="projectnumber">Version 1.5.0</span>
|
|
</div>
|
|
<div id="projectbrief">Delivery Mechanism for Software Packs</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<div id="CMSISnav" class="tabs1">
|
|
<ul class="tablist">
|
|
<script type="text/javascript">
|
|
<!--
|
|
writeComponentTabs.call(this);
|
|
//-->
|
|
</script>
|
|
</ul>
|
|
</div>
|
|
<!-- Generated by Doxygen 1.8.6 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="pages.html"><span>Usage and Description</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('sdf_pg.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Pages</a></div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">System Description File (*.SDF) Format </div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><p>An SDF file enables the silicon provider to describe more complex debug topologies than with a <a class="el" href="debug_description.html">Debug Description</a> in a tool agnostic way. Multiple debug and access ports and the setup of the different debug/trace components can be described consistently. Also, mandatory settings for a debugger can be described, such as trace signal delay settings, availability/usability of certain reset methods or timings, etc. This information is used by the debugger to access the right components that are requested by the user or application. The SDF format provides the XML elements for defining the debug system view of a device. These are "expert" settings that cannot be specified in a PDSC file.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>SDF files are referenced in a PDSC file via the <code><debugconfig></code> element.</dd></dl>
|
|
<p><b>Example CMSIS System Description File (*.SDF)</b> </p>
|
|
<div class="fragment"><div class="line"><?xml version=<span class="stringliteral">"1.0"</span> encoding=<span class="stringliteral">"utf-8"</span> standalone=<span class="stringliteral">"no"</span>?></div>
|
|
<div class="line"><system_description version=<span class="stringliteral">"2.0"</span>></div>
|
|
<div class="line"> <debug_and_trace_config></div>
|
|
<div class="line"> <!-- Not filled at the moment --></div>
|
|
<div class="line"> <!-- Means <span class="keyword">using</span> defaults in <span class="keyword">this</span> area --></div>
|
|
<div class="line"> </debug_and_trace_config></div>
|
|
<div class="line"> <platform></div>
|
|
<div class="line"> <!-- Description of the scanchain --></div>
|
|
<div class="line"> <scanchain></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- ARM Cortex-M0APP --></div>
|
|
<div class="line"> <dap name=<span class="stringliteral">"ARMCS-DP_CM0APP"</span> type=<span class="stringliteral">"ARMCS-DP"</span> irLength=<span class="stringliteral">"4"</span> protocol=<span class="stringliteral">"JTAG"</span>></div>
|
|
<div class="line"> <!-- CoreSight DAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x0BA01477</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Access Ports --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_AHB-AP"</span> type=<span class="stringliteral">"CSMEMAP"</span>> <!-- Cortex-M0APP AHB-AP --></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"AP_TYPE"</span>>AHB-AP</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ROM_TABLE_BASE_ADDRESS"</span>>0xE00FF000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Cortex-M0APP AHB-AP Components --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_CPU"</span> type=<span class="stringliteral">"Cortex-M0"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE000E000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_DWT"</span> type=<span class="stringliteral">"CSDWT"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0001000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_FPB"</span> type=<span class="stringliteral">"CSFPB"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0002000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </dap></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- ARM Cortex-M4 --></div>
|
|
<div class="line"> <dap name=<span class="stringliteral">"ARMCS-DP_CM4"</span> type=<span class="stringliteral">"ARMCS-DP"</span> irLength=<span class="stringliteral">"4"</span> protocol=<span class="stringliteral">"SWD:JTAG"</span>></div>
|
|
<div class="line"> <!-- CoreSight DAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x4BA00477</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Access Ports --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_AHB-AP"</span> type=<span class="stringliteral">"CSMEMAP"</span>> <!-- Cortex-M4 AHB-AP --></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"AP_TYPE"</span>>AHB-AP</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ROM_TABLE_BASE_ADDRESS"</span>>0xE00FF000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Cortex-M4 AHB-AP Components --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_CPU"</span> type=<span class="stringliteral">"Cortex-M4"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE000E000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_DWT"</span> type=<span class="stringliteral">"CSDWT"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0001000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_FPB"</span> type=<span class="stringliteral">"CSFPB"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0002000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_ITM"</span> type=<span class="stringliteral">"CSITM"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0000000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_TPIU"</span> type=<span class="stringliteral">"CSTPIU"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ARCHITECTURE"</span> >V7-M</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTED_FORMATTER_MODES"</span>>CONTINUOUS</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTED_PORT_SIZES"</span> >1;2;4</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0040000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_ETM"</span> type=<span class="stringliteral">"CSETM"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"VERSION"</span>>3.5</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTS_CYCLE_ACCURATE"</span>><span class="keyword">true</span></device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0041000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_ETB"</span> type=<span class="stringliteral">"CSETB"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"MEM_WIDTH"</span> >32</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"RAM_SIZE_BYTES"</span>>0x4000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0042000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </dap></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> </scanchain></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <topology></div>
|
|
<div class="line"> <!-- Trace Links --></div>
|
|
<div class="line"> <!-- Core Trace - Cortex-M4 --></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"CoreTrace"</span> master=<span class="stringliteral">"CM4_CPU"</span> slave=<span class="stringliteral">"CM4_DWT"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"CoreTrace"</span> master=<span class="stringliteral">"CM4_CPU"</span> slave=<span class="stringliteral">"CM4_ITM"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"CoreTrace"</span> master=<span class="stringliteral">"CM4_CPU"</span> slave=<span class="stringliteral">"CM4_ETM"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"ATB"</span> master=<span class="stringliteral">"CM4_ETM"</span> slave=<span class="stringliteral">"CM4_TPIU"</span> slave_interface=<span class="stringliteral">"0"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"ATB"</span> master=<span class="stringliteral">"CM4_ITM"</span> slave=<span class="stringliteral">"CM4_TPIU"</span> slave_interface=<span class="stringliteral">"1"</span>/></div>
|
|
<div class="line"> <!-- Trace - Cortex-M4 ETB (Direct Connection ETM -> ETB) --></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"ATB"</span> master=<span class="stringliteral">"CM4_ETM"</span> slave=<span class="stringliteral">"CM4_ETB"</span>/></div>
|
|
<div class="line"> </topology></div>
|
|
<div class="line"> </platform></div>
|
|
<div class="line"></system_description></div>
|
|
</div><!-- fragment --><h1><a class="anchor" id="sdf_structure"></a>
|
|
SDF top level structure</h1>
|
|
<p>The XML schema file <b>sdf_schema.xsd</b> defines the sections used in a <b>*.SDF</b> file. The current <b>sdf_schema.xsd</b> can be found under the ARM.CMSIS.*.Pack in the .\CMSIS\Utilities-directory.</p>
|
|
<h1><a class="anchor" id="sdf_element_system_description"></a>
|
|
/system_description</h1>
|
|
<table class="cmtable" summary="Element: CPDSC package">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td>root </td><td colspan="3">description root point for SDF </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>schemaVersion </td><td>Version of sdf_schema.xsd the description is compatible with </td><td>xs:decimal </td><td>required </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_debug_and_trace_config">/system_description/debug_and_trace_config</a> </td><td>Description how to configure debug and trace. </td><td>complexType </td><td>1..1 </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_platform">/system_description/platform</a> </td><td>Overall platform description. </td><td>complexType </td><td>1..1 </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_debug_and_trace_config"></a>
|
|
/system_description/debug_and_trace_config</h1>
|
|
<p>Describes the recommended debug and trace configuration for the device.</p>
|
|
<table class="cmtable" summary="Element: debug_and_trace_config">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_system_description">system_description</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_system_description">/system_description</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_debug">/system_description/debug_and_trace_config/debug</a> </td><td>Describes the debug connection configuration </td><td>complexType </td><td>0..1 </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_trace">/system_description/debug_and_trace_config/trace</a> </td><td>Describes the trace configuration </td><td>complexType </td><td>0..1 </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_debug"></a>
|
|
/system_description/debug_and_trace_config/debug</h1>
|
|
<p>Describes the recommended debug configuration for the device.</p>
|
|
<table class="cmtable" summary="Element: debug">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_debug_and_trace_config">debug_and_trace_config</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_debug_and_trace_config">/system_description/debug_and_trace_config</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_config_item">/system_description/.../config_item</a> </td><td>Describes a configuration item attribute/value pair </td><td>xs:string </td><td>0..* </td></tr>
|
|
</table>
|
|
<p>For a list of applicable configuration items, refer to <a class="el" href="sdf_pg.html#sdf_element_config_item">config_item</a>. </p>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_config_item"></a>
|
|
/system_description/.../config_item</h1>
|
|
<p>A <b>config_item</b> can appear in various SDF elements. This group contains individual configuration items.</p>
|
|
<table class="cmtable" summary="Element: config_item">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_debug">debug</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_debug">/system_description/debug_and_trace_config/debug</a> </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_trace_capture">trace_capture</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_trace_capture">/system_description/debug_and_trace_config/trace/trace_capture</a> </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_config_items">config_items</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_config_items">/system_description/platform/scanchain/../config_items</a> </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>name </td><td>Name of the configuration item. </td><td>xs:string </td><td>required </td></tr>
|
|
</table>
|
|
<h2>Debug element </h2>
|
|
<p>The <b>config_items</b> applicable to the <a class="el" href="sdf_pg.html#sdf_element_debug">debug</a> element are the following:</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th>Item </th><th>Description </th></tr>
|
|
<tr>
|
|
<td>TRSTOnConnect </td><td>Debugger should perform TAP reset on connect (True/False) - Default Value:True </td></tr>
|
|
<tr>
|
|
<td>SRSTOnConnect </td><td>Debugger should perform a System reset on connect (True/False) - Default Value:False </td></tr>
|
|
<tr>
|
|
<td>AllowTRST </td><td>Allow the Debugger to perform TAP reset (True/False) - Default Value:True </td></tr>
|
|
<tr>
|
|
<td>DoSoftTRST </td><td>Debugger should perform a Soft Reset (True/False) - Default Value:True </td></tr>
|
|
<tr>
|
|
<td>TRSTHoldTime </td><td>TAP reset hold time in milliseconds - Default Value:10 </td></tr>
|
|
<tr>
|
|
<td>TRSTPostResetTime </td><td>Delay after TAP reset before next operation - Default Value:10 </td></tr>
|
|
<tr>
|
|
<td>ResetHoldTime </td><td>Time in milliseconds that the target is held in a hardware reset state - Default Value:100 </td></tr>
|
|
<tr>
|
|
<td>PostResetDelay </td><td>Time in milliseconds that the target will wait after reset is released before attempting any other debugging operations - Default Value:10 </td></tr>
|
|
<tr>
|
|
<td>Linked_SRST_TRST </td><td>Target hardware has System Reset and TAP reset physically linked (True/False) - Default Value:False </td></tr>
|
|
</table>
|
|
<h2>Device element </h2>
|
|
<p>The <b>config_items</b> applicable to the <a class="el" href="sdf_pg.html#sdf_element_device">device</a> element are the following (only applicable for devices that are child elements of another device or DAP):</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th>Item </th><th>Description </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>CORESIGHT_BASE_ADDRESS </td><td>the 4K aligned base address of a CoreSight device </td><td>Required </td></tr>
|
|
<tr>
|
|
<td>CORESIGHT_AP_INDEX </td><td>the access port index of the device </td><td>Required </td></tr>
|
|
</table>
|
|
<h2>Trace element </h2>
|
|
<p>The <b>config_items</b> applicable to the <a class="el" href="sdf_pg.html#sdf_element_trace">trace</a> element are the following:</p>
|
|
<ol type="1">
|
|
<li>Parallel trace capture device configuration items ("type" = "parallel"). These "config_items" enable you to configure delays on the trace lines by a specified amount of time relative to the trace capture device defaults. These delays are used to allow for variations in target hardware. These configuration items have default values if not present. <table class="doxtable">
|
|
<tr>
|
|
<th>Item </th><th>Description </th><th>Default </th></tr>
|
|
<tr>
|
|
<td>CLOCK_EDGE </td><td>Set to 0 or 1 to specify the clock edge on which to capture data </td><td>1 </td></tr>
|
|
<tr>
|
|
<td>DELAY_TRACE_CLOCK </td><td>Adjust the sampling point for the trace clock by the specified number of picoseconds </td><td>0 </td></tr>
|
|
<tr>
|
|
<td>DELAY_TRACE_SIGNAL_1 to DELAY_TRACE_SIGNAL_n </td><td>Adjust the sampling point for parallel trace signal 'n' by the specified number of picoseconds </td><td>0 </td></tr>
|
|
</table>
|
|
</li>
|
|
<li>High-speed serial trace configuration items ("type"="HSSTP"). These configuration items do not have any default values. If they are not present in the SDF file then HSSTP trace is not supported by the target. <table class="doxtable">
|
|
<tr>
|
|
<th>Item </th><th>Description </th></tr>
|
|
<tr>
|
|
<td>HSSTP_LANES </td><td>The number of lanes (1-6) </td></tr>
|
|
<tr>
|
|
<td>HSSTP_SPEED </td><td>The HSSTP link speed (HSSTP_2_5Gbps, , HSSTP_3_0Gbps, HSSTP_3_125Gbps, HSSTP_4_25Gbps, HSSTP_5_0Gbps, HSSTP_6_0Gbps, HSSTP_6_25Gbps, HSSTP_8_0Gbps, HSSTP_10_0Gbps, HSSTP_10_3125Gbps, HSSTP_12_0Gbps, HSSTP_12_5Gbps, HSSTP_SETM_1_5Gbps, HSSTP_SETM_3_0Gbps, HSSTP_SETM_6_0Gbps) </td></tr>
|
|
<tr>
|
|
<td>HSSTP_PROTOCOL </td><td>The HSSTP protocol (HSSTP_PROTOCOL_ARM_HSSTP, HSSTP_PROTOCOL_8_BIT_SETM, HSSTP_PROTOCOL_16_BIT_SETM, HSSTP_PROTOCOL_32_BIT_SETM) </td></tr>
|
|
<tr>
|
|
<td>HSSTP_NDALT </td><td>Reverse byte bit-ordering (HSSTP_NDALT_Disabled/HSSTP_NDALT_Enabled) </td></tr>
|
|
<tr>
|
|
<td>HSSTP_CONNECTOR </td><td>The physical connector type (HSSTP_CONNECTOR_HSSTP/HSSTP_CONNECTOR_SMA) </td></tr>
|
|
<tr>
|
|
<td>HSSTP_RX_EQUALIZATION </td><td>The RX equalization type (RX_EQUALIZATION_DFE/RX_EQUALIZATION_LPM) </td></tr>
|
|
<tr>
|
|
<td>HSSTP_CRC </td><td>The type of CRC to use (HSSTP_CRC_Enabled, HSSTP_CRC_Disabled, HSSTP_CRC_Reversed, HSSTP_CRC_Ignored) </td></tr>
|
|
</table>
|
|
<b>Example</b> </li>
|
|
</ol>
|
|
<div class="fragment"><div class="line">...</div>
|
|
<div class="line"><device name=<span class="stringliteral">"CM4_ETM"</span> type=<span class="stringliteral">"CSETM"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"VERSION"</span>>3.5</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTS_CYCLE_ACCURATE"</span>><span class="keyword">true</span></device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0041000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"></device></div>
|
|
<div class="line">...</div>
|
|
</div><!-- fragment --> <p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_trace"></a>
|
|
/system_description/debug_and_trace_config/trace</h1>
|
|
<p>Describes the recommended trace configuration for the device.</p>
|
|
<table class="cmtable" summary="Element: trace">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_debug_and_trace_config">debug_and_trace_config</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_debug_and_trace_config">/system_description/debug_and_trace_config</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_trace_capture">/system_description/debug_and_trace_config/trace/trace_capture</a> </td><td>Describes the trace capture device </td><td>complexType </td><td>0..* </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_trace_capture"></a>
|
|
/system_description/debug_and_trace_config/trace/trace_capture</h1>
|
|
<p>Describes settings for the trace capture device.</p>
|
|
<table class="cmtable" summary="Element: trace_capture">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_trace">trace</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_trace">/system_description/debug_and_trace_config/trace</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_config_item">/system_description/.../config_item</a> </td><td>Describes a configuration item attribute/value pair </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>type </td><td>Trace capture type: for example parallel or HSSTP. </td><td>xs:string </td><td>required </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_platform"></a>
|
|
/system_description/platform</h1>
|
|
<p>Describes the platform configuration (scanchain, topology and cluster arrangement).</p>
|
|
<table class="cmtable" summary="Element: platform">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_system_description">system_description</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_system_description">/system_description</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_scanchain">/system_description/platform/scanchain</a> </td><td>Lists all DAPs/Devices in the order that they appear on the scanchain (Note - order is reverse to DAP references in PDSC files). The first device in the scanchain is one closest to target's TDI pin. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_topology">/system_description/platform/topology</a> </td><td>Describes the system topology </td><td>complexType </td><td>0..1 </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_clusters">/system_description/platform/clusters</a> </td><td>Describes the cluster arrangement </td><td>complexType </td><td>0..1 </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_scanchain"></a>
|
|
/system_description/platform/scanchain</h1>
|
|
<p>Lists all DAPs/devices in the order that they appear on the scanchain.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>The order is reverse to the DAP references in PDSC files. The first device in the scanchain is the one closest to the target's TDI pin.</dd></dl>
|
|
<table class="cmtable" summary="Element: scanchain">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_platform">platform</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_platform">/system_description/platform</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_dap">/system_description/platform/scanchain/dap</a> </td><td>Describes a DAP and a list of devices associated with that DAP. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device">/system_description/platform/scanchain/device</a> </td><td>Describes a single device on the scan chain. </td><td>complexType </td><td>0..* </td></tr>
|
|
</table>
|
|
<p><b>Example:</b> </p>
|
|
<div class="fragment"><div class="line">...</div>
|
|
<div class="line"><!-- Description of the scanchain --></div>
|
|
<div class="line"><scanchain></div>
|
|
<div class="line"></div>
|
|
<div class="line"> <!-- ARM Cortex-M0APP --></div>
|
|
<div class="line"> <dap name=<span class="stringliteral">"ARMCS-DP_CM0APP"</span> type=<span class="stringliteral">"ARMCS-DP"</span> irLength=<span class="stringliteral">"4"</span> protocol=<span class="stringliteral">"JTAG"</span>></div>
|
|
<div class="line"> <!-- CoreSight DAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x0BA01477</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Access Ports --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_AHB-AP"</span> type=<span class="stringliteral">"CSMEMAP"</span>> <!-- Cortex-M0APP AHB-AP --></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"AP_TYPE"</span>>AHB-AP</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ROM_TABLE_BASE_ADDRESS"</span>>0xE00FF000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Cortex-M0APP AHB-AP Components --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_CPU"</span> type=<span class="stringliteral">"Cortex-M0"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE000E000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_DWT"</span> type=<span class="stringliteral">"CSDWT"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0001000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_FPB"</span> type=<span class="stringliteral">"CSFPB"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0002000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </dap></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- ARM Cortex-M4 --></div>
|
|
<div class="line"> <dap name=<span class="stringliteral">"ARMCS-DP_CM4"</span> type=<span class="stringliteral">"ARMCS-DP"</span> irLength=<span class="stringliteral">"4"</span> protocol=<span class="stringliteral">"SWD:JTAG"</span>></div>
|
|
<div class="line"> <!-- CoreSight DAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x4BA00477</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Access Ports --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_AHB-AP"</span> type=<span class="stringliteral">"CSMEMAP"</span>> <!-- Cortex-M4 AHB-AP --></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"AP_TYPE"</span>>AHB-AP</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ROM_TABLE_BASE_ADDRESS"</span>>0xE00FF000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Cortex-M4 AHB-AP Components --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_CPU"</span> type=<span class="stringliteral">"Cortex-M4"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE000E000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_DWT"</span> type=<span class="stringliteral">"CSDWT"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0001000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_FPB"</span> type=<span class="stringliteral">"CSFPB"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0002000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_ITM"</span> type=<span class="stringliteral">"CSITM"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0000000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_TPIU"</span> type=<span class="stringliteral">"CSTPIU"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ARCHITECTURE"</span> >V7-M</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTED_FORMATTER_MODES"</span>>CONTINUOUS</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTED_PORT_SIZES"</span> >1;2;4</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0040000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_ETM"</span> type=<span class="stringliteral">"CSETM"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"VERSION"</span>>3.5</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"SUPPORTS_CYCLE_ACCURATE"</span>><span class="keyword">true</span></device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0041000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM4_ETB"</span> type=<span class="stringliteral">"CSETB"</span>></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"MEM_WIDTH"</span> >32</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"RAM_SIZE_BYTES"</span>>0x4000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0042000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </dap></div>
|
|
<div class="line"> </div>
|
|
<div class="line"></scanchain></div>
|
|
<div class="line">...</div>
|
|
</div><!-- fragment --> <p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_dap"></a>
|
|
/system_description/platform/scanchain/dap</h1>
|
|
<p>Describes a DAP and a list of devices associated with that DAP.</p>
|
|
<table class="cmtable" summary="Element: dap">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_scanchain">scanchain</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_scanchain">/system_description/platform/scanchain</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device">/system_description/platform/scanchain/device</a> </td><td>List of devices associated with this DAP. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device_info_items">/system_description/platform/scanchain/../../device_info_items</a> </td><td>Contains implementation details for the DAP. Applicable items for a DAP are "JTAG_IDCODE" (the JTAG ID code for the DAP) or "DPIDR" (the Debug Port Identification Register contents). </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_config_items">/system_description/platform/scanchain/../../config_items</a> </td><td>Configuration items specific to a DAP type. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>name </td><td>Unique name of the DAP. </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>type </td><td>Specifies the type of the DAP (e.g. ARMCS-DP). </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>irLength </td><td>Specifies the IR length of the DAP (default value: 4). </td><td>xs:string </td><td>optional </td></tr>
|
|
<tr>
|
|
<td>protocol </td><td>Colon delimited list of protocols via which the DAP can be use. Possible values are SWD, JTAG, and cJTAG. </td><td>xs:string </td><td>optional </td></tr>
|
|
<tr>
|
|
<td>targetsel </td><td>Specifies the SW-DPv2 TARGETSEL register value that selects this DAP in a serial-wire debug multi-drop system. </td><td>xs:string </td><td>optional </td></tr>
|
|
</table>
|
|
<p><b>Example:</b> </p>
|
|
<div class="fragment"><div class="line"><system_description version=<span class="stringliteral">"2.0"</span>></div>
|
|
<div class="line"> <debug_and_trace_config></div>
|
|
<div class="line"> <!-- Not filled at the moment --></div>
|
|
<div class="line"> <!-- Means <span class="keyword">using</span> defaults in <span class="keyword">this</span> area --></div>
|
|
<div class="line"> </debug_and_trace_config></div>
|
|
<div class="line"> <platform></div>
|
|
<div class="line"> <!-- Description of the scanchain --></div>
|
|
<div class="line"> <scanchain></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- ARM Cortex-M0APP --></div>
|
|
<div class="line"> <dap name=<span class="stringliteral">"ARMCS-DP_CM0APP"</span> type=<span class="stringliteral">"ARMCS-DP"</span> irLength=<span class="stringliteral">"4"</span> protocol=<span class="stringliteral">"JTAG"</span>></div>
|
|
<div class="line"> <!-- CoreSight DAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x0BA01477</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Access Ports --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_AHB-AP"</span> type=<span class="stringliteral">"CSMEMAP"</span>> <!-- Cortex-M0APP AHB-AP --></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"AP_TYPE"</span>>AHB-AP</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ROM_TABLE_BASE_ADDRESS"</span>>0xE00FF000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </div>
|
|
<div class="line"> <!-- Cortex-M0APP AHB-AP Components --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_CPU"</span> type=<span class="stringliteral">"Cortex-M0"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE000E000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_DWT"</span> type=<span class="stringliteral">"CSDWT"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0001000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_FPB"</span> type=<span class="stringliteral">"CSFPB"</span>></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_BASE_ADDRESS"</span>>0xE0002000</config_item></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> </dap></div>
|
|
<div class="line"> ...</div>
|
|
<div class="line"></system_description></div>
|
|
</div><!-- fragment --><p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_device"></a>
|
|
/system_description/platform/scanchain/device</h1>
|
|
<table class="cmtable" summary="Element: device">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_scanchain">scanchain</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_scanchain">/system_description/platform/scanchain</a> </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_dap">dap</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_dap">/system_description/platform/scanchain/dap</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device">/system_description/platform/scanchain/device</a> </td><td>Describes a single nested device associated with this device. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device_info_items">/system_description/platform/scanchain/../../device_info_items</a> </td><td>Describes a sequence of device information items. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_config_items">/system_description/platform/scanchain/../../config_items</a> </td><td>Configuration items specific to this device. </td><td>complexType </td><td>0..* </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>name </td><td>Unique name of the device. </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>type </td><td>Specifies the device type (see below). </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>irLength </td><td>Specifies the IR length of the device (default value: 4). </td><td>xs:string </td><td>optional </td></tr>
|
|
</table>
|
|
<p>Depending on the context, a device type can be one of the following types:</p>
|
|
<ol type="1">
|
|
<li>A core device, where the type is usually specified as "Cortex-xx" (such as Cortex-A72,Cortex-M0+, Cortex-R5). It can also be a vendor-specific core type, or an older JTAG ARM core. Current cores are: <br/>
|
|
"Cortex-A5", "Cortex-A7", "Cortex-A8", "Cortex-A9", "Cortex-A12", "Cortex-A15", "Cortex-A17", "Cortex-A32", "Cortex-A35", "Cortex-A53", "Cortex-A57", "Cortex-A72", "Cortex-A73", "Cortex-M0", "Cortex-M0+", "Cortex-M0+_JTAG-AP", "Cortex-M1", "Cortex-M23", "Cortex-M3", "Cortex-M33", "Cortex-M3_JTAG-AP", "Cortex-M4", "Cortex-M7", "Cortex-R4", "Cortex-R5", "Cortex-R7", "Cortex-R8", "Cortex-R52", "SC000", "SC100D", "SC200D", "SC300", "ThunderX", "ThunderX-r2", "ARMV8MBL", "ARMV8MML", "88FR101", "88FR111", "88FR331", "88SV581x-v7_PJ4", "88SV581x-v7_PJ4_TZ", "ARM1136JF-S", "ARM1136JF-S_JTAG-AP", "ARM1156T2F-S", "ARM1156T2F-S_JTAG-AP", "ARM1176JZF-S", "ARM1176JZF-S_JTAG-AP", "ARM11MPCore", "ARM11MPCore_JTAG-AP", "ARM710T", "ARM720T", "ARM720T_r4", "ARM740T", "ARM7EJ-S", "ARM7EJ-S_JTAG-AP", "ARM7TDMI", "ARM7TDMI_JTAG-AP", "ARM7TDMI_r4", "ARM7TDMI_r4_JTAG-AP", "ARM920T", "ARM922T", "ARM925T", "ARM926EJ-S", "ARM926EJ-S_JTAG-AP", "ARM940T", "ARM946E-S", "ARM946E-S_JTAG-AP", "ARM966E-S", "ARM966E-S_JTAG-AP", "ARM968E-S", "ARM968E-S_JTAG-AP", "ARM968E-Srd", "ARM996HS", "ARM9E-S", "ARM9EJ-S", "ARM9EJ-S_JTAG-AP", "ARM9TDMI", "V7A-Generic", "V8-Generic", "V8M-Generic", "V8R-Generic", "V8_1-Generic", "V8_2-Generic".</li>
|
|
<li>An Access Port (AP) type such as "CSAUTHAP", "CSJTAGAP" or "CSMEMAP".</li>
|
|
<li>A CoreSight device type that can be one of "CSCTI", "CSETM", "CSITM", "CSMTB", "CSPMU", "CSPTM", "CSTFunnel", "CSTMC", "CSTPIU","CSSTM", "CSSWO", "CSELA", "CSATBReplicator", "CSGPR", "CSETB", "CSDWT", "CSETB", "CSTSGEN", "CSHTM", "CSFPB"</li>
|
|
<li>A JTAG device, which is directly on the scanchain (e.g. ARM11).</li>
|
|
</ol>
|
|
<p><b>Example:</b> </p>
|
|
<div class="fragment"><div class="line"><system_description version=<span class="stringliteral">"2.0"</span>></div>
|
|
<div class="line"> <debug_and_trace_config></div>
|
|
<div class="line"> <!-- Not filled at the moment --></div>
|
|
<div class="line"> <!-- Means <span class="keyword">using</span> defaults in <span class="keyword">this</span> area --></div>
|
|
<div class="line"> </debug_and_trace_config></div>
|
|
<div class="line"> <platform></div>
|
|
<div class="line"> <!-- Description of the scanchain --></div>
|
|
<div class="line"> <scanchain></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"My Custom TAP"</span> type=<span class="stringliteral">"Other"</span> irLength=<span class="stringliteral">"5"</span>></div>
|
|
<div class="line"> <!-- JTAG-TAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x04560014</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> ...</div>
|
|
<div class="line"></system_description></div>
|
|
</div><!-- fragment --><p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_config_items"></a>
|
|
/system_description/platform/scanchain/../../config_items</h1>
|
|
<p>The configuration items are specific to the device type or DAP. Refer to <a class="el" href="sdf_pg.html#sdf_element_config_item">/system_description/.../config_item</a> for a list of applicable device information items and a code example.</p>
|
|
<table class="cmtable" summary="Element: config_items">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device">device</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_device">/system_description/platform/../device</a> </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_dap">dap</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_dap">/system_description/platform/scanchain/dap</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_config_item">/system_description/.../config_item</a> </td><td>Describes a configuration item. </td><td>complexType </td><td>0..* </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_device_info_items"></a>
|
|
/system_description/platform/scanchain/../../device_info_items</h1>
|
|
<p>The device information items are specific to the type of device or DAP and describe implementation specific details. Refer to <a class="el" href="sdf_pg.html#sdf_element_device_info_item">/system_description/platform/scanchain/../../device_info_items/device_info_item</a> for a list of applicable device information items and a code example.</p>
|
|
<table class="cmtable" summary="Element: device_info_items">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device">device</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_device">/system_description/platform/../device</a> </td></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device">dap</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_dap">/system_description/platform/scanchain/dap</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device_info_item">/system_description/platform/scanchain/../../device_info_items/device_info_item</a> </td><td>Describes a sequence of device information items. </td><td>xs:string </td><td>0..* </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_device_info_item"></a>
|
|
/system_description/platform/scanchain/../../device_info_items/device_info_item</h1>
|
|
<p>Describes implementation specific details of the specified device or DAP.</p>
|
|
<table class="cmtable" summary="Element: device_info_item">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_device_info_items">device_info_items</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_device_info_items">/system_description/platform/../../device_info_items</a> </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>name </td><td>Unique name for the device information item. </td><td>xs:string </td><td>required </td></tr>
|
|
</table>
|
|
<p>The following device information items are applicable for each type of "device":</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th>Device </th><th>Device Information Item </th><th>Description </th></tr>
|
|
<tr>
|
|
<td><b>CSMEMAP</b> </td><td>AP_TYPE </td><td>Access port type is one of AHB-AP, APB-AP-M, APB-AP and AXI-AP </td></tr>
|
|
<tr>
|
|
<td></td><td>ROM_TABLE_BASE_ADDRESS </td><td>The ROM table base address (in hex) </td></tr>
|
|
<tr>
|
|
<td><b>CSETM</b> </td><td>VERSION </td><td>The ETM Version (e.g. 4.0 - required) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_CONTEXT_IDS </td><td>Supports Context ID Tracing (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_VIRTUAL_CONTEXT_IDS </td><td>Supports Virtual Context ID Tracing (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_CYCLE_ACCURATE </td><td>Supports Cycle Accurate Trace (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_DATA_VALUE_TRACE </td><td>Supports Data Value Trace (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_DATA_ADDRESS_TRACE </td><td>Supports Data Address Trace (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_DATA_ONLY_MODE </td><td>Supports Data Only Trace Mode (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_TIMESTAMPS </td><td>Supports Timestamps(True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_TRACE_RANGES </td><td>Supports Trace Ranges (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_BRANCH_BROADCAST </td><td>Supports Branch Broadcasting (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_CONDITIONAL_INSTRUCTIONS </td><td>Supports tracing conditional non-branch instruction (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_Q_ELEMENTS </td><td>Supports Q Elements (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td><b>CSMTB</b> </td><td>RAM_SIZE_BYTES </td><td>MTB SRAM buffer size in bytes </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_USER_PRIV </td><td>User/Privileged support present </td></tr>
|
|
<tr>
|
|
<td><b>CSTPM</b> </td><td>VERSION </td><td>The PTM Version (eg 1.1) - Required </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_VMID </td><td>VMID Tracing support (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_CONTEXT_IDS </td><td>Context ID Tracing support (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_RETURN_STACK </td><td>Return stack support (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_CYCLE_ACCURATE </td><td>Cycle Accurate trace support (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_BRANCH_BROADCAST </td><td>Supports Branch Broadcasting (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_TIMESTAMPS </td><td>Supports Timestamping (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td></td><td>SUPPORTS_FIFOFULL </td><td>Supports FIFOFULL (True/False - Default Value:False) </td></tr>
|
|
<tr>
|
|
<td><b>CSTMC</b> </td><td>CONFIG_TYPE </td><td>The TMC device configuration can be one of (ETR, ETF or ETB) - required </td></tr>
|
|
<tr>
|
|
<td></td><td>RAM_SIZE_BYTES </td><td>The SRAM memory size used in ETF and ETR configurations (512 Bytes to 4 GiB) - Default: 512 Bytes </td></tr>
|
|
<tr>
|
|
<td><b>CSTPIU</b> </td><td>SUPPORTED_PORT_SIZES </td><td>Semicolon separated list of supported port sizes (in bits) - required </td></tr>
|
|
<tr>
|
|
<td></td><td>ARCHITECTURE </td><td>The TPIU variant is one of (Coresight, TPIU-Lite, V7-M or V8-M) - Required </td></tr>
|
|
</table>
|
|
<p><b>Example:</b> </p>
|
|
<div class="fragment"><div class="line"><system_description version=<span class="stringliteral">"2.0"</span>></div>
|
|
<div class="line"> ...</div>
|
|
<div class="line"> <platform></div>
|
|
<div class="line"> <!-- Description of the scanchain --></div>
|
|
<div class="line"> <scanchain></div>
|
|
<div class="line"> <!-- ARM Cortex-M0APP --></div>
|
|
<div class="line"> <dap name=<span class="stringliteral">"ARMCS-DP_CM0APP"</span> type=<span class="stringliteral">"ARMCS-DP"</span> irLength=<span class="stringliteral">"4"</span> protocol=<span class="stringliteral">"JTAG"</span>></div>
|
|
<div class="line"> <!-- CoreSight DAP Info --></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"JTAG_IDCODE"</span>>0x00000000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> <!-- Access Ports --></div>
|
|
<div class="line"> <device name=<span class="stringliteral">"CM0APP_AHB-AP"</span> type=<span class="stringliteral">"CSMEMAP"</span>> <!-- Cortex-M0APP AHB-AP --></div>
|
|
<div class="line"> <config_items></div>
|
|
<div class="line"> <config_item name=<span class="stringliteral">"CORESIGHT_AP_INDEX"</span>>0</config_item></div>
|
|
<div class="line"> </config_items></div>
|
|
<div class="line"> <device_info_items></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"AP_TYPE"</span>>AHB-AP</device_info_item></div>
|
|
<div class="line"> <device_info_item name=<span class="stringliteral">"ROM_TABLE_BASE_ADDRESS"</span>>0xE00FF000</device_info_item></div>
|
|
<div class="line"> </device_info_items></div>
|
|
<div class="line"> </device></div>
|
|
<div class="line"> ...</div>
|
|
</div><!-- fragment --><p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_topology"></a>
|
|
/system_description/platform/topology</h1>
|
|
<p>Describes the system topology.</p>
|
|
<table class="cmtable" summary="Element: topology">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_platform">platform</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_platform">/system_description/platform</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_topology_link">/system_description/platform/topology/topology_link</a> </td><td>Describes how CoreSight devices and cores are connected. </td><td>complexType </td><td>0..* </td></tr>
|
|
</table>
|
|
<p><b>Example:</b> </p>
|
|
<div class="fragment"><div class="line"><system_description version=<span class="stringliteral">"2.0"</span>></div>
|
|
<div class="line"> <debug_and_trace_config></div>
|
|
<div class="line"> </debug_and_trace_config></div>
|
|
<div class="line"> <platform></div>
|
|
<div class="line"> ...</div>
|
|
<div class="line"> <topology></div>
|
|
<div class="line"> <!-- Trace Links --></div>
|
|
<div class="line"> <!-- Core Trace - Cortex-M4 --></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"CoreTrace"</span> master=<span class="stringliteral">"CM4_CPU"</span> slave=<span class="stringliteral">"CM4_DWT"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"CoreTrace"</span> master=<span class="stringliteral">"CM4_CPU"</span> slave=<span class="stringliteral">"CM4_ITM"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"CoreTrace"</span> master=<span class="stringliteral">"CM4_CPU"</span> slave=<span class="stringliteral">"CM4_ETM"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"ATB"</span> master=<span class="stringliteral">"CM4_ETM"</span> slave=<span class="stringliteral">"CM4_TPIU"</span> slave_interface=<span class="stringliteral">"0"</span>/></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"ATB"</span> master=<span class="stringliteral">"CM4_ITM"</span> slave=<span class="stringliteral">"CM4_TPIU"</span> slave_interface=<span class="stringliteral">"1"</span>/></div>
|
|
<div class="line"> <!-- Trace - Cortex-M4 ETB (Direct Connection ETM -> ETB) --></div>
|
|
<div class="line"> <topology_link type=<span class="stringliteral">"ATB"</span> master=<span class="stringliteral">"CM4_ETM"</span> slave=<span class="stringliteral">"CM4_ETB"</span>/></div>
|
|
<div class="line"> </topology></div>
|
|
<div class="line"> </platform></div>
|
|
<div class="line"></system_description></div>
|
|
</div><!-- fragment --> <p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_topology_link"></a>
|
|
/system_description/platform/topology/topology_link</h1>
|
|
<p>Describes how CoreSight devices and cores are connected.</p>
|
|
<table class="cmtable" summary="Element: topology_link">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_platform">topology</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_topology">/system_description/platform/topology</a> </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>name </td><td>Unique name for the link. </td><td>xs:string </td><td>optional </td></tr>
|
|
<tr>
|
|
<td>type </td><td>Specifies the link type. Can be on of the following: ATB, CoreTrace, or CTITrigger. </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>master </td><td>Unique name of the master device in the link. </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>slave </td><td>Unique name of the slave device in the link. </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>mater_interface </td><td>Specifies the mater interface number. </td><td>xs:string </td><td>optional </td></tr>
|
|
<tr>
|
|
<td>slave_interface </td><td>Specifies the slave interface number. </td><td>xs:string </td><td>optional </td></tr>
|
|
<tr>
|
|
<td>trigger </td><td>Specifies the trigger number. </td><td>xs:string </td><td>optional </td></tr>
|
|
</table>
|
|
<p><b>Example:</b> </p>
|
|
<p>A complete set of links for a Cortex-A7 implementation with ETM and TPIU might look like this: </p>
|
|
<div class="fragment"><div class="line">master=<span class="stringliteral">"Cortex-A7_0"</span> slave=<span class="stringliteral">"CSCTI_6"</span> trigger=<span class="stringliteral">"7"</span> type=<span class="stringliteral">"CTITrigger"</span></div>
|
|
<div class="line">master=<span class="stringliteral">"CSETM_0"</span> slave=<span class="stringliteral">"CSCTI_6"</span> trigger=<span class="stringliteral">"6"</span> type=<span class="stringliteral">"CTITrigger"</span></div>
|
|
<div class="line">master=<span class="stringliteral">"Cortex-A7_0"</span> slave=<span class="stringliteral">"CSETM_0"</span> type=<span class="stringliteral">"CoreTrace"</span></div>
|
|
<div class="line">master=<span class="stringliteral">"CSETM_0"</span> slave=<span class="stringliteral">"CSTFunnel_2"</span> slave_interface=<span class="stringliteral">"0"</span> type=<span class="stringliteral">"ATB"</span></div>
|
|
<div class="line">master=<span class="stringliteral">"CSTFunnel_2"</span> slave=<span class="stringliteral">"CSTFunnel_0"</span> slave_interface=<span class="stringliteral">"1"</span> type=<span class="stringliteral">"ATB"</span></div>
|
|
<div class="line">master=<span class="stringliteral">"CSTFunnel_0"</span> slave=<span class="stringliteral">"CSTMC_0"</span> type=<span class="stringliteral">"ATB"</span></div>
|
|
<div class="line">master=<span class="stringliteral">"CSTMC_0"</span> slave=<span class="stringliteral">"CSTPIU"</span> type=<span class="stringliteral">"ATB"</span></div>
|
|
</div><!-- fragment --> <p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_clusters"></a>
|
|
/system_description/platform/clusters</h1>
|
|
<p>Describes the cluster arrangement.</p>
|
|
<table class="cmtable" summary="Element: clusters">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_platform">platform</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_platform">/system_description/platform</a> </td></tr>
|
|
<tr>
|
|
<th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_cluster">/system_description/platform/clusters/cluster</a> </td><td>Lists the devices that make up the cluster and a unique name for the cluster. </td><td>complexType </td><td>0..* </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
<h1><a class="anchor" id="sdf_element_cluster"></a>
|
|
/system_description/platform/clusters/cluster</h1>
|
|
<p>Lists the devices that make up the cluster.</p>
|
|
<table class="cmtable" summary="Element: cluster">
|
|
<tr>
|
|
<th>Parents </th><th colspan="3">Element Chain </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="sdf_pg.html#sdf_element_clusters">clusters</a> </td><td colspan="3"><a class="el" href="sdf_pg.html#sdf_element_clusters">/system_description/platform/clusters</a> </td></tr>
|
|
<tr>
|
|
<th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
|
|
<tr>
|
|
<td>name </td><td>Unique name for the cluster (for example Cortex-A15_SMP_0). </td><td>xs:string </td><td>required </td></tr>
|
|
<tr>
|
|
<td>devices </td><td>Colon separated list of named devices in the cluster, for example "Cortex-A15_0:Cortex-A15_1:Cortex-A15_2:Cortex-A15_3". </td><td>xs:string </td><td>required </td></tr>
|
|
</table>
|
|
<p> </p>
|
|
<hr/>
|
|
</div></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="footer">Generated on Wed Aug 1 2018 17:12:43 for CMSIS-Pack by Arm Ltd. All rights reserved.
|
|
<!--
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6
|
|
-->
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|