<?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>LPC MicrocontrollersのトピックRe: [MULTICORE M4+M0App]  Memory Map Issues at compile time</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858155#M34161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrea,&lt;/P&gt;&lt;P&gt;I have help you change the memory setting of M4 project. The memory M0 project used, we need&lt;/P&gt;&lt;P&gt;put them into second flash part and second RAM part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75051i9356222031B78833/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please test the project I attached, hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 08:05:51 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-02-20T08:05:51Z</dc:date>
    <item>
      <title>[MULTICORE M4+M0App]  Memory Map Issues at compile time</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858152#M34158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to you all,&amp;nbsp;&lt;BR /&gt;I'm trying to use the LPC4370 (lpc link2 evaluation) in dual core mode: M4+M0App.&lt;/P&gt;&lt;P&gt;I have errors which I can not understand while compiling the M4 (master) project.&lt;/P&gt;&lt;P&gt;Here's the output for the memory map after compiling the m0app project:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Building target: mc_tut_m0app.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -[...]&lt;BR /&gt;Memory region Used Size Region Size %age Used&lt;BR /&gt; &lt;STRONG&gt;SPIFI2: 2224 B 512 KB 0.42%&lt;/STRONG&gt;&lt;BR /&gt; RamLoc72: 16 B 72 KB 0.02%&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is as I expected.&lt;/P&gt;&lt;P&gt;But after M4 compiles:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Building target: mc_tut_m4xm0app1.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -[...]&lt;BR /&gt;Memory region Used Size Region Size %age Used&lt;BR /&gt; RamLoc128: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;16 B 128 KB 0.01%&lt;BR /&gt; RamAHB32: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 GB 32 KB 0.00%&lt;BR /&gt; RamAHB16: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;GB 16 KB 0.00%&lt;BR /&gt; RamAHB_ETB16: &amp;nbsp;&amp;nbsp;0 GB 16 KB 0.00%&lt;BR /&gt; RamM0Sub16: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 GB 16 KB 0.00%&lt;BR /&gt; RamM0Sub2: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 GB 2 KB 0.00%&lt;BR /&gt; RamLoc72: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 GB 72 KB 0.00%&lt;BR /&gt; SPIFI1: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5516 B 512 KB 1.05%&lt;BR /&gt;&lt;STRONG&gt;SPIFI2: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2224 B 512 KB 0.42%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The RamLoc72 is not used and I got the following error.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;c:/nxp/lpcxpresso_8.2.2_650/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: M0APP execute address differs from address provided in source image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;collect2.exe: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make: *** [mc_tut_m4xm0app1.axf] Error 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I put in bold, the Master project is correctly allocating the Slave M0App code in the 2nd (external) Flash, as I asked during the creation wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going on here?&amp;nbsp;&lt;BR /&gt;I attach here the docs I'm using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Andrea&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 18:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858152#M34158</guid>
      <dc:creator>a_bet</dc:creator>
      <dc:date>2019-02-13T18:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: [MULTICORE M4+M0App]  Memory Map Issues at compile time</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858153#M34159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrea,&lt;/P&gt;&lt;P&gt;In M4 project,&amp;nbsp; please&amp;nbsp; put RamLoc72 part at second RAM&amp;nbsp; ( follow RamLoc128) to have a try.&lt;/P&gt;&lt;P&gt;If still have this error, please send your project to me, I will help you to check it on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 03:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858153#M34159</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-02-18T03:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: [MULTICORE M4+M0App]  Memory Map Issues at compile time</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858154#M34160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;BR /&gt;I tried buy I got the same error. I attach my project files to the main question.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 13:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858154#M34160</guid>
      <dc:creator>a_bet</dc:creator>
      <dc:date>2019-02-19T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: [MULTICORE M4+M0App]  Memory Map Issues at compile time</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858155#M34161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrea,&lt;/P&gt;&lt;P&gt;I have help you change the memory setting of M4 project. The memory M0 project used, we need&lt;/P&gt;&lt;P&gt;put them into second flash part and second RAM part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75051i9356222031B78833/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please test the project I attached, hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 08:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MULTICORE-M4-M0App-Memory-Map-Issues-at-compile-time/m-p/858155#M34161</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-02-20T08:05:51Z</dc:date>
    </item>
  </channel>
</rss>

