<?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のトピックRe: S32K312 - a MCAL pointer variable point to a self-defined variable</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2252152#M54949</link>
    <description>&lt;P&gt;&lt;A href="mailto:Hi@yumi" target="_blank"&gt;Hi@yumi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the image you provided, I did not see that the value of "LibDiagCom_Initialized" had changed.&lt;/P&gt;
&lt;P&gt;You'd better provide me with your test routine, because I still don't understand it. I don't see any problems in the images you provided.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Dec 2025 09:42:55 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2025-12-01T09:42:55Z</dc:date>
    <item>
      <title>S32K312 - a MCAL pointer variable point to a self-defined variable</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2245903#M54731</link>
      <description>&lt;P&gt;Hi， I am using s32k312 and MCAL version is 5.0.0, the startup and linker files is based on MCAL package.&lt;/P&gt;&lt;P&gt;I defined a bool variable named&amp;nbsp;LibDiagCom_Initialized, and I found in the LiveWatch and memory it was changed unexpectedly. I set a data breakpoint and found a struct variable with a pointer was changing the memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is this pointer a wilder pointer?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Nov 2025 15:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2245903#M54731</guid>
      <dc:creator>yumi</dc:creator>
      <dc:date>2025-11-22T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - a MCAL pointer variable point to a self-defined variable</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2246635#M54742</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;yumi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;From the screenshot you provided, I don't see any relationship between "LibDiagCom_Initialized" and "Lpspi_Ip_axStateStructure". Is there a problem?&lt;/P&gt;
&lt;P&gt;My understanding of a "dangling pointer"（野指针） is usually that it points to an unknown, random location. I don't see that problem here.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 02:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2246635#M54742</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-11-24T02:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - a MCAL pointer variable point to a self-defined variable</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2251607#M54934</link>
      <description>&lt;P&gt;Hi Selent,&lt;/P&gt;&lt;P&gt;From the Live Watch, you can see the location of 'LibDiagCom_Initialized' is 0x2040 37df, and the pointer RxBuffer in Lpspi_Ip_axStateStructure point to 0x204037DC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set a data breakpoint for&amp;nbsp;LibDiagCom_Initialized, the scenery is&amp;nbsp;LibDiagCom_Initialized value is changed by the RxBuffer at the data breakpoint， as shows in another picture.&lt;/P&gt;&lt;P&gt;So my question is:&lt;/P&gt;&lt;P&gt;Shouldn't the RxBuffer in&amp;nbsp;Lpspi_Ip_axStateStructure point to somewhere at initialization? If not, is it a dangling pointer?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 02:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2251607#M54934</guid>
      <dc:creator>yumi</dc:creator>
      <dc:date>2025-12-01T02:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 - a MCAL pointer variable point to a self-defined variable</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2252152#M54949</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@yumi" target="_blank"&gt;Hi@yumi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the image you provided, I did not see that the value of "LibDiagCom_Initialized" had changed.&lt;/P&gt;
&lt;P&gt;You'd better provide me with your test routine, because I still don't understand it. I don't see any problems in the images you provided.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 09:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-a-MCAL-pointer-variable-point-to-a-self-defined-variable/m-p/2252152#M54949</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-12-01T09:42:55Z</dc:date>
    </item>
  </channel>
</rss>

