<?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 MPC5764F .text code section allocate to external memory in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945140#M7823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I use the MPC5674F MCU.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want to allocate code section (.text section) to external memory.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is part of my 'lcf' Linker file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; internal_flash: org = 0x00030000, len = 0x003D0000&amp;nbsp;&lt;/P&gt;&lt;P&gt;internal_ram: org = 0x40000000, len = 0x00030000&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt; heap : org = 0x40030000, len = 0x00008000&lt;BR /&gt; stack : org = 0x40038000, len = 0x00008000&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt;external_ssram: org = 0x20000000, len = 0x00800000&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GROUP : { &lt;BR /&gt; .text : {} &lt;BR /&gt; .text_vle (VLECODE) : {&lt;BR /&gt; *(.text)&lt;BR /&gt; *(.text_vle)&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; .rodata (CONST) : {&lt;BR /&gt; *(.rdata)&lt;BR /&gt; *(.rodata)&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; .ctors : {}&lt;BR /&gt; .dtors : {}&lt;BR /&gt; extab : {}&lt;BR /&gt; extabindex : {} &lt;BR /&gt; &lt;BR /&gt; } &amp;gt; internal_flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I changed the above " &amp;gt; internal_flash" to " &amp;gt;&amp;nbsp;external_ssram", My MCU doesn't work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I allocate (.text) section to external memory?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please let me know.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2019 09:47:10 GMT</pubDate>
    <dc:creator>juntae_kim</dc:creator>
    <dc:date>2019-09-19T09:47:10Z</dc:date>
    <item>
      <title>MPC5764F .text code section allocate to external memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945140#M7823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I use the MPC5674F MCU.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want to allocate code section (.text section) to external memory.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is part of my 'lcf' Linker file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; internal_flash: org = 0x00030000, len = 0x003D0000&amp;nbsp;&lt;/P&gt;&lt;P&gt;internal_ram: org = 0x40000000, len = 0x00030000&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt; heap : org = 0x40030000, len = 0x00008000&lt;BR /&gt; stack : org = 0x40038000, len = 0x00008000&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt;external_ssram: org = 0x20000000, len = 0x00800000&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GROUP : { &lt;BR /&gt; .text : {} &lt;BR /&gt; .text_vle (VLECODE) : {&lt;BR /&gt; *(.text)&lt;BR /&gt; *(.text_vle)&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; .rodata (CONST) : {&lt;BR /&gt; *(.rdata)&lt;BR /&gt; *(.rodata)&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; .ctors : {}&lt;BR /&gt; .dtors : {}&lt;BR /&gt; extab : {}&lt;BR /&gt; extabindex : {} &lt;BR /&gt; &lt;BR /&gt; } &amp;gt; internal_flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I changed the above " &amp;gt; internal_flash" to " &amp;gt;&amp;nbsp;external_ssram", My MCU doesn't work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I allocate (.text) section to external memory?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please let me know.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank you.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 09:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945140#M7823</guid>
      <dc:creator>juntae_kim</dc:creator>
      <dc:date>2019-09-19T09:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5764F .text code section allocate to external memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945141#M7824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;you are missing one additional step&amp;nbsp;to switch from internal flash -&amp;gt; external sram.&lt;/P&gt;&lt;P&gt;Debugger launch script shall configure the external memory (EBI registers) before "programming" the binary file into MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-344472"&gt;https://community.nxp.com/docs/DOC-344472&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2019 21:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945141#M7824</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2019-09-30T21:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5764F .text code section allocate to external memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945142#M7825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer Stan :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll check this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards.&lt;/P&gt;&lt;P&gt;Juntae.kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 05:10:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945142#M7825</guid>
      <dc:creator>juntae_kim</dc:creator>
      <dc:date>2019-10-02T05:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5764F .text code section allocate to external memory</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945143#M7826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I needed! You just saved me several hours. Thanks! &lt;SPAN style="color: #ccffff; font-size: 11px;"&gt;&lt;A href="https://www.myprepaidcenter.website/" style="color: #ccffff;"&gt;myprepaidcenter&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 04:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MPC5764F-text-code-section-allocate-to-external-memory/m-p/945143#M7826</guid>
      <dc:creator>dominic15</dc:creator>
      <dc:date>2019-10-22T04:18:05Z</dc:date>
    </item>
  </channel>
</rss>

