<?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中的主题 Re: openSDA on TWR-K24F120M</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370849#M1789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piotrek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, that is ok. If Ian wants to use COM, he needs external program, of course (Putty, Tera Term...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2014 19:55:23 GMT</pubDate>
    <dc:creator>ivadorazinova</dc:creator>
    <dc:date>2014-11-27T19:55:23Z</dc:date>
    <item>
      <title>openSDA on TWR-K24F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370846#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having trouble getting the openSDA working on the tWR-K24F120M board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see the openSDA port as COM6 in device manager, is there somewhere to enter the COM port number into KDS or does it find it automatically?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My setup is:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16965_16965.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120050i20EDED1B844D2602/image-size/large?v=v2&amp;amp;px=999" role="button" title="16965_16965.bmp" alt="16965_16965.bmp" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47590iF0B67E60D7427E06/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.bmp" alt="Untitled.bmp" /&gt;&lt;/span&gt;&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&gt;But I get this when going into debug:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connected to 127.0.0.1&lt;/P&gt;&lt;P&gt;Reading all registers&lt;/P&gt;&lt;P&gt;WARNING: Failed to read memory @ address 0x00000000&lt;/P&gt;&lt;P&gt;Target interface speed set to 1000 kHz&lt;/P&gt;&lt;P&gt;Resetting target&lt;/P&gt;&lt;P&gt;Halting target CPU...&lt;/P&gt;&lt;P&gt;...Target halted (PC = 0x00000000)&lt;/P&gt;&lt;P&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;/P&gt;&lt;P&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;/P&gt;&lt;P&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;/P&gt;&lt;P&gt;R12= 00000000, R13= 00000000, MSP= 00000000, PSP= 00000000&lt;/P&gt;&lt;P&gt;R14(LR) = 00000000, R15(PC) = 00000000&lt;/P&gt;&lt;P&gt;XPSR 00000000, APSR 00000000, EPSR 00000000, IPSR 00000000&lt;/P&gt;&lt;P&gt;CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00&lt;/P&gt;&lt;P&gt;Reading all registers&lt;/P&gt;&lt;P&gt;Select auto target interface speed (1000 kHz)&lt;/P&gt;&lt;P&gt;Flash breakpoints enabled&lt;/P&gt;&lt;P&gt;Semi-hosting enabled (VectorAddr = 0x08)&lt;/P&gt;&lt;P&gt;Semihosting I/O set to TELNET Client&lt;/P&gt;&lt;P&gt;Downloading 1024 bytes @ address 0x00000000 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16 bytes @ address 0x00000400 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16176 bytes @ address 0x00000410 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16096 bytes @ address 0x00004340 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16080 bytes @ address 0x00008220 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16080 bytes @ address 0x0000C0F0 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16176 bytes @ address 0x0000FFC0 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16176 bytes @ address 0x00013EF0 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16224 bytes @ address 0x00017E20 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16096 bytes @ address 0x0001BD80 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16128 bytes @ address 0x0001FC60 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16176 bytes @ address 0x00023B60 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16192 bytes @ address 0x00027A90 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16192 bytes @ address 0x0002B9D0 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 16176 bytes @ address 0x0002F910 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 11552 bytes @ address 0x00033840 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 8 bytes @ address 0x00036560 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 4 bytes @ address 0x00036568 - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 4 bytes @ address 0x0003656C - Verify failed&lt;/P&gt;&lt;P&gt;Downloading 920 bytes @ address 0x00036570 - Verify failed&lt;/P&gt;&lt;P&gt;Writing register (PC = 0x00000530)&lt;/P&gt;&lt;P&gt;Writing register (XPSR = 0x01000000)&lt;/P&gt;&lt;P&gt;WARNING: Failed to read memory @ address 0x00000530&lt;/P&gt;&lt;P&gt;WARNING: Failed to read memory @ address 0x00005440&lt;/P&gt;&lt;P&gt;WARNING: Failed to read memory @ address 0x00005440&lt;/P&gt;&lt;P&gt;GDB closed TCP/IP connection&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then this in the error window:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in final launch sequence&lt;/P&gt;&lt;P&gt;Failed to execute MI command:&lt;/P&gt;&lt;P&gt;tbreak main&lt;/P&gt;&lt;P&gt;Error message from debugger back end:&lt;/P&gt;&lt;P&gt;Cannot access memory at address 0x5440&lt;/P&gt;&lt;P&gt;Cannot access memory at address 0x5440&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&gt;An internal error occurred during: "Semihosting process monitor job.".&lt;/P&gt;&lt;P&gt;java.lang.IllegalThreadStateException&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What did I do wrong?&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;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 02:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370846#M1786</guid>
      <dc:creator>iancraven</dc:creator>
      <dc:date>2014-11-26T02:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: openSDA on TWR-K24F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370847#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you need COM when you use J-Link?&lt;/P&gt;&lt;P&gt;Debugger probably cannot read from MCU. It can be problem with connection (power, debug port, clock..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 13:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370847#M1787</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2014-11-27T13:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: openSDA on TWR-K24F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370848#M1788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Iva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Why do you need COM when you use J-Link?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's an interesting question. How would I use printf() in my program to output some test messages without using COM ports (one on the development board and one on the PC)?&lt;/P&gt;&lt;P&gt;Is this possible with J-Link? Where would I see messages? On the IDE console?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 15:45:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370848#M1788</guid>
      <dc:creator>piotrek</dc:creator>
      <dc:date>2014-11-27T15:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: openSDA on TWR-K24F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370849#M1789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piotrek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, that is ok. If Ian wants to use COM, he needs external program, of course (Putty, Tera Term...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 19:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370849#M1789</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2014-11-27T19:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: openSDA on TWR-K24F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370850#M1790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piotrek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before debug , you should update bootloader.&lt;/P&gt;&lt;P&gt;Enter bootloader Mode , then load J-Link Application.&lt;/P&gt;&lt;P&gt;Detail&amp;nbsp; steps&amp;nbsp; please refer to below :&lt;/P&gt;&lt;P&gt;&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/47675i46DBD4C341D42B4C/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;And you only need refer to red box I log.&amp;nbsp; the JLink driver i attached to you !&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;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'inherit','serif'; color: #3d3d3d;"&gt;If this post answers your question, please click the Correct Answer button. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 03:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/openSDA-on-TWR-K24F120M/m-p/370850#M1790</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2014-11-28T03:23:15Z</dc:date>
    </item>
  </channel>
</rss>

