<?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: Debugger .cfg file location and options in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631091#M8124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please change&amp;nbsp;&amp;nbsp; -f 'kinetis.cfg' to&amp;nbsp;&amp;nbsp; -f kinetis.cfg&amp;nbsp; , have a try.&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/991iD89B03CD9C349D41/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;2. After connect your board ,Please share the "Device Manager" of your PC, about the Ports :&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/1215i3A37890CE9119141/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&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>Thu, 22 Dec 2016 03:38:20 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-12-22T03:38:20Z</dc:date>
    <item>
      <title>Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631088#M8121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;I have a&amp;nbsp; twrke18f board, and I just starting out using KDS 3.2 and&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;trying a simple hello world project from SDK_2.0_TWR-KE18F.&lt;/P&gt;&lt;P&gt;what sub-directory is needed for&amp;nbsp; kinetis.cfg for whatever Debugger Config options file.&lt;/P&gt;&lt;P&gt;Where is there a description of the options possible for the .cfg file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 21:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631088#M8121</guid>
      <dc:creator>davidpotter</dc:creator>
      <dc:date>2016-12-20T21:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631089#M8122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please take a screenshot about your problem.&lt;/P&gt;&lt;P&gt;For example where shows "what sub-directory is needed for&amp;nbsp; kinetis.cfg for whatever Debugger Config options file."&lt;/P&gt;&lt;P&gt;also show the error massage.&lt;/P&gt;&lt;P&gt;In the GDB OpenOCD debug mode :&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/10587iE037F5C9E58DEB89/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;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 01:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631089#M8122</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-21T01:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631090#M8123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I attached images of the Debug configuration tabs and the error message received after I&lt;/P&gt;&lt;P&gt;clicked the debug icon. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;So you see, everything compiles, but I can’t download the code.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I am using the TWR-KE18F board. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;From the TWR-KE18F User’s guide document,  page  6,&lt;/P&gt;&lt;P&gt;I believe that I need to get the board to  load the demo code into flash and run in debug mode.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thus, I believe that I have to get the board into CDSIS-DAP bootloader mode&lt;/P&gt;&lt;P&gt;and therefore I  follow the instructions on document&lt;/P&gt;&lt;P&gt;TWR-KE18F User’s Guide, Rev. 0, 09/2015. page 6.,&lt;/P&gt;&lt;P&gt;I bring up the board by holding the reset button down while plugging in the USB cable&lt;/P&gt;&lt;P&gt;in order to get it into the bootloader mode.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;David W. Potter&lt;/P&gt;&lt;P&gt;Senior Electrical Engineer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;East Penn Manufacturing Co.&lt;/P&gt;&lt;P&gt;102 Deka Rd., Lyon Station, PA 19536&lt;/P&gt;&lt;P&gt;Ph. 610.682.6361 x3581&lt;/P&gt;&lt;P&gt;Automated Ph. 610.682.3150 x3581&lt;/P&gt;&lt;P&gt;dpotter@dekabatteries.com&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.dekabatteries.com" target="test_blank"&gt;http://www.dekabatteries.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:30:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631090#M8123</guid>
      <dc:creator>davidpotter</dc:creator>
      <dc:date>2016-12-21T14:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631091#M8124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please change&amp;nbsp;&amp;nbsp; -f 'kinetis.cfg' to&amp;nbsp;&amp;nbsp; -f kinetis.cfg&amp;nbsp; , have a try.&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/991iD89B03CD9C349D41/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;2. After connect your board ,Please share the "Device Manager" of your PC, about the Ports :&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/1215i3A37890CE9119141/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&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>Thu, 22 Dec 2016 03:38:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631091#M8124</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-22T03:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631092#M8125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I removed the quote and the attachment shows the error.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;the device DAPLink CMSIS-DAP device shows up in the Devices and Printers and the properties claim the device is working properly&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Under the device manager, I see under&lt;/P&gt;&lt;P&gt;portable device, DAPLINKBOOT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Line 3 of kinetis.cfg is &lt;/P&gt;&lt;P&gt; interface cmsis-dap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 21:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631092#M8125</guid>
      <dc:creator>davidpotter</dc:creator>
      <dc:date>2016-12-22T21:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631093#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;- I h ave not this board, while when i set the other kinetis board to CDSIS-DAP bootloader mode,&lt;/P&gt;&lt;P&gt;it should shows:&lt;/P&gt;&lt;P&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/1261iC1D3D6C1D212899C/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;/P&gt;&lt;P&gt;- If still can not work , you can also test the Jlink bootloader to have a try .&lt;/P&gt;&lt;P&gt;You can find the firmware at here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/startertrak-development-boards/opensda-serial-and-debug-adapter:OPENSDA#TWR-KE18F" title="http://www.nxp.com/products/software-and-tools/hardware-development-tools/startertrak-development-boards/opensda-serial-and-debug-adapter:OPENSDA#TWR-KE18F"&gt;OpenSDA Serial and Debug Adapter|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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/1300i128783E397AB7ACD/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;&lt;A class="link-titled" href="https://www.segger.com/downloads/jlink" title="https://www.segger.com/downloads/jlink"&gt;SEGGER - The Embedded Experts - Downloads - J-Link / J-Trace&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1334iF5823FF2CF2ACBEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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>Fri, 23 Dec 2016 09:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631093#M8126</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-23T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631094#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started fresh without using the segger jlink and directly using the daplink interface&lt;/P&gt;&lt;P&gt;the message is now:&lt;/P&gt;&lt;P&gt;Started by GNU ARM Eclipse&lt;BR /&gt;Info : CMSIS-DAP: FW Version = 1.0&lt;BR /&gt;Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1&lt;BR /&gt;Info : DAP_SWJ Sequence (reset: 50+ '1' followed by 0)&lt;BR /&gt;Info : CMSIS-DAP: Interface ready&lt;BR /&gt;Info : clock speed 1000 kHz&lt;BR /&gt;Info : IDCODE 0x2ba01477&lt;BR /&gt;Info : kinetis.cpu: hardware has 6 breakpoints, 4 watchpoints&lt;BR /&gt;Info : accepting 'gdb' connection from 3333&lt;BR /&gt;target state: halted&lt;BR /&gt;target halted due to debug-request, current mode: Thread &lt;BR /&gt;xPSR: 0x61000000 pc: 0x00002c24 msp: 0x20007fd0&lt;BR /&gt;Error: MCU is unsupported&lt;BR /&gt;Error: auto_probe failed&lt;BR /&gt;Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.&lt;BR /&gt;Error: attempted 'gdb' connection rejected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device windows explorer shows:&lt;/P&gt;&lt;P&gt;TWR-KE18FD(E:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DETAILS.TXT file contains:&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# DAPLink Firmware - see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmbed.com%2Fdaplink" rel="nofollow" target="_blank"&gt;https://mbed.com/daplink&lt;/A&gt;&lt;BR /&gt;Unique&lt;BR /&gt;HIC ID: 97969900&lt;BR /&gt;Auto Reset: 0&lt;BR /&gt;Automation allowed: 0&lt;BR /&gt;Daplink Mode: Interface&lt;BR /&gt;Interface Version: 0241&lt;BR /&gt;Bootloader Version: 0241&lt;BR /&gt;Git SHA: 0123456789&lt;BR /&gt;Local Mods: 56148&lt;BR /&gt;USB Interfaces: MSD, CDC, HID&lt;BR /&gt;Bootloader CRC: 0xc4c2faeb&lt;BR /&gt;Interface CRC: 0x99c6f8a# DAPLink Firmware - see &lt;A href="https://mbed.com/daplink"&gt;https://mbed.com/daplink&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The real problem is there are no examples for configuring this board. The links to the examples on dead links and there seems to be no support for updating them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 19:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631094#M8127</guid>
      <dc:creator>davidpotter</dc:creator>
      <dc:date>2017-01-05T19:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Debugger .cfg file location and options</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631095#M8128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes,&amp;nbsp; i think the DAPlink not support this board now , so please use the Jlink .&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>Fri, 06 Jan 2017 07:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugger-cfg-file-location-and-options/m-p/631095#M8128</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-06T07:34:28Z</dc:date>
    </item>
  </channel>
</rss>

