<?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中的主题 Access to RAM outside section</title>
    <link>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870202#M3880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to keep some information in RAM during a reset to handle the issue that caused the reset. Therefore, I reduced the section of m_data_2 of my S32K116 by 0x20 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accessing those bytes with a debugger attached and handling SW-resets works fine.&lt;/P&gt;&lt;P&gt;Anyway, if I remove the debugger, the MCU cannot pass the line where the memory outside the section is accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please give me a hint what causes this behaviour?&lt;/P&gt;&lt;P&gt;Is there some kind of protection that the debugger disables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2019 11:29:24 GMT</pubDate>
    <dc:creator>markus1</dc:creator>
    <dc:date>2019-02-18T11:29:24Z</dc:date>
    <item>
      <title>Access to RAM outside section</title>
      <link>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870202#M3880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to keep some information in RAM during a reset to handle the issue that caused the reset. Therefore, I reduced the section of m_data_2 of my S32K116 by 0x20 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accessing those bytes with a debugger attached and handling SW-resets works fine.&lt;/P&gt;&lt;P&gt;Anyway, if I remove the debugger, the MCU cannot pass the line where the memory outside the section is accessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please give me a hint what causes this behaviour?&lt;/P&gt;&lt;P&gt;Is there some kind of protection that the debugger disables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 11:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870202#M3880</guid>
      <dc:creator>markus1</dc:creator>
      <dc:date>2019-02-18T11:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Access to RAM outside section</title>
      <link>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870203#M3881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out, that the ECC module causes the error.&lt;/P&gt;&lt;P&gt;Anyway, I could not figure out how to disable it for reading the reset data without getting an ECC fault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 15:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870203#M3881</guid>
      <dc:creator>markus1</dc:creator>
      <dc:date>2019-02-18T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access to RAM outside section</title>
      <link>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870204#M3882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to recommend&amp;nbsp;the proper way to retain data in the RAM after reset, please refer to the section "31.3.4 SRAM retention: power modes and resets" in the RM rev. 9.&lt;/P&gt;&lt;P&gt;Or you can look at the simple example for the S32K144&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-342503"&gt;https://community.nxp.com/docs/DOC-342503&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 08:06:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Access-to-RAM-outside-section/m-p/870204#M3882</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-02-19T08:06:24Z</dc:date>
    </item>
  </channel>
</rss>

