<?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: LPC54102 Running slave M0 from FLASH in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1610030#M51814</link>
    <description>&lt;P&gt;Hi&amp;nbsp;DanielR&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is configuration "Link configuration to RAM", please check in master code and see if this is what you are looking for.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1678108252985.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213288iECA8CC623DA0773D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1678108252985.png" alt="ZhangJennie_0-1678108252985.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 13:12:13 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2023-03-06T13:12:13Z</dc:date>
    <item>
      <title>LPC54102 Running slave M0 from FLASH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1607875#M51769</link>
      <description>&lt;P&gt;I have an&amp;nbsp;LPC54102 dual core project the I have been developing for quite some time now.&lt;/P&gt;&lt;P&gt;The M4 is executing its code from FLASH but the&amp;nbsp;M0 slave has been copying its code to SRAM and executing from there. The M0 code base is getting large and I am running out of RAM. I would like to re-configure to executing both M4 and M0 processors from FLASH.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that in MCUxpresso linker Multi-core options I can change this. (In the attached image, I changed the "Master memory region" to "Flash"). However, if I change this option, I then get a compiler error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;c:/nxp/mcuxpressoide_11.6.1_8255/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.6.1.202207200623/tools/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: ./startup/boot_multicore_slave.o: in function `boot_multicore_slave':
C:\Git_Repos\Sonic\lpc-detector\R225_CM4_MASTER\Release/../startup/boot_multicore_slave.c:98: undefined reference to `__core_m0slave_START__'
M&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What else do I need to need to change to make this work?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 17:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1607875#M51769</guid>
      <dc:creator>DanielR</dc:creator>
      <dc:date>2023-03-01T17:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Running slave M0 from FLASH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1608178#M51776</link>
      <description>&lt;P&gt;Hi&amp;nbsp;DanielR&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to resove the issue I need to reproduce the problem first.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you pleaes let me know how to reproduce your problem based on a MCUXpresso SDK multicore example?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 07:25:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1608178#M51776</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-02T07:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Running slave M0 from FLASH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1608392#M51785</link>
      <description>&lt;P&gt;I guess my question was not clear. I will try again using the&amp;nbsp;lpcxpresso54102_hello_world_cm0plus &amp;amp;&amp;nbsp;lpcxpresso54102_hello_world_cm4 multi-core example.&lt;/P&gt;&lt;P&gt;Below you can see that the cm4 code is stored in FLASH, but the cm0plus code is loaded into RAM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="M0_Slave_in_RAM.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213028i7D5E30EFEC46FF0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="M0_Slave_in_RAM.PNG" alt="M0_Slave_in_RAM.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;According to &lt;A href="https://www.nxp.com/docs/en/application-note/AN11609.zip" target="_self"&gt;AN11609&lt;/A&gt;&amp;nbsp;it is possible, on the&amp;nbsp;LPC5410x, to run both cm3 &amp;amp; cm0plus code from flash. However, I can not find information on how to configure this in MCUXpresso. That is my question, how can I re-configure this project so that both cores are executing their code from RAM?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Daniel&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 13:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1608392#M51785</guid>
      <dc:creator>DanielR</dc:creator>
      <dc:date>2023-03-02T13:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Running slave M0 from FLASH</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1610030#M51814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;DanielR&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is configuration "Link configuration to RAM", please check in master code and see if this is what you are looking for.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1678108252985.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213288iECA8CC623DA0773D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1678108252985.png" alt="ZhangJennie_0-1678108252985.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 13:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54102-Running-slave-M0-from-FLASH/m-p/1610030#M51814</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2023-03-06T13:12:13Z</dc:date>
    </item>
  </channel>
</rss>

