<?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>LPC Microcontrollers中的主题 Re: how to Debug in SDRAM</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523077#M5713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Mon Jul 22 01:25:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to load your code into SDRAM, and execute from there, you will need to set many registers, incl. MPU, and will need to setup the SDRAM inside your debugger start script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also must copy the interrupt vector table into internal RAM and set the vtable pointer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the attached file (for openocd debugger) as a starting point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wolfgang&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:01:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:01:35Z</dc:date>
    <item>
      <title>how to Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523076#M5712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jerrycai on Sun Jul 21 05:02:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;MCU: LPC1788FBD20&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IDE: Keil MDK 4.71&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to download and debug the code in external SDRAM via Jtag. It takes much time to erase and download to Flash, So I want to download the code to SDRAM direclty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone has the excessful sample? or verified SDRAM.ini file for MDK?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or this idea is infeasible for Cortex-M3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523076#M5712</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523077#M5713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Mon Jul 22 01:25:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to load your code into SDRAM, and execute from there, you will need to set many registers, incl. MPU, and will need to setup the SDRAM inside your debugger start script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also must copy the interrupt vector table into internal RAM and set the vtable pointer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the attached file (for openocd debugger) as a starting point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wolfgang&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523077#M5713</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523078#M5714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jerrycai on Sat Jul 27 23:47:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I defined an .ini file for system clock and sdram initialization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Debug sebug aborted when I change the CPU clock from sysclk to pll_clk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the error info&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]_WDWORD(0x400FC104,0x00000101)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** error 125: AGDI: memory write failed (0x400FC104)[/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I write it in code, and debug the code step by step without .ini file, it works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the difference between the two methods,and how can I avoid the issue in .ini file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523078#M5714</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to Debug in SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523079#M5715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jerrycai on Sat Jul 27 23:51:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I defined an .ini file for system clock and sdram initialization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Debug sebug aborted when I change the CPU clock from sysclk to pll_clk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the error info&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]_WDWORD(0x400FC104,0x00000101)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;^&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*** error 125: AGDI: memory write failed (0x400FC104)[/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I write it in code, and debug the code step by step without .ini file, it works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the difference between the two methods,and how can I avoid the issue in .ini file?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/how-to-Debug-in-SDRAM/m-p/523079#M5715</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:01:37Z</dc:date>
    </item>
  </channel>
</rss>

