xml_partition.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <title>/azone/partition element</title>
  7. <title>CMSIS-Zone: /azone/partition element</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <link href="cmsis.css" rel="stylesheet" type="text/css" />
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <script type="text/javascript" src="printComponentTabs.js"></script>
  13. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  14. <script type="text/javascript" src="resize.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. $(document).ready(initResizable);
  18. $(window).load(resizeHeight);
  19. </script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/search.js"></script>
  22. <script type="text/javascript">
  23. $(document).ready(function() { searchBox.OnSelectItem(0); });
  24. </script>
  25. </head>
  26. <body>
  27. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  28. <div id="titlearea">
  29. <table cellspacing="0" cellpadding="0">
  30. <tbody>
  31. <tr style="height: 46px;">
  32. <td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
  33. <td style="padding-left: 0.5em;">
  34. <div id="projectname">CMSIS-Zone
  35. &#160;<span id="projectnumber">Version 1.0.0</span>
  36. </div>
  37. <div id="projectbrief">System Resource Management</div>
  38. </td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. </div>
  43. <!-- end header part -->
  44. <div id="CMSISnav" class="tabs1">
  45. <ul class="tablist">
  46. <script type="text/javascript">
  47. <!--
  48. writeComponentTabs.call(this);
  49. //-->
  50. </script>
  51. </ul>
  52. </div>
  53. <!-- Generated by Doxygen 1.8.6 -->
  54. <script type="text/javascript">
  55. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  56. </script>
  57. <div id="navrow1" class="tabs">
  58. <ul class="tablist">
  59. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  60. <li class="current"><a href="pages.html"><span>Usage&#160;and&#160;Description</span></a></li>
  61. <li>
  62. <div id="MSearchBox" class="MSearchBoxInactive">
  63. <span class="left">
  64. <img id="MSearchSelect" src="search/mag_sel.png"
  65. onmouseover="return searchBox.OnSearchSelectShow()"
  66. onmouseout="return searchBox.OnSearchSelectHide()"
  67. alt=""/>
  68. <input type="text" id="MSearchField" value="Search" accesskey="S"
  69. onfocus="searchBox.OnSearchFieldFocus(true)"
  70. onblur="searchBox.OnSearchFieldFocus(false)"
  71. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  72. </span><span class="right">
  73. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  74. </span>
  75. </div>
  76. </li>
  77. </ul>
  78. </div>
  79. </div><!-- top -->
  80. <div id="side-nav" class="ui-resizable side-nav-resizable">
  81. <div id="nav-tree">
  82. <div id="nav-tree-contents">
  83. <div id="nav-sync" class="sync"></div>
  84. </div>
  85. </div>
  86. <div id="splitbar" style="-moz-user-select:none;"
  87. class="ui-resizable-handle">
  88. </div>
  89. </div>
  90. <script type="text/javascript">
  91. $(document).ready(function(){initNavTree('xml_partition.html','');});
  92. </script>
  93. <div id="doc-content">
  94. <!-- window showing the filter options -->
  95. <div id="MSearchSelectWindow"
  96. onmouseover="return searchBox.OnSearchSelectShow()"
  97. onmouseout="return searchBox.OnSearchSelectHide()"
  98. onkeydown="return searchBox.OnSearchSelectKey(event)">
  99. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Pages</a></div>
  100. <!-- iframe showing the search results (closed by default) -->
  101. <div id="MSearchResultsWindow">
  102. <iframe src="javascript:void(0)" frameborder="0"
  103. name="MSearchResults" id="MSearchResults">
  104. </iframe>
  105. </div>
  106. <div class="header">
  107. <div class="headertitle">
  108. <div class="title">/azone/partition element </div> </div>
  109. </div><!--header-->
  110. <div class="contents">
  111. <div class="textblock"><p>The <a class="el" href="xml_partition.html">/azone/partition element</a> contains a list of memory partitions that are created with the CMSIS-Zone utility. These memory partitions are based on parent memory definitions specified by <a class="el" href="xml_memories.html">/rzone/resources/memories element</a>.</p>
  112. <p><b>Example</b> </p>
  113. <div class="fragment"><div class="line">&lt;partition&gt;</div>
  114. <div class="line"> &lt;memory parent=<span class="stringliteral">&quot;Flash_NS&quot;</span> name=<span class="stringliteral">&quot;ROM_NS&quot;</span> offset=<span class="stringliteral">&quot;0x00000000&quot;</span> size=<span class="stringliteral">&quot;0x40000&quot;</span> fixed=<span class="stringliteral">&quot;1&quot;</span> access=<span class="stringliteral">&quot;rx&quot;</span> info=<span class="stringliteral">&quot;application code&quot;</span> /&gt;</div>
  115. <div class="line"> &lt;memory parent=<span class="stringliteral">&quot;Flash_S&quot;</span> name=<span class="stringliteral">&quot;ROM_S&quot;</span> offset=<span class="stringliteral">&quot;0x00040000&quot;</span> size=<span class="stringliteral">&quot;0x40000&quot;</span> access=<span class="stringliteral">&quot;x&quot;</span> info=<span class="stringliteral">&quot;boot code /&gt;</span></div>
  116. <div class="line"><span class="stringliteral"> &lt;memory parent=&quot;</span>SRAM1_NS<span class="stringliteral">&quot; name=&quot;</span>RAM_NS<span class="stringliteral">&quot; offset=&quot;</span>0x00000000<span class="stringliteral">&quot; size=&quot;</span>0x20000<span class="stringliteral">&quot; /&gt;</span></div>
  117. <div class="line"><span class="stringliteral"> &lt;memory parent=&quot;</span>SRAM1_S<span class="stringliteral">&quot; name=&quot;</span>RAM_S<span class="stringliteral">&quot; offset=&quot;</span>0x00010000<span class="stringliteral">&quot; size=&quot;</span>0x20000<span class="stringliteral">&quot; /&gt;</span></div>
  118. <div class="line"><span class="stringliteral">&lt;/partition&gt;</span></div>
  119. </div><!-- fragment --><p> &#160;</p>
  120. <table class="cmtable" summary="Element: partition">
  121. <tr>
  122. <th>Parent Element </th><th colspan="3">Element Chain </th></tr>
  123. <tr>
  124. <td><a class="el" href="xml_azone_pg.html">azone</a> </td><td colspan="3"><a class="el" href="xml_azone_pg.html">/azone element</a> </td></tr>
  125. <tr>
  126. <th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
  127. <tr>
  128. <td><a class="el" href="xml_partition.html#xml_amemory">memory</a> </td><td>Defines a new memory sub-region that is related to a parent region in the *.rzone file. </td><td>complexType </td><td>0..* </td></tr>
  129. <tr>
  130. <td><a class="el" href="xml_partition.html#xml_aperipheral">peripheral</a> </td><td>Defines a settings for a peripheral. </td><td>complexType </td><td>0..* </td></tr>
  131. </table>
  132. <h1><a class="anchor" id="xml_amemory"></a>
  133. /azone/partition/memory element</h1>
  134. <p>The <a class="el" href="xml_partition.html#xml_amemory">/azone/partition/memory element</a> defines a new memory sub-region that is related to a parent region in the *.rzone file.</p>
  135. <table class="cmtable" summary="Element: memory">
  136. <tr>
  137. <th>Parent Element </th><th colspan="3">Element Chain </th></tr>
  138. <tr>
  139. <td><a class="el" href="xml_partition.html">partition</a> </td><td colspan="3"><a class="el" href="xml_partition.html">/azone/partition element</a> </td></tr>
  140. <tr>
  141. <th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
  142. <tr>
  143. <td>parent </td><td>The name of the parent region in the related *.rzone file. </td><td>xs:string </td><td>required </td></tr>
  144. <tr>
  145. <td>name </td><td>The name of a new memory partition. </td><td>xs:string </td><td>required </td></tr>
  146. <tr>
  147. <td>size </td><td>The physical memory size this block allocates. </td><td>xs:string </td><td>required </td></tr>
  148. <tr>
  149. <td>offset </td><td>The address offset of this memory partition. If fixed="1" the memory block cannot be re-ordered within the region. </td><td>xs:string </td><td>required </td></tr>
  150. <tr>
  151. <td>access </td><td><a class="el" href="zoneFormat.html#access">Access</a> permissions for this memory block. </td><td><a class="el" href="zoneFormat.html#access">AccessType</a> </td><td>optional </td></tr>
  152. <tr>
  153. <td>security </td><td><a class="el" href="zoneFormat.html#security">Security</a> attributes for this memory block. </td><td><a class="el" href="zoneFormat.html#security">SecurityType</a> </td><td>optional </td></tr>
  154. <tr>
  155. <td>privilege </td><td><a class="el" href="zoneFormat.html#privilege">Privilege level</a> for this memory block. </td><td><a class="el" href="zoneFormat.html#privilege">PrivilegeType</a> </td><td>optional </td></tr>
  156. <tr>
  157. <td>startup </td><td>"1" specifies that this region is used for the startup code of the application. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  158. <tr>
  159. <td>fixed </td><td>"1" indicates a fixed offset within that region. "0" (default) allows to re-arrange the block within the region. </td><td>xs:boolean </td><td>optional </td></tr>
  160. <tr>
  161. <td>uninit </td><td>"1" specifies that this region is not zero initialized during startup. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  162. <tr>
  163. <td>shared </td><td>"1" specifies that this region is used by multiple zones. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  164. <tr>
  165. <td>dma </td><td>"1" specifies that this region is accessed by a DMA controller. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  166. <tr>
  167. <td>info </td><td>Brief description of the memory block. </td><td>xs:string </td><td>optional </td></tr>
  168. </table>
  169. <h1><a class="anchor" id="xml_aperipheral"></a>
  170. /azone/partition/peripheral element</h1>
  171. <p>The <a class="el" href="xml_partition.html#xml_aperipheral">/azone/partition/peripheral element</a> defines settings for a peripheral in a related *.rzone file.</p>
  172. <table class="cmtable" summary="Element: peripheral">
  173. <tr>
  174. <th>Parent Element </th><th colspan="3">Element Chain </th></tr>
  175. <tr>
  176. <td><a class="el" href="xml_partition.html">partition</a> </td><td colspan="3"><a class="el" href="xml_partition.html">/azone/partition element</a> </td></tr>
  177. <tr>
  178. <th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
  179. <tr>
  180. <td>name </td><td>The name of the peripheral. The combination group / name must be be unique within a processor (specified by Pname). </td><td>xs:string </td><td>required </td></tr>
  181. <tr>
  182. <td>group </td><td>The group name of the peripheral. The combination group / name must be be unique within a processor (specified by Pname). </td><td>xs:string </td><td>required </td></tr>
  183. <tr>
  184. <td>start </td><td>The logical start address of the peripheral in both secure and non-secure mode. </td><td>xs:string </td><td>required </td></tr>
  185. <tr>
  186. <td>start_s </td><td>The logical start address of the peripheral in secure mode only. </td><td>xs:string </td><td>optional </td></tr>
  187. <tr>
  188. <td>shared </td><td>"1" specifies that this peripheral group is used by multiple zones. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  189. <tr>
  190. <td>dma </td><td>"1" specifies that this peripheral group is accessed by a DMA controller. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  191. <tr>
  192. <td>external </td><td>"1" specifies that this peripheral is provided by an external component that is not part of the device. Default value is "0". </td><td>xs:boolean </td><td>optional </td></tr>
  193. <tr>
  194. <td>access </td><td><a class="el" href="zoneFormat.html#access">Access</a> permissions for this peripheral. </td><td><a class="el" href="zoneFormat.html#access">AccessType</a> </td><td>optional </td></tr>
  195. <tr>
  196. <td>security </td><td><a class="el" href="zoneFormat.html#security">Security</a> attributes for this peripheral. </td><td><a class="el" href="zoneFormat.html#security">SecurityType</a> </td><td>optional </td></tr>
  197. <tr>
  198. <td>privilege </td><td><a class="el" href="zoneFormat.html#privilege">Privilege level</a> for this peripheral. </td><td><a class="el" href="zoneFormat.html#privilege">PrivilegeType</a> </td><td>optional </td></tr>
  199. <tr>
  200. <th>Child Elements </th><th>Description </th><th>Type </th><th>Occurrence </th></tr>
  201. <tr>
  202. <td><a class="el" href="xml_partition.html#xml_aslot">slot</a> </td><td>Defines a settings for a slot. </td><td>complexType </td><td>0..* </td></tr>
  203. </table>
  204. <h1><a class="anchor" id="xml_aslot"></a>
  205. /azone/partition/peripheral/slot element</h1>
  206. <p>The <a class="el" href="xml_partition.html#xml_aslot">/azone/partition/peripheral/slot element</a> defines settings for a slot in a related *.rzone file.</p>
  207. <table class="cmtable" summary="Element: slot">
  208. <tr>
  209. <th>Parent Element </th><th colspan="3">Element Chain </th></tr>
  210. <tr>
  211. <td><a class="el" href="xml_partition.html#xml_aperipheral">peripheral</a> </td><td colspan="3"><a class="el" href="xml_partition.html#xml_aperipheral">/azone/partition/peripheral element</a> </td></tr>
  212. <tr>
  213. <th>Attributes </th><th>Description </th><th>Type </th><th>Use </th></tr>
  214. <tr>
  215. <td>name </td><td>The name of the slot. The combination group / peripheral / name must be be unique within a processor (specified by Pname). </td><td>xs:string </td><td>required </td></tr>
  216. <tr>
  217. <td>secure </td><td>Overwrites the setting of the secure attribute in the *.rzone file. </td><td>xs:boolean </td><td>optional </td></tr>
  218. <tr>
  219. <td>privilege </td><td>Overwrites the setting of the privilege attribute in the *.rzone file. </td><td>xs:boolean </td><td>optional </td></tr>
  220. </table>
  221. </div></div><!-- contents -->
  222. </div><!-- doc-content -->
  223. <!-- start footer part -->
  224. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  225. <ul>
  226. <li class="navelem"><a class="el" href="zoneFormat.html">Zone Description Format</a></li><li class="navelem"><a class="el" href="xml_azone_pg.html">/azone element</a></li>
  227. <li class="footer">Generated on Thu Apr 9 2020 15:50:03 for CMSIS-Zone Version 1.0.0 by Arm Ltd. All rights reserved.
  228. <!--
  229. <a href="http://www.doxygen.org/index.html">
  230. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6
  231. -->
  232. </li>
  233. </ul>
  234. </div>
  235. </body>
  236. </html>