<?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: LPC43xx Slave M0 App Core not working !!!</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634083#M24986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too have the same problem. I am new to the world of multicore. My question is very basic I guess. I would like to know, how to determine the address :&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;#define SRAM_16KB_BLOCK_START 0x2000C000 ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jul 2017 08:36:08 GMT</pubDate>
    <dc:creator>katisr</dc:creator>
    <dc:date>2017-07-04T08:36:08Z</dc:date>
    <item>
      <title>LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634078#M24981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;Hey guys , Im using the LPC4357 Dual core MCU . Im trying to make the slave M0 Core to turn on LED . I have created the application image for the M0 Core and included it in the M4 project.&lt;BR /&gt;Then sat the shadow register M0AppMEMMAP to point at the start of the image code (In the SRAM and on a 64Kbyte boundary as the manual says)&lt;BR /&gt;Here is my work so far&lt;BR /&gt;// This is the main from the M0 Project&lt;BR /&gt;void main ()&lt;BR /&gt;{ CLOCK_CMD(BASE_M4,CLK_M4_GPIO,ENABLE_CLK); // Enable the SCU CLOCK_CMD(BASE_M4,CLK_M4_SCU,ENABLE_CLK); // scu_pinmux(0x09 , 4 , MD_PDN , FUNC4); // GPIO_SetDir (5 , 1&amp;lt;&amp;lt;17 , 1); // GPIO_SetValue(5,1&amp;lt;&amp;lt;17); // Just turn on LED while(1) {&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;}&lt;BR /&gt;} //&lt;BR /&gt;//&lt;BR /&gt;// And this is the main from the M4 master core Project&lt;BR /&gt;#define SRAM_16KB_BLOCK_START 0x2000C000&lt;BR /&gt;uint8_t M0_App_Code[4*1024] __attribute__((at(SRAM_16KB_BLOCK_START)));&lt;BR /&gt;void main ()&lt;BR /&gt;{&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;uint32_t i; CLOCK_CMD(BASE_M4,CLK_M4_M0APP,ENABLE_CLK); // Enable M0 clock CLOCK_CMD(BASE_M4,CLK_M4_CREG ,ENABLE_CLK); // for(i=0; i&amp;lt;sizeof (LR0) ; i++) M0_App_Code[i]=LR0[i]; // Copy image to flash Halt_M0_Salve(); // Halt Slave CPU in case Set_M0_Start_Address(SRAM_16KB_BLOCK_START); // Set shadow register M0APPMEMMAP Start_M0_Slave(); // Start the M0 Core while(1) {&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;}&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;}&lt;BR /&gt;//&lt;BR /&gt;//&lt;BR /&gt;// And here is the Halt and Start functions&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;void Halt_M0_Salve(void)&lt;BR /&gt;{ uint32_t tmp; tmp=LPC_RGU-&amp;gt;RESET_ACTIVE_STATUS1; while ((tmp &amp;amp; (1&amp;lt;&amp;lt;24))) { LPC_RGU-&amp;gt;RESET_CTRL1=(1&amp;lt;&amp;lt;24); tmp=LPC_RGU-&amp;gt;RESET_ACTIVE_STATUS1; }&lt;BR /&gt;} //&lt;BR /&gt;void Start_M0_Slave (void)&lt;BR /&gt;{&lt;/P&gt;&lt;P style="color: #000000; font-size: 14px;"&gt;uint32_t tmp; tmp=LPC_RGU-&amp;gt;RESET_ACTIVE_STATUS1; while (!(tmp &amp;amp; (1&amp;lt;&amp;lt;24))) { LPC_RGU-&amp;gt;RESET_CTRL1=(0&amp;lt;&amp;lt;24); tmp=LPC_RGU-&amp;gt;RESET_ACTIVE_STATUS1; }&lt;BR /&gt;} //&lt;BR /&gt;//&lt;BR /&gt;void Set_M0_Start_Address (uint32_t address)&lt;BR /&gt;{ LPC_CREG-&amp;gt;M0APPMEMMAP=address;&lt;BR /&gt;} //&lt;BR /&gt;//&lt;BR /&gt;I have separate R/W sections for both cores (both projects) so there is no memory overlap&lt;BR /&gt;The problem is that it is not working .&lt;BR /&gt;Any ideas about what im missing?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 21:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634078#M24981</guid>
      <dc:creator>algorithmm</dc:creator>
      <dc:date>2017-01-20T21:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634079#M24982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you read this?&amp;nbsp;&lt;A href="https://community.nxp.com/message/637967"&gt;https://community.nxp.com/message/637967&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There sre are also some examples for dual core in lpcopen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 10:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634079#M24982</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2017-01-21T10:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634080#M24983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for ur reply&amp;nbsp;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="290358" data-username="converse" href="https://community.nxp.com/people/converse" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Con Verse&lt;/A&gt;&amp;nbsp;, I read the post but it did not add anything new , I have already followed the same procedure. Im using KEIL not LPC IDE , Im pretty sure my code has everything needed to start the slave core , but no idea why its not working. Im looking for a simple example that is not even using interrupt between cores , but just a slave core start to a memory location of an app image .&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 11:47:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634080#M24983</guid>
      <dc:creator>algorithmm</dc:creator>
      <dc:date>2017-01-21T11:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634081#M24984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Did you try the Dual Core example Keil provides ?&lt;/P&gt;&lt;P&gt;There is a tutorial but it hasn't been updated for MDK 5 yet - just for MDK 4 but might be useful:&amp;nbsp;&lt;/P&gt;&lt;H3 style="margin-bottom: .0001pt;"&gt;&lt;A href="http://www.keil.com/appnotes/docs/apnt_241.asp"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/www.keil.com/appnotes/docs/apnt_241.asp" target="test_blank"&gt;www.keil.com/appnotes/docs/apnt_241.asp&lt;/A&gt;&lt;/H3&gt;&lt;P&gt;To turn on the M0 you have to clear&amp;nbsp; M0APP_RST which is in RESET_CTRL1 which I think you know.&amp;nbsp; You appear to have this in your code but I am not sure what the other stuff surrounding it does.&amp;nbsp; LPC_RGU-&amp;gt;RESET_CTRL1=(0&amp;lt;&amp;lt;24)&lt;/P&gt;&lt;P&gt;Keil uses LPC_RGU-&amp;gt;RESET_CTRL1 = 0; which ought to be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To debug the LPC4300 series in DualCore - you need to run two instances of uVision.&amp;nbsp; However, if I remember correctly, if you just run the Cortex-M4 in 1st instance of uVision and don't start the 2nd instance, the M0 will start once &amp;nbsp;LPC_RGU-&amp;gt;RESET_CTRL1 = 0; is reached.&lt;/P&gt;&lt;P&gt;Maybe the M0 is starting but you can't tell ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 00:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634081#M24984</guid>
      <dc:creator>robertboys</dc:creator>
      <dc:date>2017-01-24T00:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634082#M24985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just had a thought - if you select Peripherals in uVision while in Debug mode, and find the register RESET_CTRL1 and also M0APP_RST.&amp;nbsp; You should not only see what value(s) are in it - but you should also be able to change it from in there.&amp;nbsp; I don't have a board with me to test this myself..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 01:04:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634082#M24985</guid>
      <dc:creator>robertboys</dc:creator>
      <dc:date>2017-01-24T01:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634083#M24986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too have the same problem. I am new to the world of multicore. My question is very basic I guess. I would like to know, how to determine the address :&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;#define SRAM_16KB_BLOCK_START 0x2000C000 ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 08:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634083#M24986</guid>
      <dc:creator>katisr</dc:creator>
      <dc:date>2017-07-04T08:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43xx Slave M0 App Core not working !!!</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634084#M24987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/algorithmm"&gt;algorithmm&lt;/A&gt;‌ : &amp;nbsp;Hello, I too have the same problem. Is the board now working as expected?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lpcware-support"&gt;lpcware-support&lt;/A&gt;‌ : I too have the same problem of not able to make the CM0 to turn on LED. &amp;nbsp;Any ideas or suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 14:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-Slave-M0-App-Core-not-working/m-p/634084#M24987</guid>
      <dc:creator>katisr</dc:creator>
      <dc:date>2017-07-10T14:05:34Z</dc:date>
    </item>
  </channel>
</rss>

