<?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>Using a Page in external Flash for ONE Module</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/21524/using-a-page-in-external-flash-for-one-module</link><description> 
Hi, i have a module that i want to place in exactly ONE Page of my
external Flash. 

 
I located it fix to an Adress using the SECTIONS statement of the
Linker. But now i want to reserve the rest of the Page i placed it
to. I mean i could do it manualle</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Using a Page in external Flash for ONE Module</title><link>https://community.arm.com/thread/74960?ContentTypeID=1</link><pubDate>Wed, 28 Mar 2007 05:01:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a423b19c-1bd0-4df8-89be-e4f6378b113f</guid><dc:creator>Otto Salvatore</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using a Page in external Flash for ONE Module</title><link>https://community.arm.com/thread/50568?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2007 11:51:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9860def8-20ff-4152-9c70-64b506f6b1c5</guid><dc:creator>Sauli Porttila</dc:creator><description>&lt;p&gt;&lt;p&gt;
Use the RENAMECLASS compiler directive to give a unique name for
the code in your module, e.g:&lt;/p&gt;

&lt;pre&gt;
#pragma RENAMECLASS(FCODE=FLASHCODE)
&lt;/pre&gt;

&lt;p&gt;
&lt;br /&gt;
You have already done this?&lt;/p&gt;

&lt;p&gt;
Use the SECSIZE linker directive to set the size of the FLASHCODE
section equal to your flash page size, e.g:&lt;/p&gt;

&lt;pre&gt;
SECSIZE(?PR?MODULENAME%FLASHCODE(4000H))
&lt;/pre&gt;

&lt;p&gt;
Use the SECTIONS linker directive to place the section to the
correct flash page. You have already done this.&lt;/p&gt;

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