<?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>LPCXpresso IDEのトピックRe: LPC54102 Debug M0+ Error</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639765#M32604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK, you cannot have an M0+ only project as the M0+ must be 'booted' by the M4. From reset, the M4 boots from flash and the M0+ is held in reset. Typically, the M4 then boots the M0+ (writing it start address to a register and then taking it out of reset). So, as a minimum your app&amp;nbsp;will need a small piece of M4 code to boot them M0 and then put itself to sleep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the dual-core examples to see how to boot the M0+ from the M4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Apr 2017 09:04:37 GMT</pubDate>
    <dc:creator>thefallguy</dc:creator>
    <dc:date>2017-04-02T09:04:37Z</dc:date>
    <item>
      <title>LPC54102 Debug M0+ Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639764#M32603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working with the LPC54102 Development Board OM13077 I want to debug the M0+ core.&lt;/P&gt;&lt;P&gt;I have set up a new M0+ only project. Building and flashing works. But debuging does not work.&lt;/P&gt;&lt;P&gt;The LPCXpresso IDE stops on "Opening flash driver C:\nxp ..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I instead set up a M4 core only project, then the debuging works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to change to get the M0+ only project debuging working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp;15: Target error from Commit Flash write: Ef(34): Timed-out initializing flash.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Printscreens:&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/15955i83AB5F61E26141F8/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;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15995i3F78ABF878B46432/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 21:26:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639764#M32603</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-03-31T21:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Debug M0+ Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639765#M32604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK, you cannot have an M0+ only project as the M0+ must be 'booted' by the M4. From reset, the M4 boots from flash and the M0+ is held in reset. Typically, the M4 then boots the M0+ (writing it start address to a register and then taking it out of reset). So, as a minimum your app&amp;nbsp;will need a small piece of M4 code to boot them M0 and then put itself to sleep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the dual-core examples to see how to boot the M0+ from the M4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 09:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639765#M32604</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-04-02T09:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Debug M0+ Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639766#M32605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, I set up a new project with "File, New, Project, LPCXpresso C Project, LPC54100, LPC5410x (M0+).&lt;/P&gt;&lt;P&gt;I can build and flash this project without problem, but not debug. So I do not&amp;nbsp;understand, why the startup after flashing works, where it will not work with the debugger.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your mentioned minimal piece of M4 code has to be there already because the M0 code works after normal flashing (not debugging).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Setup of M0+ Project (flashing works, debug not):&lt;BR /&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/16087iA21DB33C2810C1F2/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;&lt;/P&gt;&lt;P&gt;Setup of M4 Project (flashing works, debug WORKS also):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16127i4BCDD2E7D8261294/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 09:17:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639766#M32605</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-04-02T09:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Debug M0+ Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639767#M32606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you read Section 4.5.47 of the User Manual (UM10850). And then download, read and understand the Dual processor example from the LPCOpen examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 12:43:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639767#M32606</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-04-02T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Debug M0+ Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639768#M32607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW: I think I understand why your 'M0+' application runs. It is because the M4 that is running the M0+ code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 13:58:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639768#M32607</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-04-02T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54102 Debug M0+ Error</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639769#M32608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Fall Guy says, you can't have a standalone M0+ app on the LPC541xx family parts - you have to have a master M4 application that starts the M0+ cpu running. For more details, see the FAQ :&amp;nbsp;&lt;A href="https://community.nxp.com/thread/389074"&gt;LPC541xx Cortex-M4 / M0+ Multicore Applications&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LPCXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 07:17:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC54102-Debug-M0-Error/m-p/639769#M32608</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-04-04T07:17:39Z</dc:date>
    </item>
  </channel>
</rss>

