# System services

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html)

## Memory Protection Unit

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html)

The Memory Protection Unit (MPU) of QCC730 can enhance the security and reliability of applications by preventing unauthorized or erroneous memory accesses. It also supports memory
            isolation and can grant different access to different tasks or processes.

The MPU splits the memory map into up to eight regions (from 0 to 7) and manages the access rights and attributes of each region. If a range of memory space belongs to multiple MPU regions,
            the attributes of the region with the highest number take precedence. Accessing a region that is blocked by the MPU may result in the termination of the related task or process.

QCC730 has two types of MPU regions:

- Read-only and executable regions for text segments
- Writable but non-executable regions for data segments

This structure ensures that no memory region can be both writable and executable at the same time to protect against malicious or mistaken actions.

The MPU is configured for both application images and SBL images. The MPU configuration is consistent with the image memory layout. Modifying the memory map of an SBL or application image
            may have unexpected results.

### MPU configuration for application image

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html)

The MPU defines eight regions for application RAM and RRAM.

### Application RAM

**Memory layout**

The following figure illustrates the memory layout of application RAM.

Figure : Application RAM memory layout 
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export App_RAM_mem_LO.svg App_RAM_mem_LO -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="4.8312in" height="4.64063in" viewbox="0 0 347.847 334.125" xml:space="preserve" color-interpolation-filters="sRGB" class="st6"><style>.svg-1 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st2 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-1 .st4 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st6 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title>App_RAM_mem_LO</title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title>Sheet.1</title>		<rect x="0" y="0.750019" width="347.097" height="333.375" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape2-3" transform="translate(14.4716,-298.172)">		<title>流程</title>		<desc>RAM ISR vector</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="39.66" y="327.21" class="st3">RAM ISR vector</text>		</g>	<g id="shape3-6" transform="translate(14.4716,-276.544)">		<title>流程.2</title>		<desc>PS txt</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="68.92" y="327.21" class="st3">PS txt</text>		</g>	<g id="shape4-9" transform="translate(14.4716,-191.119)">		<title>流程.4</title>		<desc>PS data</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st4"></rect>		<text x="63.13" y="327.21" class="st3">PS data</text>		</g>	<g id="shape5-12" transform="translate(14.4716,-147.863)">		<title>流程.5</title>		<desc>Sleep data retention region</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st4"></rect>		<text x="8.2" y="327.21" class="st3">Sleep data retention region</text>		</g>	<g id="shape8-15" transform="translate(14.4716,-212.747)">		<title>流程.250</title>		<desc>Border</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="66.75" y="327.21" class="st3">Border</text>		</g>	<g id="shape34-18" transform="translate(14.4716,-169.491)">		<title>流程.40</title>		<desc>System stack</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="47.61" y="327.21" class="st3">System stack</text>		</g>	<g id="shape36-21" transform="translate(14.4716,-126.234)">		<title>流程.36</title>		<desc>Perf data</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="59.88" y="327.21" class="st3">Perf data</text>		</g>	<g id="shape37-24" transform="translate(14.4716,-104.606)">		<title>流程.37</title>		<desc>App data</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="60.23" y="327.21" class="st3">App data</text>		</g>	<g id="shape38-27" transform="translate(14.4716,-82.9778)">		<title>流程.38</title>		<desc>WLAN ctrl &#38; system data</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="14.02" y="327.21" class="st3">WLAN ctrl &#38; system data</text>		</g>	<g id="shape39-30" transform="translate(14.4716,-61.3498)">		<title>流程.39</title>		<desc>Packet memory</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="41.1" y="327.21" class="st3">Packet memory</text>		</g>	<g id="shape40-33" transform="translate(14.4716,-39.7218)">		<title>流程.40</title>		<desc>HW DS and descriptors</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="18.34" y="327.21" class="st3">HW DS and descriptors</text>		</g>	<g id="shape41-36" transform="translate(14.4716,-18.0937)">		<title>流程.41</title>		<desc>Heap</desc>		<rect x="0" y="312.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="70.72" y="327.21" class="st3">Heap</text>		</g>	<g id="group45-39" transform="translate(221.472,-18.0937)">		<title>Sheet.45</title>		<g id="shape43-40">			<title>流程.43</title>			<desc>Data</desc>			<rect x="0" y="312.496" width="63" height="21.6289" class="st4"></rect>			<text x="17.77" y="328.23" class="st3">Data</text>			</g>		<g id="shape44-43" transform="translate(0,-43.256)">			<title>流程.44</title>			<desc>Text</desc>			<rect x="0" y="312.496" width="63" height="21.6289" class="st2"></rect>			<text x="18.86" y="328.23" class="st3">Text</text>			</g>	</g>	<g id="group46-46" transform="translate(290.097,-18.0937)">		<title>Sheet.46</title>		<g id="shape47-47">			<title>流程.43</title>			<desc>XN,RW</desc>			<rect x="0" y="312.496" width="54" height="21.6289" class="st5"></rect>			<text x="2" y="328.23" class="st3">XN,RW</text>			</g>		<g id="shape48-50" transform="translate(0,-43.256)">			<title>流程.44</title>			<desc>X, RO</desc>			<rect x="0" y="312.496" width="54" height="21.6289" class="st5"></rect>			<text x="2" y="328.23" class="st3">X, RO</text>			</g>	</g>	<g id="shape49-53" transform="translate(14.4716,-256.041)">		<title>流程.90</title>		<desc>Perf txt</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="65.67" y="327.21" class="st3">Perf txt</text>		</g>	<g id="shape50-56" transform="translate(14.4716,-234.375)">		<title>流程.91</title>		<desc>App txt</desc>		<rect x="0" y="312.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="66.02" y="327.21" class="st3">App txt</text>		</g></g>
</svg>

**MPU configuration**

See the following figure and table for details about the MPU configuration of application RAM.

Figure : MPU configuration of application RAM
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export App_RAM_MPU_conf.svg MPU_conf_app_RAM -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="7.19271in" height="4.57813in" viewbox="0 0 517.875 329.625" xml:space="preserve" color-interpolation-filters="sRGB" class="st8"><style>.svg-2 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-2 .st2 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-2 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-2 .st4 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-2 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-2 .st6 { fill: #000000; font-family: Courier New; font-size: 1.08334em; letter-spacing: normal }
.svg-2 .st7 { stroke: #000000; stroke-dasharray: 1.75, 1.25; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.25 }
.svg-2 .st8 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title>App_RAM_MPU_conf</title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title>Sheet.1</title>		<rect x="0" y="0.75002" width="517.125" height="328.875" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape88-3" transform="translate(378.13,-12.5391)">		<title>流程.52</title>		<desc>Region 0</desc>		<rect x="0" y="26.8641" width="79.2283" height="302.761" class="st2"></rect>		<text x="13.59" y="182.14" class="st3">Region 0</text>		</g>	<g id="shape2-6" transform="translate(14.4716,-293.672)">		<title>流程</title>		<desc>RAM ISR vector</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st4"></rect>		<text x="39.66" y="322.71" class="st3">RAM ISR vector</text>		</g>	<g id="shape3-9" transform="translate(14.4716,-272.044)">		<title>流程.2</title>		<desc>PS txt</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st4"></rect>		<text x="68.92" y="322.71" class="st3">PS txt</text>		</g>	<g id="shape4-12" transform="translate(14.4716,-185.579)">		<title>流程.4</title>		<desc>PS data</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st2"></rect>		<text x="63.13" y="322.71" class="st3">PS data</text>		</g>	<g id="shape5-15" transform="translate(14.4716,-142.323)">		<title>流程.5</title>		<desc>Sleep data retention region</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st2"></rect>		<text x="8.2" y="322.71" class="st3">Sleep data retention region</text>		</g>	<g id="shape8-18" transform="translate(14.4716,-207.207)">		<title>流程.250</title>		<desc>Border</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st4"></rect>		<text x="66.75" y="322.71" class="st3">Border</text>		</g>	<g id="shape34-21" transform="translate(14.4716,-163.95)">		<title>流程.40</title>		<desc>System stack</desc>		<rect x="0" y="307.996" width="172.513" height="21.6289" class="st2"></rect>		<text x="47.61" y="322.71" class="st3">System stack</text>		</g>	<g id="shape36-24" transform="translate(14.4716,-120.693)">		<title>流程.36</title>		<desc>Perf data</desc>		<rect x="0" y="307.996" width="172.513" height="21.6289" class="st2"></rect>		<text x="59.88" y="322.71" class="st3">Perf data</text>		</g>	<g id="shape37-27" transform="translate(14.4716,-99.065)">		<title>流程.37</title>		<desc>App data</desc>		<rect x="0" y="307.996" width="172.513" height="21.6289" class="st2"></rect>		<text x="60.23" y="322.71" class="st3">App data</text>		</g>	<g id="shape38-30" transform="translate(14.4716,-77.437)">		<title>流程.38</title>		<desc>WLAN ctrl &#38; system data</desc>		<rect x="0" y="307.996" width="172.513" height="21.6289" class="st2"></rect>		<text x="14.02" y="322.71" class="st3">WLAN ctrl &#38; system data</text>		</g>	<g id="shape39-33" transform="translate(14.4716,-55.809)">		<title>流程.39</title>		<desc>Packet memory</desc>		<rect x="0" y="307.996" width="172.513" height="21.6289" class="st2"></rect>		<text x="41.1" y="322.71" class="st3">Packet memory</text>		</g>	<g id="shape40-36" transform="translate(14.4716,-34.181)">		<title>流程.40</title>		<desc>HW DS and descriptors</desc>		<rect x="0" y="307.996" width="172.513" height="21.6289" class="st2"></rect>		<text x="18.34" y="322.71" class="st3">HW DS and descriptors</text>		</g>	<g id="shape41-39" transform="translate(14.4716,-12.553)">		<title>流程.41</title>		<desc>Heap</desc>		<rect x="0" y="307.996" width="172.513" height="21.6288" class="st2"></rect>		<text x="70.72" y="322.71" class="st3">Heap</text>		</g>	<g id="group69-42" transform="translate(186.815,-315.277)">		<title>Sheet.69</title>		<g id="shape59-43" transform="translate(12.6398,-0.164477)">			<title>Sheet.59</title>			<desc>0x0</desc>			<rect x="0" y="320.593" width="65.1637" height="9.03158" class="st5"></rect>			<text x="20.88" y="329.01" class="st6">0x0</text>			</g>		<g id="shape60-46">			<title>Separator.35</title>			<path d="M0 329.63 L91.09 329.63" class="st7"></path>		</g>	</g>	<g id="group73-49" transform="translate(187.263,-207.277)">		<title>Sheet.73</title>		<g id="shape74-50" transform="translate(12.6398,-0.164477)">			<title>Sheet.74</title>			<desc>0x16000</desc>			<rect x="0" y="320.593" width="65.1637" height="9.03158" class="st5"></rect>			<text x="5.28" y="329.01" class="st6">0x16000</text>			</g>		<g id="shape75-53">			<title>Separator.35</title>			<path d="M0 329.63 L91.09 329.63" class="st7"></path>		</g>	</g>	<g id="group79-56" transform="translate(186.815,-12.553)">		<title>Sheet.79</title>		<g id="shape80-57" transform="translate(12.6398,-0.164477)">			<title>Sheet.80</title>			<desc>0xA0000</desc>			<rect x="0" y="320.593" width="65.1637" height="9.03158" class="st5"></rect>			<text x="5.28" y="329.01" class="st6">0xA0000</text>			</g>		<g id="shape81-60">			<title>Separator.35</title>			<path d="M0 329.63 L91.09 329.63" class="st7"></path>		</g>	</g>	<g id="shape48-63" transform="translate(278.285,-207.207)">		<title>流程.48</title>		<desc>Border</desc>		<rect x="0" y="307.997" width="79.2283" height="21.6278" class="st4"></rect>		<text x="20.1" y="322.71" class="st3">Border</text>		</g>	<g id="shape52-66" transform="translate(278.285,-12.553)">		<title>流程.52</title>		<desc>RAM_RW</desc>		<rect x="0" y="134.971" width="79.2283" height="194.654" class="st2"></rect>		<text x="10.73" y="236.2" class="st3">RAM_RW</text>		</g>	<g id="shape42-69" transform="translate(278.285,-228.835)">		<title>流程.42</title>		<desc>RAM_RO</desc>		<rect x="0" y="243.16" width="79.2283" height="86.4652" class="st4"></rect>		<text x="11.8" y="290.29" class="st3">RAM_RO</text>		</g>	<g id="shape89-72" transform="translate(388.281,-250.414)">		<title>流程.42</title>		<desc>Region 1 &#38; 2</desc>		<rect x="0" y="264.739" width="88.7192" height="64.8864" class="st4"></rect>		<text x="6.78" y="308.88" class="st3">Region 1 &#38; 2</text>		</g>	<g id="shape86-75" transform="translate(397.772,-284.746)">		<title>流程.49</title>		<desc>Region 7</desc>		<rect x="0" y="307.996" width="88.7192" height="21.6289" class="st2"></rect>		<text x="18.34" y="322.71" class="st3">Region 7</text>		</g>	<g id="shape90-78" transform="translate(14.4716,-250.416)">		<title>流程.90</title>		<desc>Perf txt</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st4"></rect>		<text x="65.67" y="322.71" class="st3">Perf txt</text>		</g>	<g id="shape91-81" transform="translate(14.4716,-228.75)">		<title>流程.91</title>		<desc>App txt</desc>		<rect x="0" y="307.997" width="172.513" height="21.6278" class="st4"></rect>		<text x="66.02" y="322.71" class="st3">App txt</text>		</g></g>
</svg>

Table : MPU regions of application RAM

| Region | Start address | Size | AP | XN | Subregion |
| --- | --- | --- | --- | --- | --- |
| 0 | 0x0 | 0x100000 | RW | 1 | 0t11100000 |
| 1 | 0x0 | 0x10000 | RO | 0 | 0t00000000 |
| 2 | 0x8000 | 0x8000 | RO | 0 | 0t11000000 |
| 7 | 0x0 | 0x400 | RW | 1 | 0t00000001 |

### Application RRAM

**Memory layout**

The following figure illustrates the memory layout of application RRAM.

Figure : Application RRAM memory layout
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export App_RRAM_mem_LO.svg App_RRAM_mem_LO -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="4.8312in" height="6.14063in" viewbox="0 0 347.847 442.125" xml:space="preserve" color-interpolation-filters="sRGB" class="st7"><style>.svg-3 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-3 .st2 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-3 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-3 .st4 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-3 .st5 { fill: #f7f8fa; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-3 .st6 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-3 .st7 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title></title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title></title>		<rect x="0" y="0.750018" width="347.097" height="441.375" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape2-3" transform="translate(14.4716,-406.172)">		<title></title>		<desc>PBL</desc>		<rect x="0" y="420.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="73.97" y="435.21" class="st3">PBL</text>		</g>	<g id="shape3-6" transform="translate(14.4716,-384.544)">		<title></title>		<desc>FDT</desc>		<rect x="0" y="420.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="73.62" y="435.21" class="st3">FDT</text>		</g>	<g id="shape4-9" transform="translate(14.4716,-341.289)">		<title></title>		<desc>SBL_A</desc>		<rect x="0" y="420.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="66.02" y="435.21" class="st3">SBL_A</text>		</g>	<g id="shape5-12" transform="translate(14.4716,-298.033)">		<title></title>		<desc>FLASH_ISR vector</desc>		<rect x="0" y="420.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="31.35" y="435.21" class="st3">FLASH_ISR vector</text>		</g>	<g id="shape6-15" transform="translate(14.4716,-254.775)">		<title></title>		<desc>Cal data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="62.05" y="435.21" class="st3">Cal data</text>		</g>	<g id="shape7-18" transform="translate(14.4716,-233.146)">		<title></title>		<desc>INI data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="63.49" y="435.21" class="st3">INI data</text>		</g>	<g id="shape8-21" transform="translate(14.4716,-362.917)">		<title></title>		<desc>PBL_PATCH</desc>		<rect x="0" y="420.497" width="172.513" height="21.6278" class="st2"></rect>		<text x="48.33" y="435.21" class="st3">PBL_PATCH</text>		</g>	<g id="shape9-24" transform="translate(14.4716,-276.404)">		<title></title>		<desc>Regdb data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="52.64" y="435.21" class="st3">Regdb data</text>		</g>	<g id="shape34-27" transform="translate(14.4716,-319.66)">		<title></title>		<desc>SBL_B</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="66.02" y="435.21" class="st3">SBL_B</text>		</g>	<g id="shape35-30" transform="translate(14.4716,-211.518)">		<title></title>		<desc>PS txt</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="68.92" y="435.21" class="st3">PS txt</text>		</g>	<g id="shape36-33" transform="translate(14.4716,-189.89)">		<title></title>		<desc>PS data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="63.13" y="435.21" class="st3">PS data</text>		</g>	<g id="shape37-36" transform="translate(14.4716,-168.262)">		<title></title>		<desc>Perf txt</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="65.67" y="435.21" class="st3">Perf txt</text>		</g>	<g id="shape38-39" transform="translate(14.4716,-146.634)">		<title></title>		<desc>App txt</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="66.02" y="435.21" class="st3">App txt</text>		</g>	<g id="shape39-42" transform="translate(14.4716,-125.006)">		<title></title>		<desc>Perf data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="59.88" y="435.21" class="st3">Perf data</text>		</g>	<g id="shape40-45" transform="translate(14.4716,-103.378)">		<title></title>		<desc>App data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="60.23" y="435.21" class="st3">App data</text>		</g>	<g id="shape41-48" transform="translate(14.4716,-81.75)">		<title></title>		<desc>WLAN ctrl &#38; system data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="14.02" y="435.21" class="st3">WLAN ctrl &#38; system data</text>		</g>	<g id="shape49-51" transform="translate(14.4716,-60.121)">		<title></title>		<desc>WLAN ctrl &#38; system txt</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st4"></rect>		<text x="19.81" y="435.21" class="st3">WLAN ctrl &#38; system txt</text>		</g>	<g id="shape50-54" transform="translate(14.4716,-38.492)">		<title></title>		<desc>Free space</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st5"></rect>		<text x="53.74" y="435.21" class="st3">Free space</text>		</g>	<g id="shape51-57" transform="translate(14.4716,-16.8629)">		<title></title>		<desc>BDF data</desc>		<rect x="0" y="420.496" width="172.513" height="21.6289" class="st2"></rect>		<text x="58.8" y="435.21" class="st3">BDF data</text>		</g>	<g id="group56-60" transform="translate(221.472,-16.8629)">		<title></title>		<g id="group45-61">			<title></title>			<g id="shape43-62">				<title></title>				<desc>Data</desc>				<rect x="0" y="420.496" width="63" height="21.6289" class="st2"></rect>				<text x="17.77" y="436.23" class="st3">Data</text>				</g>			<g id="shape44-65" transform="translate(0,-43.256)">				<title></title>				<desc>Text</desc>				<rect x="0" y="420.496" width="63" height="21.6289" class="st4"></rect>				<text x="18.86" y="436.23" class="st3">Text</text>				</g>		</g>		<g id="group46-68" transform="translate(68.625,5.68434E-14)">			<title></title>			<g id="shape47-69">				<title></title>				<desc>XN,RW</desc>				<rect x="0" y="420.496" width="54" height="21.6289" class="st6"></rect>				<text x="2" y="436.23" class="st3">XN,RW</text>				</g>			<g id="shape48-72" transform="translate(0,-43.256)">				<title></title>				<desc>X, RO</desc>				<rect x="0" y="420.496" width="54" height="21.6289" class="st6"></rect>				<text x="2" y="436.23" class="st3">X, RO</text>				</g>		</g>	</g></g>
</svg>

**MPU configuration**

See the following figure and table for details about the MPU configuration of application RRAM.

Figure : MPU configuration of application RRAM
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export App_RRAM_MPU_conf.svg MPU_conf_app_RRAM -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="4.35937in" height="5.51042in" viewbox="0 0 313.875 396.75" xml:space="preserve" color-interpolation-filters="sRGB" class="st8"><style>.svg-4 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-4 .st2 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-4 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-4 .st4 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-4 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-4 .st6 { fill: #000000; font-family: Courier New; font-size: 1.08334em; letter-spacing: normal }
.svg-4 .st7 { stroke: #000000; stroke-dasharray: 1.75, 1.25; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.25 }
.svg-4 .st8 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title></title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title></title>		<rect x="0" y="0.750019" width="313.125" height="396" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape2-3" transform="translate(195.268,-21.5946)">		<title></title>		<desc>Region 4</desc>		<rect x="0" y="50.6892" width="79.2288" height="346.061" class="st2"></rect>		<text x="13.6" y="227.62" class="st3">Region 4</text>		</g>	<g id="shape4-6" transform="translate(25.8502,-151.369)">		<title></title>		<desc>RRAM txt</desc>		<rect x="0" y="310.235" width="79.2288" height="86.5152" class="st2"></rect>		<text x="11.81" y="357.39" class="st3">RRAM txt</text>		</g>	<g id="shape6-9" transform="translate(25.8502,-237.883)">		<title></title>		<desc>Border</desc>		<rect x="0" y="375.121" width="79.2288" height="21.6289" class="st4"></rect>		<text x="20.1" y="389.84" class="st3">Border</text>		</g>	<g id="shape7-12" transform="translate(25.8502,-108.113)">		<title></title>		<desc>Border</desc>		<rect x="0" y="353.492" width="79.2288" height="43.2576" class="st2"></rect>		<text x="20.1" y="379.02" class="st3">Border</text>		</g>	<g id="shape8-15" transform="translate(25.8502,-21.6016)">		<title></title>		<desc>Board data</desc>		<rect x="0" y="310.235" width="79.2288" height="86.5152" class="st4"></rect>		<text x="7.81" y="357.39" class="st3">Board data</text>		</g>	<g id="shape10-18" transform="translate(25.8502,-259.508)">		<title></title>		<desc>RRAM data</desc>		<rect x="0" y="288.606" width="79.2288" height="108.144" class="st4"></rect>		<text x="6.02" y="346.58" class="st3">RRAM data</text>		</g>	<g id="shape11-21" transform="translate(206.896,-21.6016)">		<title></title>		<desc>Region 6</desc>		<rect x="0" y="310.235" width="79.2288" height="86.5152" class="st4"></rect>		<text x="13.6" y="357.39" class="st3">Region 6</text>		</g>	<g id="shape12-24" transform="translate(206.896,-237.884)">		<title></title>		<desc>Region 5</desc>		<rect x="0" y="266.977" width="79.2288" height="129.773" class="st4"></rect>		<text x="13.6" y="335.76" class="st3">Region 5</text>		</g>	<g id="shape32-27" transform="translate(114.754,-367.754)">		<title></title>		<desc>0x200000</desc>		<rect x="0" y="387.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="396.13" class="st6">0x200000</text>		</g>	<g id="shape33-30" transform="translate(106.476,-367.589)">		<title></title>		<path d="M0 396.75 L72.76 396.75" class="st7"></path>	</g>	<g id="shape35-33" transform="translate(114.754,-259.656)">		<title></title>		<desc>0x23FF80</desc>		<rect x="0" y="387.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="396.13" class="st6">0x23FF80</text>		</g>	<g id="shape36-36" transform="translate(106.476,-259.491)">		<title></title>		<path d="M0 396.75 L72.76 396.75" class="st7"></path>	</g>	<g id="shape38-39" transform="translate(115.258,-237.914)">		<title></title>		<desc>0x250000</desc>		<rect x="0" y="387.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="396.13" class="st6">0x250000</text>		</g>	<g id="shape39-42" transform="translate(106.834,-237.75)">		<title></title>		<path d="M0 396.75 L72.76 396.75" class="st7"></path>	</g>	<g id="shape41-45" transform="translate(115.258,-151.656)">		<title></title>		<desc>0x312668</desc>		<rect x="0" y="387.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="396.13" class="st6">0x312668</text>		</g>	<g id="shape42-48" transform="translate(106.834,-151.491)">		<title></title>		<path d="M0 396.75 L72.76 396.75" class="st7"></path>	</g>	<g id="shape44-51" transform="translate(114.754,-108.343)">		<title></title>		<desc>0x37A000</desc>		<rect x="0" y="387.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="396.13" class="st6">0x37A000</text>		</g>	<g id="shape45-54" transform="translate(106.476,-108.179)">		<title></title>		<path d="M0 396.75 L72.76 396.75" class="st7"></path>	</g></g>
</svg>

Table : MPU regions of application RRAM

| Region | Start address | Size | AP | XN | Subregion |
| --- | --- | --- | --- | --- | --- |
| 4 | 0x200000 | 0x200000 | RO | 0 | 0t11000000 |
| 5 | 0x200000 | 0x80000 | RW | 1 | 0t11100000 |
| 6 | 0x370000 | 0x10000 | RW | 1 | 0t00011111 |

### MPU configuration for SBL image

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html)

The MPU defines five regions for SBL RAM and RRAM.

### SBL RAM

**Memory layout**

The following figure illustrates the memory layout of SBL RAM.

Figure : SBL RAM memory layout 
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export SBL_RAM_mem_LO.svg Page-18 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="4.02391in" height="3.50521in" viewbox="0 0 289.722 252.375" xml:space="preserve" color-interpolation-filters="sRGB" class="st6"><style>.svg-5 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-5 .st2 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-5 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-5 .st4 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-5 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-5 .st6 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title></title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title></title>		<rect x="0" y="0.750003" width="288.972" height="251.625" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape36-3" transform="translate(38.1462,-191.261)">		<title></title>		<desc>BANK A</desc>		<rect x="0" y="209.117" width="79.2288" height="43.2576" class="st2"></rect>		<text x="15.77" y="234.65" class="st3">BANK A</text>		</g>	<g id="shape37-6" transform="translate(38.1462,-148.003)">		<title></title>		<desc>BANK B</desc>		<rect x="0" y="209.117" width="79.2288" height="43.2576" class="st2"></rect>		<text x="15.77" y="234.65" class="st3">BANK B</text>		</g>	<g id="shape38-9" transform="translate(38.1462,-104.746)">		<title></title>		<desc>BANK C</desc>		<rect x="0" y="209.117" width="79.2288" height="43.2576" class="st2"></rect>		<text x="15.41" y="234.65" class="st3">BANK C</text>		</g>	<g id="shape39-12" transform="translate(38.1462,-61.488)">		<title></title>		<desc>BANK D</desc>		<rect x="0" y="209.117" width="79.2288" height="43.2576" class="st2"></rect>		<text x="15.41" y="234.65" class="st3">BANK D</text>		</g>	<g id="shape40-15" transform="translate(38.1462,-40.003)">		<title></title>		<desc>SBL_RO</desc>		<rect x="0" y="230.746" width="79.2288" height="21.6289" class="st4"></rect>		<text x="13.96" y="245.46" class="st3">SBL_RO</text>		</g>	<g id="shape41-18" transform="translate(38.1462,-18.375)">		<title></title>		<desc>SBL_RW</desc>		<rect x="0" y="230.746" width="79.2288" height="21.6289" class="st2"></rect>		<text x="12.88" y="245.46" class="st3">SBL_RW</text>		</g>	<g id="group45-21" transform="translate(163.347,-18.375)">		<title></title>		<g id="shape43-22">			<title></title>			<desc>Data</desc>			<rect x="0" y="230.746" width="63" height="21.6289" class="st2"></rect>			<text x="17.77" y="246.48" class="st3">Data</text>			</g>		<g id="shape44-25" transform="translate(0,-43.256)">			<title></title>			<desc>Text</desc>			<rect x="0" y="230.746" width="63" height="21.6289" class="st4"></rect>			<text x="18.86" y="246.48" class="st3">Text</text>			</g>	</g>	<g id="group46-28" transform="translate(231.972,-18.375)">		<title></title>		<g id="shape47-29">			<title></title>			<desc>XN,RW</desc>			<rect x="0" y="230.746" width="54" height="21.6289" class="st5"></rect>			<text x="2" y="246.48" class="st3">XN,RW</text>			</g>		<g id="shape48-32" transform="translate(0,-43.256)">			<title></title>			<desc>X, RO</desc>			<rect x="0" y="230.746" width="54" height="21.6289" class="st5"></rect>			<text x="2" y="246.48" class="st3">X, RO</text>			</g>	</g></g>
</svg>

**MPU configuration**

See the following figure and table for details about the MPU configuration of SBL RAM.

Figure : MPU configuration of SBL RAM
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export SBL_RAM_MPU_Conf.svg MPU_Conf_SBL_RAM -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="4.57292in" height="4.07292in" viewbox="0 0 329.25 293.25" xml:space="preserve" color-interpolation-filters="sRGB" class="st8"><style>.svg-6 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-6 .st2 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-6 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-6 .st4 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-6 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-6 .st6 { fill: #000000; font-family: Courier New; font-size: 1.08334em; letter-spacing: normal }
.svg-6 .st7 { stroke: #000000; stroke-dasharray: 1.75, 1.25; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.25 }
.svg-6 .st8 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title></title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title></title>		<rect x="0" y="0.750014" width="328.5" height="292.5" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape42-3" transform="translate(202.713,-15.9917)">		<title></title>		<desc>Region 0</desc>		<rect x="0" y="33.8483" width="79.2283" height="259.402" class="st2"></rect>		<text x="13.59" y="167.45" class="st3">Region 0</text>		</g>	<g id="shape43-6" transform="translate(212.861,-59.25)">		<title></title>		<desc>Region 1</desc>		<rect x="0" y="249.992" width="79.2283" height="43.2576" class="st4"></rect>		<text x="13.59" y="275.52" class="st3">Region 1</text>		</g>	<g id="shape53-9" transform="translate(112.657,-102.718)">		<title></title>		<desc>0x80000</desc>		<rect x="0" y="284.218" width="73.3376" height="9.03158" class="st5"></rect>		<text x="9.36" y="292.63" class="st6">0x80000</text>		</g>	<g id="shape54-12" transform="translate(104.233,-102.554)">		<title></title>		<path d="M0 293.25 L72.76 293.25" class="st7"></path>	</g>	<g id="shape55-15" transform="translate(112.657,-59.602)">		<title></title>		<desc>0x88000</desc>		<rect x="0" y="284.218" width="73.3376" height="9.03158" class="st5"></rect>		<text x="9.36" y="292.63" class="st6">0x88000</text>		</g>	<g id="shape56-18" transform="translate(104.233,-59.4375)">		<title></title>		<path d="M0 293.25 L72.76 293.25" class="st7"></path>	</g>	<g id="shape57-21" transform="translate(112.153,-16.2895)">		<title></title>		<desc>0x90000</desc>		<rect x="0" y="284.218" width="73.3376" height="9.03158" class="st5"></rect>		<text x="9.36" y="292.63" class="st6">0x90000</text>		</g>	<g id="shape58-24" transform="translate(103.875,-16.125)">		<title></title>		<path d="M0 293.25 L72.76 293.25" class="st7"></path>	</g>	<g id="group59-27" transform="translate(25.4885,-15.9917)">		<title></title>		<g id="shape36-28" transform="translate(0,-216.144)">			<title></title>			<desc>BANK A</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.77" y="275.52" class="st3">BANK A</text>			</g>		<g id="shape37-31" transform="translate(0,-172.886)">			<title></title>			<desc>BANK B</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.77" y="275.52" class="st3">BANK B</text>			</g>		<g id="shape38-34" transform="translate(0,-129.629)">			<title></title>			<desc>BANK C</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.41" y="275.52" class="st3">BANK C</text>			</g>		<g id="shape39-37" transform="translate(0,-86.3713)">			<title></title>			<desc>BANK D</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.41" y="275.52" class="st3">BANK D</text>			</g>		<g id="shape40-40" transform="translate(0,-64.8863)">			<title></title>			<desc>SBL_RO</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st4"></rect>			<text x="13.96" y="286.34" class="st3">SBL_RO</text>			</g>		<g id="shape41-43" transform="translate(0,-43.2583)">			<title></title>			<desc>Border</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st4"></rect>			<text x="20.1" y="286.34" class="st3">Border</text>			</g>		<g id="shape46-46" transform="translate(1.9984E-13,-21.6291)">			<title></title>			<desc>SBL_RO</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st2"></rect>			<text x="13.96" y="286.34" class="st3">SBL_RO</text>			</g>		<g id="shape47-49">			<title></title>			<desc>Border</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st2"></rect>			<text x="20.1" y="286.34" class="st3">Border</text>			</g>	</g></g>
</svg>

Table : MPU regions of SBL RAM

| Region | Start Address | Size | AP | XN | Subregion |
| --- | --- | --- | --- | --- | --- |
| 0 | 0x0 | 0x100000 | RW | 1 | 0t11100000 |
| 1 | 0x80000 | 0x8000 | RO | 0 | 0t00000000 |

### SBL RRAM

**Memory layout**

Some of SBL codes run on RRAM, including shared functions in PBL region and PBL\_PATCH region. PBL\_PATCH region has two parts: PBL\_PATCH\_RO for text and PBL\_PATCH\_RW for data.

The following figure illustrates the memory layout of SBL RRAM.

Figure : SBL RRAM memory layout
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export SBL_RRAM_mem_LO.svg MPU_Conf_SBL_RAM -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="4.57292in" height="4.07292in" viewbox="0 0 329.25 293.25" xml:space="preserve" color-interpolation-filters="sRGB" class="st8"><style>.svg-7 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-7 .st2 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-7 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-7 .st4 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-7 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-7 .st6 { fill: #000000; font-family: Courier New; font-size: 1.08334em; letter-spacing: normal }
.svg-7 .st7 { stroke: #000000; stroke-dasharray: 1.75, 1.25; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.25 }
.svg-7 .st8 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title></title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title></title>		<rect x="0" y="0.750014" width="328.5" height="292.5" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape42-3" transform="translate(202.713,-15.9917)">		<title></title>		<desc>Region 0</desc>		<rect x="0" y="33.8483" width="79.2283" height="259.402" class="st2"></rect>		<text x="13.59" y="167.45" class="st3">Region 0</text>		</g>	<g id="shape43-6" transform="translate(212.861,-59.25)">		<title></title>		<desc>Region 1</desc>		<rect x="0" y="249.992" width="79.2283" height="43.2576" class="st4"></rect>		<text x="13.59" y="275.52" class="st3">Region 1</text>		</g>	<g id="shape53-9" transform="translate(112.657,-102.718)">		<title></title>		<desc>0x80000</desc>		<rect x="0" y="284.218" width="73.3376" height="9.03158" class="st5"></rect>		<text x="9.36" y="292.63" class="st6">0x80000</text>		</g>	<g id="shape54-12" transform="translate(104.233,-102.554)">		<title></title>		<path d="M0 293.25 L72.76 293.25" class="st7"></path>	</g>	<g id="shape55-15" transform="translate(112.657,-59.602)">		<title></title>		<desc>0x88000</desc>		<rect x="0" y="284.218" width="73.3376" height="9.03158" class="st5"></rect>		<text x="9.36" y="292.63" class="st6">0x88000</text>		</g>	<g id="shape56-18" transform="translate(104.233,-59.4375)">		<title></title>		<path d="M0 293.25 L72.76 293.25" class="st7"></path>	</g>	<g id="shape57-21" transform="translate(112.153,-16.2895)">		<title></title>		<desc>0x90000</desc>		<rect x="0" y="284.218" width="73.3376" height="9.03158" class="st5"></rect>		<text x="9.36" y="292.63" class="st6">0x90000</text>		</g>	<g id="shape58-24" transform="translate(103.875,-16.125)">		<title></title>		<path d="M0 293.25 L72.76 293.25" class="st7"></path>	</g>	<g id="group59-27" transform="translate(25.4885,-15.9917)">		<title></title>		<g id="shape36-28" transform="translate(0,-216.144)">			<title></title>			<desc>BANK A</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.77" y="275.52" class="st3">BANK A</text>			</g>		<g id="shape37-31" transform="translate(0,-172.886)">			<title></title>			<desc>BANK B</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.77" y="275.52" class="st3">BANK B</text>			</g>		<g id="shape38-34" transform="translate(0,-129.629)">			<title></title>			<desc>BANK C</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.41" y="275.52" class="st3">BANK C</text>			</g>		<g id="shape39-37" transform="translate(0,-86.3713)">			<title></title>			<desc>BANK D</desc>			<rect x="0" y="249.992" width="79.2288" height="43.2576" class="st2"></rect>			<text x="15.41" y="275.52" class="st3">BANK D</text>			</g>		<g id="shape40-40" transform="translate(0,-64.8863)">			<title></title>			<desc>SBL_RO</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st4"></rect>			<text x="13.96" y="286.34" class="st3">SBL_RO</text>			</g>		<g id="shape41-43" transform="translate(0,-43.2583)">			<title></title>			<desc>Border</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st4"></rect>			<text x="20.1" y="286.34" class="st3">Border</text>			</g>		<g id="shape46-46" transform="translate(1.9984E-13,-21.6291)">			<title></title>			<desc>SBL_RO</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st2"></rect>			<text x="13.96" y="286.34" class="st3">SBL_RO</text>			</g>		<g id="shape47-49">			<title></title>			<desc>Border</desc>			<rect x="0" y="271.621" width="79.2288" height="21.6289" class="st2"></rect>			<text x="20.1" y="286.34" class="st3">Border</text>			</g>	</g></g>
</svg>

**MPU configuration**

See the following figure and table for details about the MPU configuration of SBL RRAM.

Figure : MPU configuration of SBL RRAM
                
                <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export SBL_RRAM_MPU_conf.svg SBL_RRAM_MPU_conf -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="5.00521in" height="5.26042in" viewbox="0 0 360.375 378.75" xml:space="preserve" color-interpolation-filters="sRGB" class="st8"><style>.svg-8 .st1 { fill: #f7f8fa; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-8 .st2 { fill: #acbacf; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-8 .st3 { fill: #000000; font-family: Arial; font-size: 1.08334em; letter-spacing: normal }
.svg-8 .st4 { fill: #dee3ec; stroke: #404040; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-8 .st5 { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-8 .st6 { fill: #000000; font-family: Courier New; font-size: 1.08334em; letter-spacing: normal }
.svg-8 .st7 { stroke: #000000; stroke-dasharray: 1.75, 1.25; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.25 }
.svg-8 .st8 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g>	<title></title>	<g id="shape1-1" transform="translate(0.375,-0.375)">		<title></title>		<rect x="0" y="0.750007" width="359.625" height="378" rx="7.2" ry="7.2" class="st1"></rect>	</g>	<g id="shape2-3" transform="translate(22.5,-342.797)">		<title></title>		<desc>PBL</desc>		<rect x="0" y="357.122" width="144" height="21.6278" class="st2"></rect>		<text x="59.71" y="371.84" class="st3">PBL</text>		</g>	<g id="shape3-6" transform="translate(22.5,-321.169)">		<title></title>		<desc>FDT</desc>		<rect x="0" y="357.122" width="144" height="21.6278" class="st4"></rect>		<text x="59.36" y="371.84" class="st3">FDT</text>		</g>	<g id="shape4-9" transform="translate(22.5,-277.914)">		<title></title>		<desc>PBL_TATCH_RW</desc>		<rect x="0" y="357.122" width="144" height="21.6278" class="st4"></rect>		<text x="19.99" y="371.84" class="st3">PBL_TATCH_RW</text>		</g>	<g id="shape8-12" transform="translate(22.5,-299.542)">		<title></title>		<desc>PBL_TATCH_RO</desc>		<rect x="0" y="357.122" width="144" height="21.6278" class="st2"></rect>		<text x="21.07" y="371.84" class="st3">PBL_TATCH_RO</text>		</g>	<g id="shape10-15" transform="translate(22.5,-256.285)">		<title></title>		<desc>SBLA</desc>		<rect x="0" y="357.121" width="144" height="21.6289" class="st4"></rect>		<text x="55.38" y="371.84" class="st3">SBLA</text>		</g>	<g id="shape17-18" transform="translate(22.5,-18.5112)">		<title></title>		<desc>……</desc>		<rect x="0" y="140.833" width="144" height="237.917" class="st4"></rect>		<text x="59" y="263.69" class="st3">……</text>		</g>	<g id="shape18-21" transform="translate(256.63,-18.5112)">		<title></title>		<desc>Region 2</desc>		<rect x="0" y="32.6892" width="79.2283" height="346.061" class="st4"></rect>		<text x="13.59" y="209.62" class="st3">Region 2</text>		</g>	<g id="shape19-24" transform="translate(266.781,-299.541)">		<title></title>		<desc>Region 4</desc>		<rect x="0" y="357.121" width="79.2283" height="21.6288" class="st2"></rect>		<text x="13.59" y="371.84" class="st3">Region 4</text>		</g>	<g id="shape20-27" transform="translate(266.781,-342.796)">		<title></title>		<desc>Region 3</desc>		<rect x="0" y="357.121" width="79.2283" height="21.6288" class="st2"></rect>		<text x="13.59" y="371.84" class="st3">Region 3</text>		</g>	<g id="shape24-30" transform="translate(175.282,-343.093)">		<title></title>		<desc>0x208000</desc>		<rect x="0" y="369.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="378.13" class="st6">0x208000</text>		</g>	<g id="shape25-33" transform="translate(166.858,-342.929)">		<title></title>		<path d="M0 378.75 L72.76 378.75" class="st7"></path>	</g>	<g id="shape26-36" transform="translate(175.282,-299.977)">		<title></title>		<desc>0x20A000</desc>		<rect x="0" y="369.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="378.13" class="st6">0x20A000</text>		</g>	<g id="shape27-39" transform="translate(166.858,-299.812)">		<title></title>		<path d="M0 378.75 L72.76 378.75" class="st7"></path>	</g>	<g id="shape38-42" transform="translate(175.282,-364.468)">		<title></title>		<desc>0x200000</desc>		<rect x="0" y="369.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="378.13" class="st6">0x200000</text>		</g>	<g id="shape39-45" transform="translate(166.858,-364.304)">		<title></title>		<path d="M0 378.75 L72.76 378.75" class="st7"></path>	</g>	<g id="shape40-48" transform="translate(175.282,-321.352)">		<title></title>		<desc>0x208400</desc>		<rect x="0" y="369.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="378.13" class="st6">0x208400</text>		</g>	<g id="shape41-51" transform="translate(166.858,-321.187)">		<title></title>		<path d="M0 378.75 L72.76 378.75" class="st7"></path>	</g>	<g id="shape42-54" transform="translate(174.778,-278.039)">		<title></title>		<desc>0x20A400</desc>		<rect x="0" y="369.718" width="73.3376" height="9.03158" class="st5"></rect>		<text x="5.46" y="378.13" class="st6">0x20A400</text>		</g>	<g id="shape43-57" transform="translate(166.5,-277.875)">		<title></title>		<path d="M0 378.75 L72.76 378.75" class="st7"></path>	</g></g>
</svg>

Table : MPU regions of SBL RRAM

| Region | Start Address | Size | AP | XN | Subregion |
| --- | --- | --- | --- | --- | --- |
| 2 | 0x200000 | 0x200000 | RW | 1 | 0t11000000 |
| 3 | 0x200000 | 0x8000 | RO | 0 | 0t00000000 |
| 4 | 0x208000 | 0x2000 | RO | 0 | 0t00000001 |

## Watchdog

Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/system_services.html)

QCC730 has a hardware watchdog module that can provide protection from certain types of system crashes at the system level. The configuration file of the watchdog is
                qccsdk\demo\qcli\_demo\prj.conf. The default configuration is as follows:

    CONFIG_WATCH_DOG_ENABLE=n
    CONFIG_WATCH_DOG_BITE_TIME=8Copy to clipboard

### Enable watchdog

Follow these steps to enable the watchdog:

1. Edit the qccsdk\demo\qcli\_demo\prj.conf file, and change the configuration as follows: 

        CONFIG_WATCH_DOG_ENABLE=y
        CONFIG_WATCH_DOG_BITE_TIME=8Copy to clipboard
2. Rebuild the application.

The watchdog then works after the new application runs.

Last Published: Jun 03, 2026

[Previous Topic
Hosted mode over SPI](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/use_spi_for_hosted_mode.md) [Next Topic
Security](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/security.md)