<?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: 64-bit Global Variable Memory Issue in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531615#M22115</link>
    <description>&lt;P&gt;Could you please specify used compiler?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2022 12:02:26 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2022-10-03T12:02:26Z</dc:date>
    <item>
      <title>64-bit Global Variable Memory Issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531579#M22114</link>
      <description>&lt;P&gt;In my application, I needed to extend a global variable from 32 bits to 64 bits using MPC5644A.&lt;/P&gt;&lt;P&gt;unsigned long long extendedVar1 = 0x0ULL;&lt;/P&gt;&lt;P&gt;void function (unsigned long long&amp;nbsp;var2 )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;extendedVar1 |= var2;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;The program builds every time, but sometimes it&amp;nbsp; fails to be flashed to the ecu, the flash memory is not fully used, but still this problem occurs when it's extended to 64 bits.&lt;/P&gt;&lt;P&gt;I tried an absolute addressing for this variable at the end of the flash and everything went well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please find attached 2 screenshots from the memory allocations logs:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1- Problem has been solved with absolute memory allocation (mem.txt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2- The same globale variable declared with no absolute memory allocation. (mem.txt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531579#M22114</guid>
      <dc:creator>ISLEMTRIKII</dc:creator>
      <dc:date>2022-10-03T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: 64-bit Global Variable Memory Issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531615#M22115</link>
      <description>&lt;P&gt;Could you please specify used compiler?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 12:02:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531615#M22115</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2022-10-03T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: 64-bit Global Variable Memory Issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531627#M22116</link>
      <description>&lt;P&gt;it's a : gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Thanks for your quick response!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 12:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1531627#M22116</guid>
      <dc:creator>ISLEMTRIKII</dc:creator>
      <dc:date>2022-10-03T12:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: 64-bit Global Variable Memory Issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1532573#M22126</link>
      <description>&lt;P&gt;I see but it is not NXP software. It should discuss it is over particular provider's communities or other forums. Thanks for understanding&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 11:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/64-bit-Global-Variable-Memory-Issue/m-p/1532573#M22126</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2022-10-05T11:31:22Z</dc:date>
    </item>
  </channel>
</rss>

