<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32Kのトピック回复： S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1956641#M41071</link>
    <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;1.&lt;SPAN&gt;The previous issue has been resolved, but after adding the following statement to my main function, it still produces a HardFault.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_0-1726662167258.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299725i9A88B51A4C466336/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_0-1726662167258.png" alt="victory_0-1726662167258.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_0-1726662167258.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. The code is attached.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 12:26:31 GMT</pubDate>
    <dc:creator>victory</dc:creator>
    <dc:date>2024-09-18T12:26:31Z</dc:date>
    <item>
      <title>S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1954262#M40938</link>
      <description>&lt;P&gt;Hi,NXP!&lt;/P&gt;&lt;P&gt;1.S32DS version: 3.5&amp;nbsp; &amp;nbsp; RTD version: 4.0.0&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Configuration of linker_flash_s32k312.ld, as shown in &lt;STRONG&gt;Figure 1&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_2-1726228276841.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299056iC52AD501B558F63F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_2-1726228276841.png" alt="victory_2-1726228276841.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_2-1726228276841.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Figure 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. When using the flexio DMA example, enable the statement __attribute__ ((section(".bootApp"))) unsigned short g_u2CurrBootOrAppMode in the program. During execution, it was found that the program ran incorrectly, as shown in &lt;STRONG&gt;Figure 2&lt;/STRONG&gt;. It was also noted that the bootApp address changed to 0x20408000 (with the map shown in &lt;STRONG&gt;Figure 3&lt;/STRONG&gt;), instead of the 0x20417FF0 set by the linker.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_0-1726227806996.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299054i9E6D98AE45D34FB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_0-1726227806996.png" alt="victory_0-1726227806996.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_0-1726227806996.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Figure 2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_3-1726228376529.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299058iF6DAAC31AF21BC07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_3-1726228376529.png" alt="victory_3-1726228376529.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_3-1726228376529.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;Figure 3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Specific code, see attachment &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Please help confirm what issue caused the section address of bootApp to change.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Noe:The crystal oscillator used in the code is 24MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Victory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Sep 2024 12:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1954262#M40938</guid>
      <dc:creator>victory</dc:creator>
      <dc:date>2024-09-13T12:03:31Z</dc:date>
    </item>
    <item>
      <title>回复： S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1956641#M41071</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;1.&lt;SPAN&gt;The previous issue has been resolved, but after adding the following statement to my main function, it still produces a HardFault.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_0-1726662167258.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299725i9A88B51A4C466336/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_0-1726662167258.png" alt="victory_0-1726662167258.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_0-1726662167258.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. The code is attached.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 12:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1956641#M41071</guid>
      <dc:creator>victory</dc:creator>
      <dc:date>2024-09-18T12:26:31Z</dc:date>
    </item>
    <item>
      <title>回复： S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1957629#M41139</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it will be due to SRAM ECC is not initialized for this memory area.&lt;BR /&gt;Try to keep&amp;nbsp;ram_rsvd2 at the end of SRAM in linker file&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 10:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1957629#M41139</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-09-19T10:44:17Z</dc:date>
    </item>
    <item>
      <title>回复： S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1958137#M41158</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.it will be due to SRAM ECC is not initialized for this memory area.&lt;BR /&gt;Try to keep&amp;nbsp;ram_rsvd2 at the end of SRAM in linker file&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;The problem has been solved&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.But when I enabled the AppCodeIntegrity and FingerPrintTestSN in the code, I found that the address of AppCodeIntegrity changed to 0x5d2016 instead of 0x5d0000, as shown in the link and code below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_0-1726793942683.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300158i1CF46D7971AA6728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_0-1726793942683.png" alt="victory_0-1726793942683.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_0-1726793942683.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victory_1-1726793985806.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300159i8956132F36B8735D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victory_1-1726793985806.png" alt="victory_1-1726793985806.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victory_1-1726793985806.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.The code is attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 01:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1958137#M41158</guid>
      <dc:creator>victory</dc:creator>
      <dc:date>2024-09-20T01:00:59Z</dc:date>
    </item>
    <item>
      <title>回复： S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1959137#M41208</link>
      <description>&lt;P&gt;could you explain how the "&lt;SPAN&gt;ram_rsvd2&amp;nbsp;&lt;/SPAN&gt;" works?&amp;nbsp; when after mcu reset, which stage/step ,&amp;nbsp; the hardware/ software will check this address and do the init operation, thanks&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 03:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1959137#M41208</guid>
      <dc:creator>victory</dc:creator>
      <dc:date>2024-09-21T03:34:50Z</dc:date>
    </item>
    <item>
      <title>回复： S32K312 Enabling Flexio DMA Drive Module Causes RAM Address Runaway</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1959720#M41234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;linker defines several symbols used in startup code. Here&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1727082164987.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300653iE169FE90C76CA6EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1727082164987.png" alt="PetrS_0-1727082164987.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PetrS_0-1727082164987.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Those are used in RamInit code section of startup_cm7.s file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_2-1727082340935.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300655iAB233F6F268E6B54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_2-1727082340935.png" alt="PetrS_2-1727082340935.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PetrS_2-1727082340935.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 09:05:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Enabling-Flexio-DMA-Drive-Module-Causes-RAM-Address/m-p/1959720#M41234</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-09-23T09:05:53Z</dc:date>
    </item>
  </channel>
</rss>

