<?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>MCUXpresso IDE中的主题 Re: Debug in SDRAM</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707167#M937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll basically need to write and then a script that pokes the appropriate registers to set the SDRAM up before your debug session attempts to download the code into the RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were using a LinkServer connection (such as LPC-Link2 / CMSIS-DAP), then this has the ability to run scripts as part of the debug connection setup. But more generically, you could probably also do this using a gdb init script too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2017 21:27:51 GMT</pubDate>
    <dc:creator>lpcxpresso_supp</dc:creator>
    <dc:date>2017-08-30T21:27:51Z</dc:date>
    <item>
      <title>Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707164#M934</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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I&amp;nbsp;posted another question about loading an application to debug in SDRAM in the post&lt;A _jive_internal="true" data-containerid="11213" data-containertype="14" data-content-finding="Community" data-objectid="442023" data-objecttype="1" href="https://community.nxp.com/thread/442023" style="color: #5e89c1; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Debug in SDRAM&lt;/A&gt;&amp;nbsp;using KDS toolchain, referred to summarize the basic steps.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I was forced to switch to IAR toolchain because KDS doesn't allow to load the application code in SDRAM. I'm working on a custom board based on K65FX1M0M18 using J-Link or Multilink Universal debugger.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;In the board there are:&lt;/P&gt;&lt;UL style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;K65F&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;X&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;M0M18&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;External SDRAM (4M x 32)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;External flash&amp;nbsp;(2M x 16),&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Now I'm considering to switch to MCUXpresso toolchain, but my doubt is the same: does MCUXpresso toolchain allow&amp;nbsp;&lt;SPAN style="color: #51626f;"&gt;to load the application code in SDRAM? If so,&amp;nbsp;how can it be done?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #51626f; font-weight: inherit;"&gt;Biafra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 07:50:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707164#M934</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-08-25T07:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707165#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco Bianchini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my understanding you have no problems to load your code to the external SDRAM, you have problems to debug it, am I correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, you have to tell the debugger which file to point when debugging, in the case of using a bootloader then you can debug both bootloader and application, please check the following post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/917515"&gt;https://community.nxp.com/message/917515&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can also find the link to a community doc where it is explained how to do this in KDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 20:10:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707165#M935</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-08-29T20:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707166#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right: I can load the code to the external SDRAM with the boot loader and it works fine, the problem is only in the debugging phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your suggestion, but I was thinking if there is an alterntive way: I was thinking to some commands to send to the debugger to&amp;nbsp;initialize the hardware and the SDRAM controller, then load the application directly to the SDRAM and finally set the PC and the SP to run the application. All these steps without the need to flashing the external flash memory.&lt;/P&gt;&lt;P&gt;Is this method possible with MCUXpresso or KDS?&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, 30 Aug 2017 07:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707166#M936</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-08-30T07:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707167#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll basically need to write and then a script that pokes the appropriate registers to set the SDRAM up before your debug session attempts to download the code into the RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were using a LinkServer connection (such as LPC-Link2 / CMSIS-DAP), then this has the ability to run scripts as part of the debug connection setup. But more generically, you could probably also do this using a gdb init script too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 21:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707167#M937</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-08-30T21:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707168#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use PEmicro&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Multilink Universal debugger or JLink debugger, so I have to use a gdb init script, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Which is the syntax to write the script and how can I specify to use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Biafra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 07:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Debug-in-SDRAM/m-p/707168#M938</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2017-08-31T07:26:10Z</dc:date>
    </item>
  </channel>
</rss>

