<?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 MCUXpresso debugger launch sequence error in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892805#M35794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am returning to a project that was working fine&amp;nbsp;last year. Now I am returning to it and cannot get the debugger to work. It builds fine, but then when I try to debug it gets to 99% and then an error box appears:&amp;nbsp;&lt;/P&gt;&lt;P&gt;“Error in final launch sequence” with details:&lt;/P&gt;&lt;UL&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-size: 9.0pt;"&gt;Error in final launch sequence&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt; text-indent: 1.1pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Failed to execute MI command:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt; text-indent: 1.1pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;thbreak main&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Error message from debugger back end:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;No hardware breakpoint support in the target.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;No hardware breakpoint support in the target.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Followed by an error box:&amp;nbsp;Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using MCUXpresso IDE v10.1.1_606, so next I downloaded the latest version v10.3.1_2233 to try that as well, but same problem. I also tried with an older version of MCUXpresso IDE&amp;nbsp;but with no improvement. Since then I have used the new version and my attempts to fix have been focused on a couple areas in particular:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Possible SDK problem&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Possible memory map problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK: When I start MCUXPresso I get a warning message that my SDK 2.2 has been replaced by SDK 2.3:&lt;/P&gt;&lt;P&gt;"SDK 2.x LPCXpresso54618’ (‘2.2.0’) replaced by SDK version (‘2.3.0’)". I tried a drag/drop install of my 2.2 SDK (from my&amp;nbsp;user folder ...\mcuxpresso\SDKPackages), which installed but then gave me a similar warning message saying it updated it to 2.3.0. I'm pretty sure I did not get this SDK warning when I was previously working on this project last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory map: The SDK we have was generated using the&amp;nbsp;part:&amp;nbsp;LPC54618J512 as that was on the development board I started this project on. My production board though uses LPC54606J256. To compensate, I changed the Memory details to match the part I am now using:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&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/15124iC5410D3CA277BCFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Making the above change got things working last year, so I made these changes again (I'm not sure why it reverted back, but it did so I changed to the above again). However, I'm concerned there could still be a problem related to this because the log from a failed debug lists a length of $00080000, where I would expect $00040000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info, I attached the console log following my attempted debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System details:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v10.3.1_2233\&lt;/P&gt;&lt;P&gt;SDK: SDK_2.x_LPCXpresso54618, SDK Version 2.3.0, Manifest Version 3.2.0&lt;/P&gt;&lt;P&gt;Micro: LPC54606J256ET180&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Apr 2019 22:45:57 GMT</pubDate>
    <dc:creator>mattyoung</dc:creator>
    <dc:date>2019-04-25T22:45:57Z</dc:date>
    <item>
      <title>MCUXpresso debugger launch sequence error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892805#M35794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am returning to a project that was working fine&amp;nbsp;last year. Now I am returning to it and cannot get the debugger to work. It builds fine, but then when I try to debug it gets to 99% and then an error box appears:&amp;nbsp;&lt;/P&gt;&lt;P&gt;“Error in final launch sequence” with details:&lt;/P&gt;&lt;UL&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-size: 9.0pt;"&gt;Error in final launch sequence&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt; text-indent: 1.1pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Failed to execute MI command:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt; text-indent: 1.1pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;thbreak main&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Error message from debugger back end:&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;No hardware breakpoint support in the target.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;No hardware breakpoint support in the target.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Followed by an error box:&amp;nbsp;Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using MCUXpresso IDE v10.1.1_606, so next I downloaded the latest version v10.3.1_2233 to try that as well, but same problem. I also tried with an older version of MCUXpresso IDE&amp;nbsp;but with no improvement. Since then I have used the new version and my attempts to fix have been focused on a couple areas in particular:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Possible SDK problem&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Possible memory map problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK: When I start MCUXPresso I get a warning message that my SDK 2.2 has been replaced by SDK 2.3:&lt;/P&gt;&lt;P&gt;"SDK 2.x LPCXpresso54618’ (‘2.2.0’) replaced by SDK version (‘2.3.0’)". I tried a drag/drop install of my 2.2 SDK (from my&amp;nbsp;user folder ...\mcuxpresso\SDKPackages), which installed but then gave me a similar warning message saying it updated it to 2.3.0. I'm pretty sure I did not get this SDK warning when I was previously working on this project last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory map: The SDK we have was generated using the&amp;nbsp;part:&amp;nbsp;LPC54618J512 as that was on the development board I started this project on. My production board though uses LPC54606J256. To compensate, I changed the Memory details to match the part I am now using:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&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/15124iC5410D3CA277BCFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Making the above change got things working last year, so I made these changes again (I'm not sure why it reverted back, but it did so I changed to the above again). However, I'm concerned there could still be a problem related to this because the log from a failed debug lists a length of $00080000, where I would expect $00040000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info, I attached the console log following my attempted debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System details:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v10.3.1_2233\&lt;/P&gt;&lt;P&gt;SDK: SDK_2.x_LPCXpresso54618, SDK Version 2.3.0, Manifest Version 3.2.0&lt;/P&gt;&lt;P&gt;Micro: LPC54606J256ET180&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 22:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892805#M35794</guid>
      <dc:creator>mattyoung</dc:creator>
      <dc:date>2019-04-25T22:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso debugger launch sequence error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892806#M35795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; &lt;A _jive_internal="true" data-content-finding="Community" data-userid="312141" data-username="mattyoung" href="https://community.nxp.com/people/mattyoung"&gt;Matt Young&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Which debug probe do you used ? From the log , it seems you use P&amp;amp;E debugger.&lt;/P&gt;&lt;P&gt;so please choose the right device on Debug Configurations to have a try:&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/33479iFC376C34C6E61EEC/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;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 07:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892806#M35795</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-04-26T07:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso debugger launch sequence error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892807#M35796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! Thank you. Yes I&amp;nbsp;am using the P&amp;amp;E debugger.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-debugger-launch-sequence-error/m-p/892807#M35796</guid>
      <dc:creator>mattyoung</dc:creator>
      <dc:date>2019-04-26T13:48:34Z</dc:date>
    </item>
  </channel>
</rss>

