<?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>how to execute function from RAM</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/37907/how-to-execute-function-from-ram</link><description> 
Hi, 

 
I apologize if this question has been asked before but I couldn&amp;#39;t
find an answer. 

 
I want to clear GPNVM2 bit but to do that I need to copy the
function that does that to RAM and run it from RAM. 
Has anyone done this before? 
I&amp;#39;ve seen few</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: how to execute function from RAM</title><link>https://community.arm.com/thread/51938?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2008 15:09:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce4b9d8f-1ec1-46e0-825a-ffbcc28f9147</guid><dc:creator>wario d</dc:creator><description>&lt;p&gt;&lt;p&gt;
Ok I figured out how to copy function to RAM and execute it but I
found another problem now.&lt;br /&gt;
When I try to write to flash to clear GPNVM 2 bit my system crashes
and doesn&amp;#39;t execute any code after I write to flash.&lt;/p&gt;

&lt;p&gt;
Anyone encountered the same problem? Am I forgetting something
when trying to clear GPNVM bit 2 ?&lt;/p&gt;

&lt;p&gt;
Thanks&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>