<?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 How can one load/debug programs in K70 DDR?   in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-one-load-debug-programs-in-K70-DDR/m-p/742089#M9537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My application is/will be too large to fit into the internal flash of a K70 and want to load/boot the application (via some small boot-loader) in DDR and execute it from there.&amp;nbsp;&amp;nbsp;To ease/speed development&amp;nbsp;I want to allow loading/debugging the&amp;nbsp;application in DDR using KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I run a script after the target&amp;nbsp;is&amp;nbsp;connected and before the .elf is loaded - to setup the&amp;nbsp; MCG and DDR registers that initialize DDR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Jan 2018 18:54:13 GMT</pubDate>
    <dc:creator>pbarada</dc:creator>
    <dc:date>2018-01-21T18:54:13Z</dc:date>
    <item>
      <title>How can one load/debug programs in K70 DDR?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-one-load-debug-programs-in-K70-DDR/m-p/742089#M9537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My application is/will be too large to fit into the internal flash of a K70 and want to load/boot the application (via some small boot-loader) in DDR and execute it from there.&amp;nbsp;&amp;nbsp;To ease/speed development&amp;nbsp;I want to allow loading/debugging the&amp;nbsp;application in DDR using KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I run a script after the target&amp;nbsp;is&amp;nbsp;connected and before the .elf is loaded - to setup the&amp;nbsp; MCG and DDR registers that initialize DDR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2018 18:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-one-load-debug-programs-in-K70-DDR/m-p/742089#M9537</guid>
      <dc:creator>pbarada</dc:creator>
      <dc:date>2018-01-21T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can one load/debug programs in K70 DDR?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-one-load-debug-programs-in-K70-DDR/m-p/742090#M9538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293670" data-username="pbarada" href="https://community.nxp.com/people/pbarada"&gt;Peter Barada&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Sorry in KDS I haven't find the debugger configure file like "init_kinetis.tcl",&lt;/P&gt;&lt;P&gt;so I think we can initlialize the DDR on application code.&lt;/P&gt;&lt;P&gt;There is a guide about "Debugging out of External RAM":&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;-&amp;gt;7) Debugging out of External RAM&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/30416i7C8FAA32C13105C0/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;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;TIC&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>Mon, 29 Jan 2018 03:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-can-one-load-debug-programs-in-K70-DDR/m-p/742090#M9538</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-01-29T03:59:26Z</dc:date>
    </item>
  </channel>
</rss>

