<?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: openocd error in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openocd-error/m-p/471396#M5178</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;I would suggest you try J-link OpenSDA or P&amp;amp;E OpenSDA, see how it works with this board.&lt;/P&gt;&lt;P&gt;please follow this article to update the firmware and check board connection:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-330146"&gt;Summary of FRDM-K22F debug interface&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Mon, 25 Apr 2016 01:35:15 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2016-04-25T01:35:15Z</dc:date>
    <item>
      <title>openocd error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openocd-error/m-p/471395#M5177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Board:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FRDM-K22F rev A1&lt;/P&gt;&lt;P&gt;IDE:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KDS v3.2.0&lt;/P&gt;&lt;P&gt;Firnware version:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0203&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And I upgraded to 0221 a few minutes ago&amp;nbsp; (I upgraded to 0221_k20dx128_k22f_0x8000.bin)&lt;/P&gt;&lt;P&gt;SDK:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v2.0 for FRDM-K22F&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two weeks ago I was successfull in debugging the "Hello World" example on the FRDM-K22F using OpenOCD debugging.&lt;/P&gt;&lt;P&gt;Today I receive errors when trying to debbug the "Hello World" example.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what OpenOCD gives:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #e23d39;"&gt;For bug reports, read &lt;/SPAN&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fopenocd.sourceforge.net%2Fdoc%2Fdoxygen%2Fbugs.html" rel="nofollow" target="_blank"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;Info : only one transport option; autoselect 'cmsis-dap'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;Error: unable to open CMSIS-DAP device&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;Error: unable to init CMSIS-DAP driver&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;Error: Error selecting 'cmsis-dap' as transport&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;Runtime Error: C:/Freescale/KDS_v3/openocd/bin/..//scripts/kinetis.cfg:3: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;in procedure 'script' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;at file "embedded:startup.tcl", line 58&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39; font-family: 'courier new', courier;"&gt;in procedure 'interface' called at file "C:/Freescale/KDS_v3/openocd/bin/..//scripts/kinetis.cfg", line 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-family: 'courier new', courier;"&gt;And here is the error I receive from the debugger in Eclipse:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="146592_146592.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121451iFAC12693049C6DF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="146592_146592.png" alt="146592_146592.png" /&gt;&lt;/span&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/34514i143BD7A8D32400DC/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&gt;I did observe this with the original firmware version 203. Then I upgraded to version 221, but still the error is the same.&lt;/P&gt;&lt;P&gt;I made sure I had the "-f kinetis.cfg" in the debugger config options. Still the same error.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried running the openocd command line executable. Here is what happended:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="146593_146593.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121452i62217EE018FCEACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="146593_146593.png" alt="146593_146593.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34749i72B5174D7C5C2334/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems the device is secured.&lt;/P&gt;&lt;P&gt;But the only thing I did with the board was debugging the "Hello World" example two weeks ago, and then today I am ready to start development, and I am unable to run the "Hello World" example.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hint?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2016 01:15:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openocd-error/m-p/471395#M5177</guid>
      <dc:creator>martinfiset</dc:creator>
      <dc:date>2016-04-23T01:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: openocd error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openocd-error/m-p/471396#M5178</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;I would suggest you try J-link OpenSDA or P&amp;amp;E OpenSDA, see how it works with this board.&lt;/P&gt;&lt;P&gt;please follow this article to update the firmware and check board connection:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-330146"&gt;Summary of FRDM-K22F debug interface&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&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>Mon, 25 Apr 2016 01:35:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openocd-error/m-p/471396#M5178</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-04-25T01:35:15Z</dc:date>
    </item>
  </channel>
</rss>

