<?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: Debug in SDRAM</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661090#M8722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No one can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 15:10:25 GMT</pubDate>
    <dc:creator>biafra</dc:creator>
    <dc:date>2017-01-13T15:10:25Z</dc:date>
    <item>
      <title>Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661085#M8717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a custom board based on K65FN2M0M18 using KDS 3.2.0 and Multilink Universal debugger.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;application I'm working&amp;nbsp;on has to run in external SDRAM (4M x 32), so at runtime there is a bootloader that copies the application from the external flash where it is stored to SDRAM. The application is linked with relocation to the correct&amp;nbsp;addresses.&lt;/P&gt;&lt;P&gt;I need to debug the application in SDRAM, but I cannot find any way to download the code there.&lt;/P&gt;&lt;P&gt;Which is the correct workflow in this application?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 11:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661085#M8717</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-01-04T11:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661086#M8718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Biafra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can relocate your code into SDRAM, about the detail steps&lt;/P&gt;&lt;P&gt;please refer to this DOC:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104433"&gt;Relocating Code and Data Using the KDS GCC Linker File for Kinetis&lt;/A&gt;&amp;nbsp;&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/6729iBE34B6D3A8437368/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;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, 06 Jan 2017 05:48:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661086#M8718</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-06T05:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661087#M8719</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;Many thanks for your answer. I have already read the document you have told me about.&lt;/P&gt;&lt;P&gt;I've not been clear: my problem is not how to relocate the code in SDRAM, this step has already been done. My problem is how I can load the code in SDRAM with the debugger probe in the debugging phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 23:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661087#M8719</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-01-06T23:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661088#M8720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Biafra,&lt;/P&gt;&lt;P&gt;-After relocate&amp;nbsp; the code, the startup code will copy the code from FLASH to RAM,&lt;/P&gt;&lt;P&gt;so you needn't download code to RAM use debugger .&lt;/P&gt;&lt;P&gt;- About how to use debugger copy code from flash to RAM, you can find good answer at&lt;/P&gt;&lt;P&gt;P&amp;amp;E Customer Support :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.pemicro.com/support/index.cfm" title="https://www.pemicro.com/support/index.cfm"&gt;P&amp;amp;E Microcomputer Systems: Over 30 years as an Industry leader in Embedded Systems Development Tools, debug probes, and …&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&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>Mon, 09 Jan 2017 03:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661088#M8720</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-09T03:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661089#M8721</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;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I need to better specify the project and correct my previous post: the custom board is based on K65FX1M0M18 chip (the K65FN2M0M18 chip is in the prototype board, not in the final one), so there is 1 MB flash.&lt;/P&gt;&lt;P&gt;1 MB flash is not enough to store the application (and maybe neither 2 MB), so there a 4 MB external flash (29LV320) where the application is stored. Then the boot loader (stored in the internal flash) copies the application from the external flash to SDRAM: this is the reason why I have to download the code to SDRAM using debugger in the debug phase.&lt;/P&gt;&lt;P&gt;I don't think that the only workflow I can use is write the application in the external flash then execute the boot loader that copies the application in the SDRAM&amp;nbsp;execute it and finally attach with the debugger to the&amp;nbsp;running application. The option to load the application to debug directly to SDRAM using the debugger was avaliable in the tool I use for 15 years in my past work (SDS debugger with Coldfire processor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 08:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661089#M8721</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-01-09T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661090#M8722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No one can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661090#M8722</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-01-13T15:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661091#M8723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Biafra,&lt;/P&gt;&lt;P&gt;Sorry to reply you late.&lt;/P&gt;&lt;P&gt;If you want debug on external RAM, you need configure the linker file ,&lt;/P&gt;&lt;P&gt;there is a DOC about how to do in CW, while it is the same with KDS, you can refer to.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101433"&gt;Relocating Code and Data Using the CW GCC Linker File for Kinetis&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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/10986iBA726A09CA98D729/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;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>Tue, 17 Jan 2017 06:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661091#M8723</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-17T06:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661092#M8724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For KDS you can refer to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-104433"&gt;Relocating Code and Data Using the KDS GCC Linker File for Kinetis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661092#M8724</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2017-01-17T08:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661093#M8725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi Alice,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you for your answer.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;You have focused the point! My problem is where to find the files specified in appendix C and D, where to specify to use them in KDS and which is the syntax to write them (maybe the same as CW?).&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Many thanks&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661093#M8725</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-01-17T08:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661094#M8726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Biafra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry for my last reply, it seems that we can not download project into SDRAM directly .&lt;/P&gt;&lt;P&gt;for in KDS, I have not find the debugger configure file like "init_kinetis.tcl" .&lt;/P&gt;&lt;P&gt;I will confirm it with KDS expert , then reply you .&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>Tue, 17 Jan 2017 10:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661094#M8726</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-17T10:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661095#M8727</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;Do you have some news about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 16:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661095#M8727</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-04-26T16:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661096#M8728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biafa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked your another question, so suddenly I thought something.&lt;/P&gt;&lt;P&gt;Yes, in KDS, there isn't the two files "init_kinetis.tcl" and "*.mem" (appendix C and D)as that DOC mentioned,&lt;/P&gt;&lt;P&gt;while in the DOC, it said there are two methods :&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/27045iF776FAB432AABEFB/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;So maybe you can use the second method replace the two files in the first method.&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, 25 Aug 2017 09:03:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debug-in-SDRAM/m-p/661096#M8728</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-08-25T09:03:54Z</dc:date>
    </item>
  </channel>
</rss>

