<?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>MPC5xxxのトピックStarting Second Core on MPC5676R</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496550#M2771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been playing around with the MPC5676R for the last couple days. I can get to blinky on the first core without any problem, but the second I try to run the same code on the second core nothing happens.&amp;nbsp; I'm running the default project that Codewarrior creates when you start a bareboard MPC5676R project, with some added code to blink an LED, which is on GPIO 253.&amp;nbsp; I'm doing all the same initialization that I was doing on core 0, but core 1 does not seem to want to play ball.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project adds this to start the second core:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SIU.RSTVEC1.B.RSTVEC = (unsigned long)__start_p1;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything else I need to do to get the second core going?&amp;nbsp; The Application Notes don't seem to mention anything else.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is very much appreciated &lt;SPAN aria-label="Grin" class="emoticon-inline emoticon_grin" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 15:45:29 GMT</pubDate>
    <dc:creator>dpastl</dc:creator>
    <dc:date>2016-05-03T15:45:29Z</dc:date>
    <item>
      <title>Starting Second Core on MPC5676R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496550#M2771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been playing around with the MPC5676R for the last couple days. I can get to blinky on the first core without any problem, but the second I try to run the same code on the second core nothing happens.&amp;nbsp; I'm running the default project that Codewarrior creates when you start a bareboard MPC5676R project, with some added code to blink an LED, which is on GPIO 253.&amp;nbsp; I'm doing all the same initialization that I was doing on core 0, but core 1 does not seem to want to play ball.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project adds this to start the second core:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SIU.RSTVEC1.B.RSTVEC = (unsigned long)__start_p1;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything else I need to do to get the second core going?&amp;nbsp; The Application Notes don't seem to mention anything else.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is very much appreciated &lt;SPAN aria-label="Grin" class="emoticon-inline emoticon_grin" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496550#M2771</guid>
      <dc:creator>dpastl</dc:creator>
      <dc:date>2016-05-03T15:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Second Core on MPC5676R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496551#M2772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears the issue is not that the second core is not starting, but that it will not toggle the LED.&amp;nbsp; I am able to run a debug session that will show the second core running, trying to set the pin, but not doing anything in particular.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 19:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496551#M2772</guid>
      <dc:creator>dpastl</dc:creator>
      <dc:date>2016-05-03T19:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Second Core on MPC5676R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496552#M2773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to run following example?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102745"&gt;Example XPC567XRKIT PinToggleStationery CW210&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remember it well I have been facing the same issue. It is needed to change XBAR settings to let both cores to have same change to access the resources like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* set round robin for all slaves */&lt;/P&gt;&lt;P&gt;XBAR.SGPCR0.B.ARB = 1;&lt;/P&gt;&lt;P&gt;XBAR.SGPCR1.B.ARB = 1;&lt;/P&gt;&lt;P&gt;XBAR.SGPCR2.B.ARB = 1;&lt;/P&gt;&lt;P&gt;XBAR.SGPCR3.B.ARB = 1;&lt;/P&gt;&lt;P&gt;XBAR.SGPCR6.B.ARB = 1;&lt;/P&gt;&lt;P&gt;XBAR.SGPCR7.B.ARB = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it helps or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 08:03:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496552#M2773</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2016-05-04T08:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Second Core on MPC5676R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496553#M2774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding just the XBAR code but that doesn't seem to be enough.&amp;nbsp; I looked through the example code you linked and added support for the second core to run from flash:&lt;/P&gt;&lt;P&gt;#define FLASH_REG&amp;nbsp;&amp;nbsp; FLASH_A.BIUCR.R&lt;BR /&gt;#define FLASH_DATA&amp;nbsp; 0x00016B15&lt;/P&gt;&lt;P&gt;#define FLASH_REG2&amp;nbsp; FLASH_A.BIUCR3.R&lt;/P&gt;&lt;P&gt;#define FLASH_DATA2 0x00020015&lt;/P&gt;&lt;P&gt;Which I added to the __ppc_eabi_init.c file.&amp;nbsp; I'm still not getting the second core to access the pin.&amp;nbsp; I'll keep looking through the example code to see what they all did differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 16:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496553#M2774</guid>
      <dc:creator>dpastl</dc:creator>
      <dc:date>2016-05-04T16:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Second Core on MPC5676R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496554#M2775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well it seems to be working, but not that reliably.&amp;nbsp; I put the code into debug mode and was able to step through the code and noticed the pin toggling.&amp;nbsp; I then programmed it with the flash build and let it run, but nothing happened.&amp;nbsp; Resetting the power to the board made the pin start toggling.&amp;nbsp; I'll have to keep an eye on this but for the moment that seems to have solved the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 16:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Starting-Second-Core-on-MPC5676R/m-p/496554#M2775</guid>
      <dc:creator>dpastl</dc:creator>
      <dc:date>2016-05-04T16:51:36Z</dc:date>
    </item>
  </channel>
</rss>

