<?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: issue about how to use AHB SRAM in LPC1759 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524996#M7632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Aug 05 08:52:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use_memory_in_AHB_region();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is doing what you think it is doing? Try debugging and see what is happening.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:11:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:11:22Z</dc:date>
    <item>
      <title>issue about how to use AHB SRAM in LPC1759</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524995#M7631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by crudo on Wed Aug 05 08:39:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use AHB SRAM in LPC1759 (bank0: 0x2007C000 - 0x2007FFFF; bank1: 0x20080000 - 0x20083FFF;) but I'm having some issues when executing the application. I created a test code which blink a LED using timer 1 as the following pseudo code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;

static unsigned char array[1024*16] __attribute__((section(".data.$AHB_RAM")));

setup_led();
setup_timer1();

// while(1); // test point 1
use_memory_in_AHB_region(); // assume this function fill array with some data
// while(1); // test point 2

void timer1_handler()
{
&amp;nbsp; toggle_led();
}

&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Uncommenting &lt;/SPAN&gt;&lt;STRONG&gt;test point 1&lt;/STRONG&gt;&lt;SPAN&gt; line led blink as expected, uncommenting &lt;/SPAN&gt;&lt;STRONG&gt;test point 2&lt;/STRONG&gt;&lt;SPAN&gt; the led doesn't blink, timer1 is somehow affected by writing data to array. My questions are: can I use AHB RAM to general purpose as I did with array variable? If so, what could be wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked linker definitions and they are pointing to right address. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524995#M7631</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: issue about how to use AHB SRAM in LPC1759</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524996#M7632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Aug 05 08:52:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use_memory_in_AHB_region();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is doing what you think it is doing? Try debugging and see what is happening.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524996#M7632</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: issue about how to use AHB SRAM in LPC1759</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524997#M7633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by crudo on Wed Aug 05 10:59:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I was assuming so, but I actually don't know. This memory is being used as heap to freeRTOS. I'm trying to debug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:11:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/issue-about-how-to-use-AHB-SRAM-in-LPC1759/m-p/524997#M7633</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:11:23Z</dc:date>
    </item>
  </channel>
</rss>

