<?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: OpenSDAv2 for TWR-K65F180M  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483480#M29604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I have previously successfully used the v108a bootloader and debugged it as a P&amp;amp;E Micro OpenSDA v1.0 debug interface. This is the file that I dropped:&lt;/P&gt;&lt;P&gt;DEBUG-FRDM-K64F_Pemicro_v108a_for_OpenSDA_v2.0.bin&lt;/P&gt;&lt;P&gt;This was from a reply by David Seymour in the thread &lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/533787#533787"&gt;&lt;/A&gt;&lt;A href="https://community.freescale.com/message/533787#533787" target="test_blank"&gt;https://community.freescale.com/message/533787#533787&lt;/A&gt; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The only v114 files I can see in the download from P&amp;amp;E Micro are .SDA files. They are all are too large for the BOOTLOADER drive, which is 144KB. There is a v118 file for the TWR-K65F180 but it is also too large. I will try the Segger J-Link but I'm waiting for a Cortex JTAG adapter cable.&lt;/P&gt;&lt;P&gt;When the board was new, it showed up (if I held Reset down while plugging in) as a drive called MBED. After I dropped the v108a file in, the drive shows up as BOOTLOADER. Could this have changed something so that the k20dx128_twr_k65f_if_0x8000.bin file doesn't work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2016 22:31:51 GMT</pubDate>
    <dc:creator>paulb-sct</dc:creator>
    <dc:date>2016-02-24T22:31:51Z</dc:date>
    <item>
      <title>OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483478#M29602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what I have read in other documents and posts, this page should provide the binary bootloader for this board:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA"&gt;http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;I chose the TWR-K65 board and it gave a link to this file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A href="http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin" title="http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin"&gt;http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;I dropped this onto the BOOTLOADER drive, USB-cycled the board, and it appears dead. No virtual COM port or any other new devices show up in Windows Device Manager. Forging ahead anyway, I tried initiating a debug session with KDS, following the instructions here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-100720"&gt;https://community.freescale.com/docs/DOC-100720&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;The OpenOCD debugger is selected, as per the instructions here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A href="https://community.nxp.com/docs/DOC-101845"&gt;GDB Debugging with Kinetis Design Studio&lt;/A&gt;​ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;I get "OpenOCD failed with code(1)." The console messages are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Licensed under GNU GPL v2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;For bug reports, read&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://openocd.sourceforge.net/doc/doxygen/bugs.html" rel="nofollow"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Info : only one transport option; autoselect 'cmsis-dap'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Error: unable to open CMSIS-DAP device&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Error: unable to init CMSIS-DAP driver&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Error: Error selecting 'cmsis-dap' as transport&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;Runtime Error: C:/Freescale/KDS_3.0.0/openocd/bin/..//scripts/kinetis.cfg:3: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;in procedure 'script' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;at file "embedded:startup.tcl", line 58&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;in procedure 'interface' called at file "C:/Freescale/KDS_3.0.0/openocd/bin/..//scripts/kinetis.cfg", line 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The document "Getting Started with Kinetis SDK (KSDK) v.2.0" says a Windows driver is required, gives a link which provides this driver: mbedWinSerial_16466.exe&lt;/P&gt;&lt;P&gt;This driver did not install because "no mbed microcontrollers were found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have previously used this board with the P&amp;amp;E OpenSDA debug interface. Hopefully I can restore it back to the board.&lt;/P&gt;&lt;P&gt;Is OpenSDAv2 available and working correctly for the TWR-K65 board? Is there something wrong with the file k20dx128_twr_k65f_if_0x8000.bin?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:06:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483478#M29602</guid>
      <dc:creator>paulb-sct</dc:creator>
      <dc:date>2016-02-24T19:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483479#M29603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just tried on my TWR-K65 and the binary is working properly, I can see the MBED Mass Storage Device and I can debug an application using CMSIS-DAP. Maybe you're having Windows Drivers issues, no idea.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you try to download the PEMicro_v114 or the Segger_V2_1 binaries to check that your board and OpenSDA are working properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 21:16:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483479#M29603</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-02-24T21:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483480#M29604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. I have previously successfully used the v108a bootloader and debugged it as a P&amp;amp;E Micro OpenSDA v1.0 debug interface. This is the file that I dropped:&lt;/P&gt;&lt;P&gt;DEBUG-FRDM-K64F_Pemicro_v108a_for_OpenSDA_v2.0.bin&lt;/P&gt;&lt;P&gt;This was from a reply by David Seymour in the thread &lt;SPAN style="font-size: 10.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/533787#533787"&gt;&lt;/A&gt;&lt;A href="https://community.freescale.com/message/533787#533787" target="test_blank"&gt;https://community.freescale.com/message/533787#533787&lt;/A&gt; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The only v114 files I can see in the download from P&amp;amp;E Micro are .SDA files. They are all are too large for the BOOTLOADER drive, which is 144KB. There is a v118 file for the TWR-K65F180 but it is also too large. I will try the Segger J-Link but I'm waiting for a Cortex JTAG adapter cable.&lt;/P&gt;&lt;P&gt;When the board was new, it showed up (if I held Reset down while plugging in) as a drive called MBED. After I dropped the v108a file in, the drive shows up as BOOTLOADER. Could this have changed something so that the k20dx128_twr_k65f_if_0x8000.bin file doesn't work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 22:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483480#M29604</guid>
      <dc:creator>paulb-sct</dc:creator>
      <dc:date>2016-02-24T22:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483481#M29605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The K20 can be in two states: Bootloader (Waiting for a .bin) or Application (Ennumerating itself as Segger,PEMicro or CMSIS-DAP)&lt;/P&gt;&lt;P&gt;- When it is acting as bootloader (This happens when you press the reset button before you connect the USB cable) you will see a BOOTLOADER MSD in your PC. You can drag and drop any binary (ended in .bin) and you will change the behavior of the device&lt;/P&gt;&lt;P&gt;- If you see a J-Link or MBED MSD in your PC, this means the K20 is acting as a debugger, and you can drag and drop a binary from any application you've created for the K65, and the K20 will program the K65 with that info (Instead of reprogramming itself)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that this explanation helps you to understand what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483481#M29605</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-02-25T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483482#M29606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to make my description more clear. &lt;/P&gt;&lt;P&gt;I bring up the K20 in Bootloader state, drop in a file, unplug then plug in the USB cable without holding the Reset button.&lt;/P&gt;&lt;P&gt;If the file is DEBUG-FRDM-K64F_Pemicro_v108a_for_OpenSDA_v2.0.bin, 2 devices are added to Windows Device Manager: a Jungo PEMicro driver, and a virtual COM port. I can program and debug my application using KDS with the debug interface set to GDB PEMicro.&lt;/P&gt;&lt;P&gt;If the file is k20dx128_twr_k65f_if_0x8000.bin, no new devices show up in the Device Manager, and no new MSD shows up. I cannot program/debug my application using KDS with the debug interface set to GDB OpenOCD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 19:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483482#M29606</guid>
      <dc:creator>paulb-sct</dc:creator>
      <dc:date>2016-02-25T19:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483483#M29607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks for the clarification! Now I understand it, but I have no idea about what's going on. The only thing that comes to my mind is to reprogram the K20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an external JTAG debugger? Do you need the OpenOCD for any reason or is the PEMicro interface good enough?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 08:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483483#M29607</guid>
      <dc:creator>santiago_gonzal</dc:creator>
      <dc:date>2016-02-26T08:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483484#M29608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would have liked to use OpenOCDv2.0 / CMSIS-DAP because it seems it is&lt;/P&gt;&lt;P&gt;more widely supported (e.g. Rowley Crossworks). We do have a Segger J-Link&lt;/P&gt;&lt;P&gt;and I will try that once I get an adapter cable. The final target board&lt;/P&gt;&lt;P&gt;will only have JTAG, no K20, so using PEMicro will suffice for now. I&lt;/P&gt;&lt;P&gt;really just wanted to verify that I was using the right files to try out&lt;/P&gt;&lt;P&gt;CMSIS-DAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Fri, Feb 26, 2016 at 1:32 AM, santiago.gonzalez &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 14:09:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483484#M29608</guid>
      <dc:creator>paulb-sct</dc:creator>
      <dc:date>2016-02-26T14:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSDAv2 for TWR-K65F180M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483485#M29609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also having troubles using my twr-k65 board as CMSIS DAP debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I use the file from here, the debugger LED just starts to flash fast:&lt;BR /&gt;&lt;A href="http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin" title="http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin"&gt;http://www.nxp.com/files/soft_dev_tools/software_tools/debuggers/k20dx128_twr_k65f_if_0x8000.bin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I flash this file, there is at least a mbed cmsis device shown to me:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.mbed.org/media/uploads/sam_grove/0226_k20dx128_k64f_0x5000.bin" title="https://developer.mbed.org/media/uploads/sam_grove/0226_k20dx128_k64f_0x5000.bin"&gt;https://developer.mbed.org/media/uploads/sam_grove/0226_k20dx128_k64f_0x5000.bin&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;haven't managed to start a debug session with this setup yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this problem known?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 08:46:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/OpenSDAv2-for-TWR-K65F180M/m-p/483485#M29609</guid>
      <dc:creator>peterruesch</dc:creator>
      <dc:date>2016-03-21T08:46:20Z</dc:date>
    </item>
  </channel>
</rss>

