<?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>Kinetis Design StudioのトピックK60FX512 FT2232 and Linux KDS3.0 debug</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60FX512-FT2232-and-Linux-KDS3-0-debug/m-p/416473#M3213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debugger&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;made on the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FT2232&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and the device&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;microcontroller&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;K60FX512.&lt;/SPAN&gt; &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I create&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an empty&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;project with OpenOCD debug session.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Trying to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;start&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debugging&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on Linux&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;KDS3.0 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;ends&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error messages.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;The system&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is also set&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;OpenOCD 0.8.0.&lt;/SPAN&gt; I&lt;SPAN class="hps"&gt;f you specify&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the settings&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of the external&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debug&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;OpenOCD&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;specifying&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;configuration files&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;K60&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FT2232&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;also ends&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error messages.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;From the command line and KDS 2.0&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;K60&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is programmed&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;properly.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;How to configure&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Linux KDS 3.0&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debug&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;guaranteed to work&lt;/SPAN&gt;?&lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;A _jive_internal="true" data-containerid="11213" data-containertype="14" data-objectid="355645" data-objecttype="1" href="https://community.nxp.com/thread/355645#516578"&gt;https://community.freescale.com/message/516578#516578&lt;/A&gt;&lt;SPAN&gt; -&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the answer is not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;openocd log:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:23)&lt;/P&gt;&lt;P&gt;Licensed under GNU GPL v2&lt;/P&gt;&lt;P&gt;For bug reports, read&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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;/P&gt;&lt;P&gt;Info : only one transport option; autoselect 'jtag'&lt;/P&gt;&lt;P&gt;srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst&lt;/P&gt;&lt;P&gt;adapter speed: 1000 kHz&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis k60.flash&lt;/P&gt;&lt;P&gt;cortex_m reset_config sysresetreq&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.0&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.1&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.2&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.3&lt;/P&gt;&lt;P&gt;Started by GNU ARM Eclipse&lt;/P&gt;&lt;P&gt;Info : clock speed 1000 kHz&lt;/P&gt;&lt;P&gt;Info : JTAG tap: k60.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)&lt;/P&gt;&lt;P&gt;Info : k60.cpu: hardware has 6 breakpoints, 4 watchpoints&lt;/P&gt;&lt;P&gt;Info : accepting 'gdb' connection from 3333&lt;/P&gt;&lt;P&gt;Warn : acknowledgment received, but no packet pending&lt;/P&gt;&lt;P&gt;undefined debug reason 7 - target needs reset&lt;/P&gt;&lt;P&gt;Info : JTAG tap: k60.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)&lt;/P&gt;&lt;P&gt;target state: halted&lt;/P&gt;&lt;P&gt;target halted due to debug-request, current mode: Thread &lt;/P&gt;&lt;P&gt;xPSR: 0x01000000 pc: 0x0000069c msp: 0x20000000&lt;/P&gt;&lt;P&gt;semihosting is enabled&lt;/P&gt;&lt;P&gt;Warn : No RTOS could be auto-detected!&lt;/P&gt;&lt;P&gt;Warn : No RTOS could be auto-detected!&lt;/P&gt;&lt;P&gt;Error: JTAG-DP STICKY ERROR&lt;/P&gt;&lt;P&gt;Error: MEM_AP_CSW 0x23000062, MEM_AP_TAR 0x4&lt;/P&gt;&lt;P&gt;Error: Failed to write memory at 0x00000004&lt;/P&gt;&lt;P&gt;Error: JTAG-DP STICKY ERROR&lt;/P&gt;&lt;P&gt;Error: MEM_AP_CSW 0x23000062, MEM_AP_TAR 0x404&lt;/P&gt;&lt;P&gt;Error: Failed to write memory at 0x00000404&lt;/P&gt;&lt;P&gt;Info : dropped 'gdb' connection&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;In the attached file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is writed firmware. Secure chip is disable. E&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;rase and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;retry&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;program&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not end with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;success&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339177"&gt;temp.bin.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2015 05:46:14 GMT</pubDate>
    <dc:creator>nikolaykulikov</dc:creator>
    <dc:date>2015-07-16T05:46:14Z</dc:date>
    <item>
      <title>K60FX512 FT2232 and Linux KDS3.0 debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K60FX512-FT2232-and-Linux-KDS3-0-debug/m-p/416473#M3213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debugger&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;made on the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FT2232&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and the device&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;microcontroller&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;K60FX512.&lt;/SPAN&gt; &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I create&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an empty&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;project with OpenOCD debug session.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Trying to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;start&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debugging&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on Linux&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;KDS3.0 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;ends&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error messages.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;The system&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is also set&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;OpenOCD 0.8.0.&lt;/SPAN&gt; I&lt;SPAN class="hps"&gt;f you specify&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the settings&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of the external&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debug&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;OpenOCD&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;specifying&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;configuration files&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;K60&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FT2232&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;also ends&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error messages.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;From the command line and KDS 2.0&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;K60&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is programmed&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;properly.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;How to configure&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Linux KDS 3.0&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;debug&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;guaranteed to work&lt;/SPAN&gt;?&lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;A _jive_internal="true" data-containerid="11213" data-containertype="14" data-objectid="355645" data-objecttype="1" href="https://community.nxp.com/thread/355645#516578"&gt;https://community.freescale.com/message/516578#516578&lt;/A&gt;&lt;SPAN&gt; -&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the answer is not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;openocd log:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:23)&lt;/P&gt;&lt;P&gt;Licensed under GNU GPL v2&lt;/P&gt;&lt;P&gt;For bug reports, read&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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;/P&gt;&lt;P&gt;Info : only one transport option; autoselect 'jtag'&lt;/P&gt;&lt;P&gt;srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst&lt;/P&gt;&lt;P&gt;adapter speed: 1000 kHz&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis k60.flash&lt;/P&gt;&lt;P&gt;cortex_m reset_config sysresetreq&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.0&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.1&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.2&lt;/P&gt;&lt;P&gt;Info : add flash_bank kinetis pflash.3&lt;/P&gt;&lt;P&gt;Started by GNU ARM Eclipse&lt;/P&gt;&lt;P&gt;Info : clock speed 1000 kHz&lt;/P&gt;&lt;P&gt;Info : JTAG tap: k60.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)&lt;/P&gt;&lt;P&gt;Info : k60.cpu: hardware has 6 breakpoints, 4 watchpoints&lt;/P&gt;&lt;P&gt;Info : accepting 'gdb' connection from 3333&lt;/P&gt;&lt;P&gt;Warn : acknowledgment received, but no packet pending&lt;/P&gt;&lt;P&gt;undefined debug reason 7 - target needs reset&lt;/P&gt;&lt;P&gt;Info : JTAG tap: k60.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)&lt;/P&gt;&lt;P&gt;target state: halted&lt;/P&gt;&lt;P&gt;target halted due to debug-request, current mode: Thread &lt;/P&gt;&lt;P&gt;xPSR: 0x01000000 pc: 0x0000069c msp: 0x20000000&lt;/P&gt;&lt;P&gt;semihosting is enabled&lt;/P&gt;&lt;P&gt;Warn : No RTOS could be auto-detected!&lt;/P&gt;&lt;P&gt;Warn : No RTOS could be auto-detected!&lt;/P&gt;&lt;P&gt;Error: JTAG-DP STICKY ERROR&lt;/P&gt;&lt;P&gt;Error: MEM_AP_CSW 0x23000062, MEM_AP_TAR 0x4&lt;/P&gt;&lt;P&gt;Error: Failed to write memory at 0x00000004&lt;/P&gt;&lt;P&gt;Error: JTAG-DP STICKY ERROR&lt;/P&gt;&lt;P&gt;Error: MEM_AP_CSW 0x23000062, MEM_AP_TAR 0x404&lt;/P&gt;&lt;P&gt;Error: Failed to write memory at 0x00000404&lt;/P&gt;&lt;P&gt;Info : dropped 'gdb' connection&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;In the attached file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is writed firmware. Secure chip is disable. E&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;rase and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;retry&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;program&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not end with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;success&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339177"&gt;temp.bin.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 05:46:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K60FX512-FT2232-and-Linux-KDS3-0-debug/m-p/416473#M3213</guid>
      <dc:creator>nikolaykulikov</dc:creator>
      <dc:date>2015-07-16T05:46:14Z</dc:date>
    </item>
  </channel>
</rss>

