<?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: MPC 5744P Compile difference of different SD32 version in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1448789#M21031</link>
    <description>&lt;P&gt;This is the code:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void Tim_Init(void)&lt;BR /&gt;{&lt;BR /&gt;//STM_0.CR.R = 0x00003103;&lt;BR /&gt;STM_0.CR.B.FRZ = 1; /*0:STM counter continues to run in debug mode*/&lt;BR /&gt;STM_0.CHANNEL[0].CMP.R = 1000; /*matches the STM_CNT register*/&lt;BR /&gt;STM_0.CR.B.CPS = 0x31; /*counter prescaler */&lt;BR /&gt;STM_0.CR.B.TEN = 1; /*Timer counter Enabled*/&lt;BR /&gt;STM_0.CHANNEL[0].CCR.B.CEN = 1; /* channel 0 enable */&lt;BR /&gt;STM_0.CHANNEL[0].CIR.B.CIF = 1; /* clear the flag */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 01:02:09 GMT</pubDate>
    <dc:creator>TerryDuPower</dc:creator>
    <dc:date>2022-04-26T01:02:09Z</dc:date>
    <item>
      <title>MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1444787#M20969</link>
      <description>&lt;P&gt;Dear supporters:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I created two project with some code. One was created by&amp;nbsp;S32 Design Studio for Power Architecture Version 2017.R1, Another&amp;nbsp;was created by&amp;nbsp;S32 DS 2.1.&amp;nbsp; &amp;nbsp;After complied, It's strange they are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;S32 DS 2017.R1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TerryDuPower_1-1650247101857.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177101iD4C0DFC1E0D09A5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TerryDuPower_1-1650247101857.png" alt="TerryDuPower_1-1650247101857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32 DS 2.1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TerryDuPower_0-1650246970941.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177100i0D987B2E1C09F0B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TerryDuPower_0-1650246970941.png" alt="TerryDuPower_0-1650246970941.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I checked the propertity is same . Could you give me some help?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 02:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1444787#M20969</guid>
      <dc:creator>TerryDuPower</dc:creator>
      <dc:date>2022-04-18T02:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1446181#M20995</link>
      <description>&lt;P&gt;Do you have the same linker file? Do you have same optimization configuration?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 07:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1446181#M20995</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2022-04-20T07:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1447057#M21005</link>
      <description>&lt;P&gt;Yes,&amp;nbsp; two projects have same link file and same&amp;nbsp;&lt;SPAN&gt;optimization configuration.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 08:26:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1447057#M21005</guid>
      <dc:creator>TerryDuPower</dc:creator>
      <dc:date>2022-04-21T08:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1448524#M21029</link>
      <description>&lt;P&gt;Can you provide your project or &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="cs" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;reproducible&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; code snippet? Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 12:08:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1448524#M21029</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2022-04-25T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1448789#M21031</link>
      <description>&lt;P&gt;This is the code:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void Tim_Init(void)&lt;BR /&gt;{&lt;BR /&gt;//STM_0.CR.R = 0x00003103;&lt;BR /&gt;STM_0.CR.B.FRZ = 1; /*0:STM counter continues to run in debug mode*/&lt;BR /&gt;STM_0.CHANNEL[0].CMP.R = 1000; /*matches the STM_CNT register*/&lt;BR /&gt;STM_0.CR.B.CPS = 0x31; /*counter prescaler */&lt;BR /&gt;STM_0.CR.B.TEN = 1; /*Timer counter Enabled*/&lt;BR /&gt;STM_0.CHANNEL[0].CCR.B.CEN = 1; /* channel 0 enable */&lt;BR /&gt;STM_0.CHANNEL[0].CIR.B.CIF = 1; /* clear the flag */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 01:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1448789#M21031</guid>
      <dc:creator>TerryDuPower</dc:creator>
      <dc:date>2022-04-26T01:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1450594#M21060</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;it seems the difference is caused by the compiler option:&lt;/P&gt;
&lt;PRE&gt;-fstrict-volatile-bitfields&lt;/PRE&gt;
&lt;P&gt;this causes the bitfield struct access (peripheral register) respects the declared datatype.&lt;/P&gt;
&lt;P&gt;See &lt;EM&gt;se_stw&lt;/EM&gt; vs. &lt;EM&gt;se_stb&lt;/EM&gt; instruction&lt;/P&gt;
&lt;P&gt;In a previous version of the compiler this option was enabled by default. Later compiler versions (starting with v1.2+) this option has to be enabled expicitly in compiler options.&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="stanish_0-1651137824153.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178296i96639721D41DBC00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stanish_0-1651137824153.png" alt="stanish_0-1651137824153.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope it helps.&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 09:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1450594#M21060</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2022-04-28T09:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: MPC 5744P Compile difference of different SD32 version</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1450970#M21070</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi&amp;nbsp; stanish,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Yes, It's&lt;SPAN&gt;&amp;nbsp;caused by the compiler option&lt;/SPAN&gt; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;-fstrict-volatile-bitfields&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 01:31:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC-5744P-Compile-difference-of-different-SD32-version/m-p/1450970#M21070</guid>
      <dc:creator>TerryDuPower</dc:creator>
      <dc:date>2022-04-29T01:31:07Z</dc:date>
    </item>
  </channel>
</rss>

