<?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 frdm-k22f  + IAR (j-link) cannot connect  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891366#M52675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;I am using the frdm-k22f board with IAR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;If connect J-link to J11 header (SWD Debug) and click Debug button&amp;nbsp;in&amp;nbsp;IAR,&amp;nbsp;it will get error that connection is not possible as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN title=""&gt;InitTarget (): PCode returned with error code -1.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;All H/W connections have been verified.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;I do not know what is happening.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error code 2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79348i0181B33CA660063F/image-size/large?v=v2&amp;amp;px=999" role="button" title="error code 2.png" alt="error code 2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error code.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79392i5C44089951D04E52/image-size/large?v=v2&amp;amp;px=999" role="button" title="error code.png" alt="error code.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2019 08:17:36 GMT</pubDate>
    <dc:creator>shkim9</dc:creator>
    <dc:date>2019-04-10T08:17:36Z</dc:date>
    <item>
      <title>frdm-k22f  + IAR (j-link) cannot connect</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891366#M52675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;I am using the frdm-k22f board with IAR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;If connect J-link to J11 header (SWD Debug) and click Debug button&amp;nbsp;in&amp;nbsp;IAR,&amp;nbsp;it will get error that connection is not possible as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN title=""&gt;InitTarget (): PCode returned with error code -1.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;All H/W connections have been verified.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN title=""&gt;I do not know what is happening.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN title=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error code 2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79348i0181B33CA660063F/image-size/large?v=v2&amp;amp;px=999" role="button" title="error code 2.png" alt="error code 2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error code.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79392i5C44089951D04E52/image-size/large?v=v2&amp;amp;px=999" role="button" title="error code.png" alt="error code.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 08:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891366#M52675</guid>
      <dc:creator>shkim9</dc:creator>
      <dc:date>2019-04-10T08:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-k22f  + IAR (j-link) cannot connect</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891367#M52676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Kim, I hope you're doing well,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Could you please check if the project is configured as follows:&lt;/P&gt;&lt;P style="margin: 0in;"&gt;&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/79306i38CBE10B2CF36E31/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;&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/79350i1C049DFBEB430663/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 style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;As you can see from the schematic, the J-link connection is through a SWD interface.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&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/79391iF716826B3F615839/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Also, could you please check if both J10 and J13 jumpers are disconnected?&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Please, let me know if you continue to have any problems.&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Best regards,&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 20:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891367#M52676</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2019-04-10T20:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-k22f  + IAR (j-link) cannot connect</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891368#M52677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sebastian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;A new error has occurred\&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="j-link error.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79307iA5049C51E327925C/image-size/large?v=v2&amp;amp;px=999" role="button" title="j-link error.PNG" alt="j-link error.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;It seems that the OpenSDA bootloader is in flash.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;so if i click "yes" button, bootloader may be erased.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;I'll try if I can get an extra frdm board later.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;best regards.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 23:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891368#M52677</guid>
      <dc:creator>shkim9</dc:creator>
      <dc:date>2019-04-10T23:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-k22f  + IAR (j-link) cannot connect</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891369#M52678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after unsecure device ("yes" click) , power off/on, debug connection&amp;nbsp;successfully established.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN title=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="j-link error.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79311i439665A3AC37E612/image-size/large?v=v2&amp;amp;px=999" role="button" title="j-link error.PNG" alt="j-link error.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 04:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-k22f-IAR-j-link-cannot-connect/m-p/891369#M52678</guid>
      <dc:creator>shkim9</dc:creator>
      <dc:date>2019-04-11T04:36:22Z</dc:date>
    </item>
  </channel>
</rss>

