<?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 Re: Using all SRAM in LPC4088 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415264#M47925</link>
    <description>&lt;P&gt;I suspect your stack is too small, and an overflow causes your application to crash.&lt;/P&gt;&lt;P&gt;This might go unnoticed less RAM is used, and there is a gap between the assigned stack space and the used data space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 11:34:34 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2022-02-17T11:34:34Z</dc:date>
    <item>
      <title>Using all SRAM in LPC4088</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/548758#M13706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kruftin on Wed Dec 16 22:47:43 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm try using all SRAM memory in LPC 4088. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SRAM divided on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- 64 kB of Main SRAM on the CPU code/data bus for high-performance CPU&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- two 16 kB SRAM blocks with separate access paths for higher throughput.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These SRAM blocks may be used for Ethernet, USB, LCD, and DMA memory, as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;well as for general purpose instruction and data storage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In IAR I'm modify icf:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_ROM_end__&amp;nbsp;&amp;nbsp; = 0x0007FFFF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_RAM_start__ = 0x10000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_RAM_end__&amp;nbsp;&amp;nbsp; = 0x1000FFFF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_RAM2_start__ = 0x20000000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_RAM2_end__&amp;nbsp;&amp;nbsp; = 0x20003FFF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_RAM3_start__ = 0x20004000;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;define symbol __ICFEDIT_region_RAM3_end__&amp;nbsp;&amp;nbsp; = 0x20007FFF;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;define region RAM_region&amp;nbsp;&amp;nbsp;&amp;nbsp; = mem:[from __ICFEDIT_region_RAM_start__&amp;nbsp;&amp;nbsp; to __ICFEDIT_region_RAM_end__] | mem:[from __ICFEDIT_region_RAM2_start__&amp;nbsp;&amp;nbsp; to __ICFEDIT_region_RAM2_end__] | mem:[from __ICFEDIT_region_RAM3_start__&amp;nbsp;&amp;nbsp; to __ICFEDIT_region_RAM3_end__];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But If I use all SRAM my program periodically crashed in Hard Fault. If I use for my code only main SRAM block all works correctly. Could I use two 16kB SRAM blocks for my rw data?&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338039"&gt;LPC4088_Flash_SPIFI_1_copy.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/548758#M13706</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using all SRAM in LPC4088</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415214#M47924</link>
      <description>&lt;P&gt;I am using LPC4088 some time my program reset, i cut not find the cause,&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 10:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415214#M47924</guid>
      <dc:creator>brkhanduri12</dc:creator>
      <dc:date>2022-02-17T10:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using all SRAM in LPC4088</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415264#M47925</link>
      <description>&lt;P&gt;I suspect your stack is too small, and an overflow causes your application to crash.&lt;/P&gt;&lt;P&gt;This might go unnoticed less RAM is used, and there is a gap between the assigned stack space and the used data space.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 11:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415264#M47925</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-02-17T11:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using all SRAM in LPC4088</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415266#M47926</link>
      <description>&lt;P&gt;I didn'r realize how old the original post is.&lt;/P&gt;&lt;P&gt;However, the hint still applies.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; I am using LPC4088 some time my program reset, i cut not find the cause, ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a very superficial description of your problem, don't expect precise answers. No one here has a magic crystal ball.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 11:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-all-SRAM-in-LPC4088/m-p/1415266#M47926</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-02-17T11:37:50Z</dc:date>
    </item>
  </channel>
</rss>

