<?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, Mac OS, FRDM-K64F in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393655#M2452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been a bit over a month so I figured I would ask, what is the state of merging those patches into upstream OpenOCD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 04:36:46 GMT</pubDate>
    <dc:creator>hak8or</dc:creator>
    <dc:date>2015-07-27T04:36:46Z</dc:date>
    <item>
      <title>OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393647#M2444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I originally posted this message in the Kinetis Microcontroller forum - but realized I may get better traction here (apologies for posting twice)... &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I installed the OpenOCD package (0.9) from &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://gnuarmeclipse.livius.net/blog/openocd/" rel="nofollow" style="font-style: inherit; font-family: inherit; color: #017bba;" target="_blank"&gt;The GNU ARM Eclipse OpenOCD | GNU ARM Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;and installed the corresponding eclipse plugin in KDS.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;When I run the hello example, I get the error unable to find the kinetis.cfg file. Erich Styger provided the config file in another chain, and I also installed KDS on my PC and pulled the file from there (thinking that maybe newer).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;In any case, I then copied the file to /Applications/GNU ARM Eclipse/OpenOCD/0.9.0-201505191004/scripts&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Now when I run it, I get the error:&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #ff2600;"&gt;/Applications/GNU ARM Eclipse/OpenOCD/0.9.0-201505191004//scripts/kinetis.cfg:11: Error: invalid subcommand "newdap kinetis cpu -irlen 4"&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #ff2600;"&gt;in procedure 'script' &lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #ff2600;"&gt;at file "embedded:startup.tcl", line 60&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Monaco; color: #ff2600;"&gt;in procedure 'cmsis-dap' called at file "/Applications/GNU ARM Eclipse/OpenOCD/0.9.0-201505191004//scripts/kinetis.cfg", line 11&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 style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Does anyone have a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 18:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393647#M2444</guid>
      <dc:creator>rajbatra</dc:creator>
      <dc:date>2015-06-11T18:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393648#M2445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj Batra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis Design Studio for MAC OS X only includes run control/debug support with Segger J-Link. P&amp;amp;E Multilink and OpenOCD support might be added at a later date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 22:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393648#M2445</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-06-11T22:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393649#M2446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The thread: &lt;A href="https://community.nxp.com/message/520915"&gt;Re: openSDA for Mac OS X&lt;/A&gt; mentions using the library I installed. So was hoping that someone got it to work on the K64F board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 22:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393649#M2446</guid>
      <dc:creator>rajbatra</dc:creator>
      <dc:date>2015-06-11T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393650#M2447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kinetis support in OpenOCD is largely built in, not contained within the kinetis.cfg file. The OpenOCD shipped with KDS is built with patches that add support for newer Freescale devices including the K64F and ease integration with KDS. From a quick look, the GNU ARM Eclipse repository (&lt;A href="http://sourceforge.net/p/gnuarmeclipse/openocd/ci/master/tree/src/flash/nor/kinetis.c" title="http://sourceforge.net/p/gnuarmeclipse/openocd/ci/master/tree/src/flash/nor/kinetis.c"&gt;GNU ARM Eclipse Plug-ins / OpenOCD / [70a14d] /src/flash/nor/kinetis.c&lt;/A&gt;) doesn't appear to contain anything similar. Unfortunately that means that unless support for those devices has been implemented independently of KDS you won't be able to use the the GNU ARM Eclipse build of OpenOCD to debug a Kinetis K64 device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also: &lt;A href="https://community.nxp.com/thread/324907"&gt;OpenOCD with FRDM-K64F support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's worth bearing in mind that SEGGER debug configurations are supported on Mac hosts, and SEGGER provide, subject to terms and conditions, OpenSDA applications that will allow you to debug a K64F device without having a physical &lt;A href="https://www.segger.com/jlink-debug-probes.html"&gt;J-Link:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://segger.com/opensda.html" title="https://segger.com/opensda.html"&gt;SEGGER - The Embedded Experts - OpenSDA / OpenSDA V2&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 09:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393650#M2447</guid>
      <dc:creator>joeseymour</dc:creator>
      <dc:date>2015-06-12T09:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393651#M2448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I found J-Link interface on mac to be rather flakey. When I restart a debug session, I get &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in services launch sequence&lt;/P&gt;&lt;P&gt;Starting J-Link GDB Server timed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only recourse is to unplug the K64F board and replug (reset button doesn't seem to help). With DAP running in my virtual box, I can consistently connect and debug (it's just slow), hence why I started looking at OpenOCD for Mac...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 20:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393651#M2448</guid>
      <dc:creator>rajbatra</dc:creator>
      <dc:date>2015-06-12T20:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393652#M2449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;the problem you see needing the board to re-power is not a Segger or Mac issue: it is a board issue and happens on other OS and with other debug firmware too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2015 04:53:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393652#M2449</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-13T04:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393653#M2450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale KDS3.0 can support Mac OS 10.10 ("Yosemite").&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KDS_IDE&amp;amp;tid=vanKDS" rel="nofollow" target="_blank"&gt;Kinetis Design Studio Integrated Development |Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use FRDM-K64F board, I suggest you read below document for how to connect board. maybe you would try other interface besides OpenOCD.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-105199"&gt;Summary of FRDM-K64F open source 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, 15 Jun 2015 02:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393653#M2450</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-06-15T02:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393654#M2451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to expand on Erich's post. I always power-cycle the FRDM-K64F board *twice* when using OpenSDA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 10:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393654#M2451</guid>
      <dc:creator>joeseymour</dc:creator>
      <dc:date>2015-06-15T10:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393655#M2452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been a bit over a month so I figured I would ask, what is the state of merging those patches into upstream OpenOCD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 04:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393655#M2452</guid>
      <dc:creator>hak8or</dc:creator>
      <dc:date>2015-07-27T04:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: OpenOCD, Mac OS, FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393656#M2453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've used KDS + openocd with Mac for several months now. It wasn't pretty - we had to go get the Freescale patches and apply them to a new branch from the commit they used. Then on a random day in 2015 I cloned openocd origin/master and merged that branch to a detached master.&amp;nbsp; I've posted this all as a github repo:&amp;nbsp; &lt;A href="https://github.com/0x6a77/openocd"&gt;https://github.com/0x6a77/openocd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are able to do this with both CMSIS-DAP and JTAG (using an FTDI-based dongle: the c232hm-edhsl).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found it quite difficult to work with openocd (and suspect FSL have as well), so I hold no hope that useful KDS changes will ever go mainstream. It's messy, because there was a big refactor between the commit FSL used for KDS and what's in openocd's origin/master. I tried as best I could to make these coherent, but it's really hard in this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to my instructions to easily build yourself a working openocd for Mac and get it to work the way you want with KDS. We are able to maintain single KDS project structures shared over Mac, Linux and Windows and it works pretty well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a separate github repo that holds a copy of the scripts we use (hacked? :smileyhappy:) to make this work: &lt;A href="https://github.com/0x6a77/KinetisOpenOcdConfigs"&gt;https://github.com/0x6a77/KinetisOpenOcdConfigs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all works pretty well for us as late as KDS 3.0.2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2016 19:00:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/OpenOCD-Mac-OS-FRDM-K64F/m-p/393656#M2453</guid>
      <dc:creator>jeffwilliams</dc:creator>
      <dc:date>2016-02-27T19:00:40Z</dc:date>
    </item>
  </channel>
</rss>

