<?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 LPC43XX M4+M0app debug issue &amp;quot;failed to execute MI command&amp;quot; in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-M4-M0app-debug-issue-quot-failed-to-execute-MI-command/m-p/1065369#M41157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on a journey to implement a multicore application on the LPC4370.&lt;BR /&gt;I'm trying to lay the basis and understand multicore projects and how to debug hem before adding stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I created a M4+M0app project.&lt;BR /&gt;Memory configuration for M4:&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/113149i64EB3A76487B5111/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;The M4 core executes code from FLASH, while the M0app from RAM2:&lt;BR /&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/113150i252956291C1CADA6/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;Memory configuration for M0:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113155i7183A9FF05304585/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The problem is that I can't debug the projects successfully:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can stop the M4, but not set breakpoints&lt;/LI&gt;&lt;LI&gt;Can not interact with M0 (leads to "failed to execute MI command -exec-interrupt").&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://send.firefox.com/download/e02d3a508532f435/#ODvsesigOqt2POLv4RwOmQ"&gt;Here&lt;/A&gt;'s a video where I show a session of debug. Note that I am using LPClink2 and it is working as I can correctly debug other single core projects.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2020 08:43:12 GMT</pubDate>
    <dc:creator>a_bet</dc:creator>
    <dc:date>2020-06-18T08:43:12Z</dc:date>
    <item>
      <title>LPC43XX M4+M0app debug issue "failed to execute MI command"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-M4-M0app-debug-issue-quot-failed-to-execute-MI-command/m-p/1065369#M41157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on a journey to implement a multicore application on the LPC4370.&lt;BR /&gt;I'm trying to lay the basis and understand multicore projects and how to debug hem before adding stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I created a M4+M0app project.&lt;BR /&gt;Memory configuration for M4:&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/113149i64EB3A76487B5111/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;The M4 core executes code from FLASH, while the M0app from RAM2:&lt;BR /&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/113150i252956291C1CADA6/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;Memory configuration for M0:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113155i7183A9FF05304585/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The problem is that I can't debug the projects successfully:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can stop the M4, but not set breakpoints&lt;/LI&gt;&lt;LI&gt;Can not interact with M0 (leads to "failed to execute MI command -exec-interrupt").&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://send.firefox.com/download/e02d3a508532f435/#ODvsesigOqt2POLv4RwOmQ"&gt;Here&lt;/A&gt;'s a video where I show a session of debug. Note that I am using LPClink2 and it is working as I can correctly debug other single core projects.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 08:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-M4-M0app-debug-issue-quot-failed-to-execute-MI-command/m-p/1065369#M41157</guid>
      <dc:creator>a_bet</dc:creator>
      <dc:date>2020-06-18T08:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC43XX M4+M0app debug issue "failed to execute MI command"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-M4-M0app-debug-issue-quot-failed-to-execute-MI-command/m-p/1065370#M41158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you follow this guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/390661"&gt;LPC43xx Cortex-M4 / M0 Multicore Applications&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a workshop here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-331545"&gt;https://community.nxp.com/docs/DOC-331545&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Debugging starts at slide 79)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 08:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43XX-M4-M0app-debug-issue-quot-failed-to-execute-MI-command/m-p/1065370#M41158</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-06-18T08:51:22Z</dc:date>
    </item>
  </channel>
</rss>

