<?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 Re: error stopping at main. Reason: target request failed: Failed to set breakpoint in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506747#M31809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to build the example projects I have tried to build. They complain about "orphaned configurations." I was able to create a project with processor expert and debug it on the target. Neither really solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 14:58:47 GMT</pubDate>
    <dc:creator>ryanlush</dc:creator>
    <dc:date>2016-02-16T14:58:47Z</dc:date>
    <item>
      <title>error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506745#M31807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to program a K64 Freedom board with a JLINK and I get this error every time with the option to continue. If I continue it kinda looks like it programs but its way off in the weeds. I can't even see any disassembly and it's halted at what appears to be a random address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My debugger is setup for SWD with the k64.mem file. I can erase the device with the flash programmer and the same configuration but never have I been able to program the device. Not sure what more information to provide right now. Help me help you help me :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 20:51:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506745#M31807</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2016-02-12T20:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506746#M31808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which IDE software are you using?&lt;/P&gt;&lt;P&gt;Have you tried with NXP provided demo project for FRDM-K64F board?&lt;/P&gt;&lt;P&gt;Customer could find the NXP provided demo project at &lt;A href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;KSDK V2.0&lt;/A&gt; or &lt;A href="http://www.nxp.com/webapp/sps/download/license.jsp?colCode=KINETIS_K64_SC_INIT&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;WT_TYPE=Initialization/Boot/Device%20Driver%20Code%20Generation&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Downloads&amp;amp;fileExt=.zip&amp;amp;Parent_nodeId=1389383111254728087171&amp;amp;Parent_pageType=product"&gt;K64 bare-metal project&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 03:29:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506746#M31808</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-02-16T03:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506747#M31809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to build the example projects I have tried to build. They complain about "orphaned configurations." I was able to create a project with processor expert and debug it on the target. Neither really solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 14:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506747#M31809</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2016-02-16T14:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506748#M31810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the latest Code Warrior IDE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:21:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506748#M31810</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2016-02-16T15:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506749#M31811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For you could debug the new created Processor Expert project, the debugger interface hardware should be worked.&lt;/P&gt;&lt;P&gt;I checked the KSDK software doesn't support CodeWarrior MCU IDE software.&lt;/P&gt;&lt;P&gt;Customer could download and check with &lt;A href="https://www.nxp.com/webapp/Download?colCode=FSLMQXOS_4_1_0_FRDMK64F&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1395787824279726673377&amp;amp;Parent_pageType=product"&gt;NXP MQX RTOS 4.1.0 for the FRDM-K64F&lt;/A&gt; software if J-Link works well with this software.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 07:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506749#M31811</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-02-19T07:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506750#M31812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I'm not using the KSDK so I don't see how this is relevant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it sits I am unable to use the K64 freedom board with Code Warrior but it works with the IAR example projects. I would much rather run my k20 software on the k64 than rewrite the whole thing from scratch. Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 21:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506750#M31812</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2016-02-23T21:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506751#M31813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy Ryan,&lt;/P&gt;&lt;P&gt;you dont' have to rewrite things from scratch. I believe your linker or debugger configuration files are wrong.&lt;/P&gt;&lt;P&gt;I recommend that you start with a new project with the wizard (File &amp;gt; New &amp;gt; bareboard project...) and then verify that this is debugging properly.&lt;/P&gt;&lt;P&gt;Then add the source files to that project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 05:00:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506751#M31813</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-02-24T05:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: error stopping at main. Reason: target request failed: Failed to set breakpoint</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506752#M31814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, you answered my question in 2 places! Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using processor expert to setup the bare minimum. When I did it using the freescale compiler I was able to debug when I did it using GCC I was not able to program. The code I want to run on here is written in GCC so this is really what I need to see working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always get the "unable to write reg" errors when I try to program so it seems likes its getting stuck in the kinetis_init.tcl script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 13:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/error-stopping-at-main-Reason-target-request-failed-Failed-to/m-p/506752#M31814</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2016-02-24T13:45:23Z</dc:date>
    </item>
  </channel>
</rss>

