<?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: Kinetis K28F MCUXpresso Debug Problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987026#M55550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your detailed answer. I couldn't use the Recovery Tool but I found my solution in the comments of Erich's post. I pulled NMI pin to low before boot up and I could successfully erase the flash by using GUI Flash Tool. Then, I could debug it with our test code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2019 08:27:06 GMT</pubDate>
    <dc:creator>sekartal</dc:creator>
    <dc:date>2019-11-15T08:27:06Z</dc:date>
    <item>
      <title>Kinetis K28F MCUXpresso Debug Problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987024#M55548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am working on a custom board that has Kinetis K28F (MK28FN2M0AVMI15) on it. The platform that we are developing software is MCUXpresso IDE V11.0.1.We are at the beginning of the software development process; therefore, we are still trying to use SDK examples provided for the FRDM-K28F development board as a template. It&amp;nbsp;was working fine that we could successfully verify our boards by using PEMicro Multilink but we could not program the flash by using GUI Flash Tool. I thought it is because the oscillator frequencies of our board and the FRDM board are different&amp;nbsp;and&amp;nbsp;I modified the clock settings of the SDK 2.6 Led Blinky example. I changed the oscillator frequency to 24Mhz and the mode to HighGainMode inside the clock_config.c file. I also added an oscillator feedback resistor to my board. Then I could program my board and observe the oscillator output by scope. It was good until here but then&amp;nbsp;I can no longer connect to the board. When I try to debug them in MCUXpresso I get the messsage "An error occured while connecting to the interface hardware or target specified in the Launch Configuration Dialog. For this launch, you may retry/re-specify the connection with the following parameters:" I can still successfully connect and debug my other boards whose flash is not programmed yet. Do you have any suggestions about this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 12:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987024#M55548</guid>
      <dc:creator>sekartal</dc:creator>
      <dc:date>2019-11-14T12:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K28F MCUXpresso Debug Problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987025#M55549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi savas,&lt;/P&gt;&lt;P&gt;Please refer: &lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-objectid="99609" data-objecttype="102" href="https://community.nxp.com/docs/DOC-99609"&gt;How To Sucessfully Program a Custom made Kinetis Microcontroller Board.&lt;/A&gt;(If this doesn't work, then please try to use the&amp;nbsp;&lt;STRONG&gt;P&amp;amp;E recovery utility &lt;/STRONG&gt;mentioned&amp;nbsp;in &lt;A href="https://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-low-power/"&gt;Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power.&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the hardware circuit of your custom board.&lt;/P&gt;&lt;P&gt;Since you are using the MCUXpresso IDE, &lt;STRONG&gt;step8&lt;/STRONG&gt; be replaced by &lt;STRONG&gt;resurrect locked Kinetis device&lt;/STRONG&gt; in &lt;STRONG&gt;GUI Flash Tool&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;H1 style="color: #000000; background-color: #ffffff; border: 0px; font-weight: bold; margin: 0px 0px 0.8125em;"&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2018%2F05%2F20%2Foverview-of-mcuxpresso-ide-v10-2-0%2F" rel="nofollow" target="_blank"&gt;GUI Flash Tool extended for P&amp;amp;E and SEGGER&lt;/A&gt;&lt;/H1&gt;&lt;P style="color: #373737; background-color: #ffffff; border: 0px; font-weight: 300; margin: 0px 0px 1.625em;"&gt;The GUI Flash Tool previously was only for the LinkServer (or LPC-Link2) connections.&lt;/P&gt;&lt;DIV class="" data-shortcode="caption" style="color: #373737; background: #eeeeee; border: 0px; font-weight: 300; margin: 0.4em 0px 1.625em; padding: 9px;"&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.files.wordpress.com%2F2018%2F05%2Fgui-flash-tool.png" rel="nofollow" style="color: #1982d1; border: 0px; font-weight: inherit; text-decoration: none;" target="_blank"&gt;&lt;IMG alt="GUI Flash Tool" class="image-23706" data-attachment-id="23706" data-comments-opened="1" data-image-description="&amp;lt;p&amp;gt;GUI Flash Tool&amp;lt;/p&amp;gt; " data-image-meta="{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}" data-image-title="GUI Flash Tool" data-large-file="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool.png?w=225" data-medium-file="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool.png?w=225" data-orig-file="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool.png" data-orig-size="225,79" data-permalink="https://mcuoneclipse.com/2018/05/20/overview-of-mcuxpresso-ide-v10-2-0/gui-flash-tool/" src="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool.png?w=584" style="border: 1px solid #eeeeee; padding: 6px;" /&gt;&lt;/A&gt;&lt;P class="" style="color: #666666; border: 0px; font-weight: inherit; font-size: 12px; margin: 0px 0px 0.6em; padding: 10px 0px 5px 40px;"&gt;GUI Flash Tool&lt;/P&gt;&lt;/DIV&gt;&lt;P style="color: #373737; background-color: #ffffff; border: 0px; font-weight: 300; margin: 0px 0px 1.625em;"&gt;Now it supports all debug probe connections, including P&amp;amp;E and SEGGER, and I can program, erase or even resurrect a ‘bricked’ Kinetis device:&lt;/P&gt;&lt;DIV class="" data-shortcode="caption" style="color: #373737; background: #eeeeee; border: 0px; font-weight: 300; margin: 0.4em 0px 1.625em; padding: 9px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="linkserver-gui-flash-tool.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95242i9C914EB4B890806A/image-size/large?v=v2&amp;amp;px=999" role="button" title="linkserver-gui-flash-tool.png" alt="linkserver-gui-flash-tool.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;P class="" style="color: #666666; border: 0px; font-weight: inherit; font-size: 12px; margin: 0px 0px 0.6em; padding: 10px 0px 5px 40px;"&gt;LinkServer GUI Flash Tool&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="" data-shortcode="caption" style="color: #373737; background: #eeeeee; border: 0px; font-weight: 300; margin: 0.4em 0px 1.625em; padding: 9px;"&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.files.wordpress.com%2F2018%2F05%2Fpemicro-gui-flash-tool.png" rel="nofollow" style="color: #1982d1; border: 0px; font-weight: inherit; text-decoration: none;" target="_blank"&gt;&lt;IMG alt="PEMicro GUI Flash Tool" class="image-23707" data-attachment-id="23707" data-comments-opened="1" data-image-description="&amp;lt;p&amp;gt;PEMicro GUI Flash Tool&amp;lt;/p&amp;gt; " data-image-meta="{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}" data-image-title="PEMicro GUI Flash Tool" data-large-file="https://mcuoneclipse.files.wordpress.com/2018/05/pemicro-gui-flash-tool.png?w=584" data-medium-file="https://mcuoneclipse.files.wordpress.com/2018/05/pemicro-gui-flash-tool.png?w=300" data-orig-file="https://mcuoneclipse.files.wordpress.com/2018/05/pemicro-gui-flash-tool.png" data-orig-size="869,685" data-permalink="https://mcuoneclipse.com/2018/05/20/overview-of-mcuxpresso-ide-v10-2-0/pemicro-gui-flash-tool/" height="460" src="https://mcuoneclipse.files.wordpress.com/2018/05/pemicro-gui-flash-tool.png?w=584&amp;amp;h=460" style="border: 1px solid #eeeeee; padding: 6px;" width="584" /&gt;&lt;/A&gt;&lt;P class="" style="color: #666666; border: 0px; font-weight: inherit; font-size: 12px; margin: 0px 0px 0.6em; padding: 10px 0px 5px 40px;"&gt;PEMicro GUI Flash Tool&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="" data-shortcode="caption" style="color: #373737; background: #eeeeee; border: 0px; font-weight: 300; margin: 0.4em 0px 1.625em; padding: 9px;"&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.files.wordpress.com%2F2018%2F05%2Fsegger-gui-flash-tool.png" rel="nofollow" style="color: #1982d1; border: 0px; font-weight: inherit; text-decoration: none;" target="_blank"&gt;&lt;IMG alt="Segger GUI Flash Tool" class="image-23709" data-attachment-id="23709" data-comments-opened="1" data-image-description="&amp;lt;p&amp;gt;Segger GUI Flash Tool&amp;lt;/p&amp;gt; " data-image-meta="{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}" data-image-title="Segger GUI Flash Tool" data-large-file="https://mcuoneclipse.files.wordpress.com/2018/05/segger-gui-flash-tool.png?w=584" data-medium-file="https://mcuoneclipse.files.wordpress.com/2018/05/segger-gui-flash-tool.png?w=300" data-orig-file="https://mcuoneclipse.files.wordpress.com/2018/05/segger-gui-flash-tool.png" data-orig-size="874,610" data-permalink="https://mcuoneclipse.com/2018/05/20/overview-of-mcuxpresso-ide-v10-2-0/segger-gui-flash-tool/" height="408" src="https://mcuoneclipse.files.wordpress.com/2018/05/segger-gui-flash-tool.png?w=584&amp;amp;h=408" style="border: 1px solid #eeeeee; padding: 6px;" width="584" /&gt;&lt;/A&gt;&lt;P class="" style="color: #666666; border: 0px; font-weight: inherit; font-size: 12px; margin: 0px 0px 0.6em; padding: 10px 0px 5px 40px;"&gt;Segger GUI Flash Tool&lt;/P&gt;&lt;/DIV&gt;&lt;P style="color: #373737; background-color: #ffffff; border: 0px; font-weight: 300; margin: 0px 0px 1.625em;"&gt;Using the toolbar icon is probably the most convenient way to use the GUI Flash Programmer, it is possible to run it from the debugger launch configuration too:&lt;/P&gt;&lt;DIV class="" data-shortcode="caption" style="color: #373737; background: #eeeeee; border: 0px; font-weight: 300; margin: 0.4em 0px 1.625em; padding: 9px;"&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.files.wordpress.com%2F2018%2F05%2Frunning-gui-flash-programmer-from-launch-configuration.png" rel="nofollow" style="color: #1982d1; border: 0px; font-weight: inherit; text-decoration: none;" target="_blank"&gt;&lt;IMG alt="Running GUI Flash Programmer from Launch Configuration" class="image-23710" data-attachment-id="23710" data-comments-opened="1" data-image-description="&amp;lt;p&amp;gt;Running GUI Flash Programmer from Launch Configuration&amp;lt;/p&amp;gt; " data-image-meta="{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}" data-image-title="Running GUI Flash Programmer from Launch Configuration" data-large-file="https://mcuoneclipse.files.wordpress.com/2018/05/running-gui-flash-programmer-from-launch-configuration.png?w=584" data-medium-file="https://mcuoneclipse.files.wordpress.com/2018/05/running-gui-flash-programmer-from-launch-configuration.png?w=300" data-orig-file="https://mcuoneclipse.files.wordpress.com/2018/05/running-gui-flash-programmer-from-launch-configuration.png" data-orig-size="1089,776" data-permalink="https://mcuoneclipse.com/2018/05/20/overview-of-mcuxpresso-ide-v10-2-0/running-gui-flash-programmer-from-launch-configuration/" height="416" src="https://mcuoneclipse.files.wordpress.com/2018/05/running-gui-flash-programmer-from-launch-configuration.png?w=584&amp;amp;h=416" style="border: 1px solid #eeeeee; padding: 6px;" width="584" /&gt;&lt;/A&gt;&lt;P class="" style="color: #666666; border: 0px; font-weight: inherit; font-size: 12px; margin: 0px 0px 0.6em; padding: 10px 0px 5px 40px;"&gt;Running GUI Flash Programmer from Launch Configuration&lt;/P&gt;&lt;/DIV&gt;&lt;P style="color: #373737; background-color: #ffffff; border: 0px; font-weight: 300; margin: 0px 0px 1.625em;"&gt;The operation executed is logged in the Console View:&lt;/P&gt;&lt;DIV class="" data-shortcode="caption" style="color: #373737; background: #eeeeee; border: 0px; font-weight: 300; margin: 0.4em 0px 1.625em; padding: 9px;"&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.files.wordpress.com%2F2018%2F05%2Fgui-flash-tool-console-output.png" rel="nofollow" style="color: #1982d1; border: 0px; font-weight: inherit; text-decoration: none;" target="_blank"&gt;&lt;IMG alt="GUI Flash Tool Console Output" class="image-23723" data-attachment-id="23723" data-comments-opened="1" data-image-description="&amp;lt;p&amp;gt;GUI Flash Tool Console Output&amp;lt;/p&amp;gt; " data-image-meta="{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}" data-image-title="GUI Flash Tool Console Output" data-large-file="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool-console-output.png?w=584" data-medium-file="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool-console-output.png?w=300" data-orig-file="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool-console-output.png" data-orig-size="705,577" data-permalink="https://mcuoneclipse.com/2018/05/20/overview-of-mcuxpresso-ide-v10-2-0/gui-flash-tool-console-output/" height="478" src="https://mcuoneclipse.files.wordpress.com/2018/05/gui-flash-tool-console-output.png?w=584&amp;amp;h=478" style="border: 1px solid #eeeeee; padding: 6px;" width="584" /&gt;&lt;/A&gt;&lt;P class="" style="color: #666666; border: 0px; font-weight: inherit; font-size: 12px; margin: 0px 0px 0.6em; padding: 10px 0px 5px 40px;"&gt;GUI Flash Tool Console Output&lt;/P&gt;&lt;/DIV&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Robin&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&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, 15 Nov 2019 02:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987025#M55549</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-11-15T02:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K28F MCUXpresso Debug Problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987026#M55550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your detailed answer. I couldn't use the Recovery Tool but I found my solution in the comments of Erich's post. I pulled NMI pin to low before boot up and I could successfully erase the flash by using GUI Flash Tool. Then, I could debug it with our test code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 08:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-K28F-MCUXpresso-Debug-Problem/m-p/987026#M55550</guid>
      <dc:creator>sekartal</dc:creator>
      <dc:date>2019-11-15T08:27:06Z</dc:date>
    </item>
  </channel>
</rss>

