<?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 GeneralのトピックRe: Access to LPC1788 External SRAM with Linker Script</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Access-to-LPC1788-External-SRAM-with-Linker-Script/m-p/1728624#M5112</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206134"&gt;@Eugene723&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Placing-data-in-external-RAM-LPC4088-MCUXpresso/m-p/726903" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/Placing-data-in-external-RAM-LPC4088-MCUXpresso/m-p/726903&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2023 07:16:53 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2023-09-25T07:16:53Z</dc:date>
    <item>
      <title>Access to LPC1788 External SRAM with Linker Script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Access-to-LPC1788-External-SRAM-with-Linker-Script/m-p/1726491#M5111</link>
      <description>&lt;P&gt;I work with a board that has two 1MB SRAM (CY7C1051DV33) chips connected via CS0 (address: 0x8000&amp;nbsp;0000) and CS1 (address: 0x9000&amp;nbsp;0000). These memories are declared in settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Access to LPC1788 Extended SRAM with Linker Script (post in NXP forum) - illustration 1.png" style="width: 602px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/241858i3B19CF3FB1B19373/image-size/large?v=v2&amp;amp;px=999" role="button" title="Access to LPC1788 Extended SRAM with Linker Script (post in NXP forum) - illustration 1.png" alt="Access to LPC1788 Extended SRAM with Linker Script (post in NXP forum) - illustration 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this correct? Can external RAM be used this way:&lt;/P&gt;&lt;P&gt;uint8_t __attribute__ ((section("RW_RAM0"))) myLargeData[500000];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As opposite to:&lt;/P&gt;&lt;P&gt;#define LPC_STAT_CS0_BASE 0x80000000UL&lt;/P&gt;&lt;P&gt;volatile uint8_t *myLargeData = (uint8_t *) LPC_STAT_CS0_BASE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I want to avoid the latter way is that I have multiple variables so I would have to assign each one individually:&lt;/P&gt;&lt;P&gt;volatile uint32_t * myFirstInteger = (uint32_t *)( LPC_STAT_CS0_BASE + 500000 );&lt;/P&gt;&lt;P&gt;volatile uint32_t * mySecondInteger = (uint32_t *)( LPC_STAT_CS0_BASE + 500004 );&lt;/P&gt;&lt;P&gt;volatile uint32_t * myThirdInteger = (uint32_t *)( LPC_STAT_CS0_BASE + 500008 );&lt;/P&gt;&lt;P&gt;and so forth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 19:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Access-to-LPC1788-External-SRAM-with-Linker-Script/m-p/1726491#M5111</guid>
      <dc:creator>Eugene723</dc:creator>
      <dc:date>2023-09-20T19:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Access to LPC1788 External SRAM with Linker Script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Access-to-LPC1788-External-SRAM-with-Linker-Script/m-p/1728624#M5112</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206134"&gt;@Eugene723&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Placing-data-in-external-RAM-LPC4088-MCUXpresso/m-p/726903" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/Placing-data-in-external-RAM-LPC4088-MCUXpresso/m-p/726903&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 07:16:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Access-to-LPC1788-External-SRAM-with-Linker-Script/m-p/1728624#M5112</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-09-25T07:16:53Z</dc:date>
    </item>
  </channel>
</rss>

