<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Keep RAM Content between Bootloader and App</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/30241/keep-ram-content-between-bootloader-and-app</link><description> 
Hi there, 

 
I have an LPC1788 with an own bootloader and an application. Is it
possible to exchange RAM data between both? The board also have an
external RAM. 

 
Physically this should be possible, since there is no power-down
between the jump from</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Keep RAM Content between Bootloader and App</title><link>https://community.arm.com/thread/81089?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2013 01:46:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3e67291a-0ced-4f5b-997e-aa87bf8c8bc6</guid><dc:creator>Bourgeois Frederic</dc:creator><description>&lt;p&gt;&lt;p&gt;
Ok. Thanks for the help, guys. I&amp;#39;ll look at this asap.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep RAM Content between Bootloader and App</title><link>https://community.arm.com/thread/61781?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2013 08:48:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bf75933f-f3ca-4205-9d61-6afdac192f53</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;b&gt;But I suppose the RAM is cleared, when the stack/heap are
initiated.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Looking at the startup code should clear that up for you. Alter
the memory arena the two use, and they won&amp;#39;t interfere, Store data
you want to pass in a location known by both.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep RAM Content between Bootloader and App</title><link>https://community.arm.com/thread/93003?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2013 03:05:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:906c2dea-5e6e-4b8b-a54c-2bc812574db9</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
It is easier to exchange information in the internal RAM. Just
modify the application project to make the IRAM region smaller. Then
the last bytes will not be cleared. Or adjust the start address of
the IRAM - then the start of IRAM will not be cleared.&lt;/p&gt;

&lt;p&gt;
Then you can set a struct pointer to this memory range, and access
whatever information the boot loader wanted to transfer.&lt;/p&gt;

&lt;p&gt;
But there are a number of other solutions too, like playing with
absolutely located variables, and playing with attributes to force a
memory region to not be initialied.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keep RAM Content between Bootloader and App</title><link>https://community.arm.com/thread/61780?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2013 02:50:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:129aac7e-3a9c-4476-825f-2ff1d4d19250</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
If the refresh time of an external DRAM is not too short, you can
get this done. But note that you don&amp;#39;t need to configure the DRAM
twice - do it in the bootloader and get it over and done! SRAM
contents should remain unchanged.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>