<?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>topic Re: S32K324: Why are variable changes in Cache not visible in the debugger? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2321303#M56951</link>
    <description>&lt;P&gt;The screenshot shows the state before the assignment takes place. You would have to do at least one more step to execute the variable assignment.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 13:40:01 GMT</pubDate>
    <dc:creator>rweiss</dc:creator>
    <dc:date>2026-02-23T13:40:01Z</dc:date>
    <item>
      <title>S32K324: Why are variable changes in Cache not visible in the debugger?</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2300175#M56334</link>
      <description>&lt;P&gt;I am currently working with the S32K324 and noticed an issue when use trace32 observing variables during debugging. Specifically, I can observe changes to variables in non-cacheable sections, but not those in cacheable sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// This change is visible&lt;BR /&gt;volatile uint32 g_cnt __attribute__((section(".non_cacheable_data")));&lt;/P&gt;&lt;P&gt;// This change is NOT visible&lt;BR /&gt;volatile BaseType_t testResult = 0x33U;&lt;/P&gt;&lt;P&gt;g_cnt++; // Observed change: OK&lt;BR /&gt;testResult = 0x5AU; // Observed change: FAIL (Value remains 0x33 or unchanged in memory window)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aprilaaa_0-1769408579878.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374188iB54A722A5ACE4E5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aprilaaa_0-1769408579878.png" alt="aprilaaa_0-1769408579878.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;aprilaaa_0-1769408579878.png&lt;/span&gt;&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aprilaaa_0-1769408474300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374185iD31CC0E665FD3159/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aprilaaa_0-1769408474300.png" alt="aprilaaa_0-1769408474300.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;aprilaaa_0-1769408474300.png&lt;/span&gt;&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;</description>
      <pubDate>Mon, 26 Jan 2026 06:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2300175#M56334</guid>
      <dc:creator>aprilaaa</dc:creator>
      <dc:date>2026-01-26T06:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324: Why are variable changes in Cache not visible in the debugger?</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2300315#M56351</link>
      <description>&lt;P&gt;There are some TRACE32 options affecting this&lt;/P&gt;
&lt;P&gt;(1) OnCE access - SYStem.CpuAccess&lt;/P&gt;
&lt;P&gt;(2) NEXUS access - SYStem.MemAccess and SYStem.Option DUALPORT&lt;/P&gt;
&lt;P&gt;Also it depends on used access class (you may see it in the memory dump window for instance) - see attached manual screenshot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="access_classes.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374222i3A9785898F9156F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="access_classes.png" alt="access_classes.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;access_classes.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try to use access class DC.&lt;/P&gt;
&lt;P&gt;Otherwise I would recommend to contact Lauterbach support.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 09:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2300315#M56351</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2026-01-26T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K324: Why are variable changes in Cache not visible in the debugger?</title>
      <link>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2321303#M56951</link>
      <description>&lt;P&gt;The screenshot shows the state before the assignment takes place. You would have to do at least one more step to execute the variable assignment.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 13:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K324-Why-are-variable-changes-in-Cache-not-visible-in-the/m-p/2321303#M56951</guid>
      <dc:creator>rweiss</dc:creator>
      <dc:date>2026-02-23T13:40:01Z</dc:date>
    </item>
  </channel>
</rss>

