<?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>CodeWarrior Development ToolsのトピックRe: SWD problem on MKE04</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488733#M4015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Alice, you're very kind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach some screenshot of my configuration, and the error message that &lt;/P&gt;&lt;P&gt;CW gives back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I double checked the HW and everything seems to be ok. I see the reset &lt;/P&gt;&lt;P&gt;pin moving before I connect the programmer, but since it starts, I see &lt;/P&gt;&lt;P&gt;the signal stable. I've also verified the CLK end DATA arrive on the &lt;/P&gt;&lt;P&gt;board connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I find the SWD option in CW environement?&lt;/P&gt;&lt;P&gt;The project has been created with the standar wizard, using the option &lt;/P&gt;&lt;P&gt;of "Bareboard Project"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Il 23/05/2016 05:12, Alice_Yang ha scritto:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;  NXP Community&lt;/P&gt;&lt;P&gt;  &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SWD problem on MKE04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Alice_Yang &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/people/Alice_Yang?et=watches.email.thread&amp;gt; &lt;/P&gt;&lt;P&gt;in /CodeWarrior Development Tools/ - View the full discussion &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/message/652871?et=watches.email.thread#comment-652871&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 10:31:48 GMT</pubDate>
    <dc:creator>lucaag</dc:creator>
    <dc:date>2016-05-23T10:31:48Z</dc:date>
    <item>
      <title>SWD problem on MKE04</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488731#M4013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing a problem when trying to connect to a new board which is mounting a MKE04 kinetis microcontroller.&lt;/P&gt;&lt;P&gt;I've already posted another question regarding the reset pin connection, but the problem could also be done to something in the setting of CW environment.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In paticular, when I try to program the device through the SWD I get these messages:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: CMD&amp;gt;RE&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: Initializing.&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: Target has been RESET and is active.&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: CMD&amp;gt;CM C:\Freescale\CW MCU v10.6.4\MCU\bin\Plugins\support\arm\gdi\P&amp;amp;E\ke04z128m4_pflash_pipeline.arp&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: Initializing.&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: Error loading .ARP file : C:\Freescale\CW MCU v10.6.4\MCU\bin\Plugins\support\arm\gdi\P&amp;amp;E\ke04z128m4_pflash_pipeline.arp. Set PC and Run Error.&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;ERR: Error loading programming algorithm - load aborted.&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;ERR: Error occured during Flash programming.&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: WARNING - NO RESET SCRIPT FILE HAS BEEN CONFIGURED TO RUN!!!&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: TO MODIFY THE RESET SCRIPT SETTINGS, USE THE FOLLOWING MENU OPTION:&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;EM&gt;INF: CONFIGURATION -&amp;gt; AUTOMATED SCRIPT OPTIONS&lt;/EM&gt;&lt;/P&gt;&lt;P dir="ltr" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was convinced it was an HW problem, but I'm not so sure. As reference I post part of the schematic.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help really appreciated&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 16:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488731#M4013</guid>
      <dc:creator>lucaag</dc:creator>
      <dc:date>2016-05-20T16:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: SWD problem on MKE04</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488732#M4014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luca,&lt;/P&gt;&lt;P&gt;About the hardware problem on your another question, the hardware expert will help you .&lt;/P&gt;&lt;P&gt;Here i can help you check the configure On cw.&lt;/P&gt;&lt;P&gt;On cw , please select Use SWD option :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27999iF2F5C60F7F414AF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please also take a screenshot about the configuration on your side .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 03:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488732#M4014</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-23T03:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: SWD problem on MKE04</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488733#M4015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Alice, you're very kind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach some screenshot of my configuration, and the error message that &lt;/P&gt;&lt;P&gt;CW gives back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I double checked the HW and everything seems to be ok. I see the reset &lt;/P&gt;&lt;P&gt;pin moving before I connect the programmer, but since it starts, I see &lt;/P&gt;&lt;P&gt;the signal stable. I've also verified the CLK end DATA arrive on the &lt;/P&gt;&lt;P&gt;board connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I find the SWD option in CW environement?&lt;/P&gt;&lt;P&gt;The project has been created with the standar wizard, using the option &lt;/P&gt;&lt;P&gt;of "Bareboard Project"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Il 23/05/2016 05:12, Alice_Yang ha scritto:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;  NXP Community&lt;/P&gt;&lt;P&gt;  &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SWD problem on MKE04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Alice_Yang &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/people/Alice_Yang?et=watches.email.thread&amp;gt; &lt;/P&gt;&lt;P&gt;in /CodeWarrior Development Tools/ - View the full discussion &lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/message/652871?et=watches.email.thread#comment-652871&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 10:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488733#M4015</guid>
      <dc:creator>lucaag</dc:creator>
      <dc:date>2016-05-23T10:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: SWD problem on MKE04</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488734#M4016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luca,&lt;/P&gt;&lt;P&gt;I recommend you first create one simple project to test ,&lt;/P&gt;&lt;P&gt;and please check here :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33054i71567D4366B8FA9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 05:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488734#M4016</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-24T05:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: SWD problem on MKE04</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488735#M4017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;SOLVED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello and many thanks to kind people who answered to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was a problem on the board: I've used the NMI pin as output as its alternate function capability, but being tied down it was blocking the CPU programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LUCA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 17:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/SWD-problem-on-MKE04/m-p/488735#M4017</guid>
      <dc:creator>lucaag</dc:creator>
      <dc:date>2016-05-24T17:05:07Z</dc:date>
    </item>
  </channel>
</rss>

