<?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>LPCXpresso IDEのトピックRe: org</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541088#M7269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Jul 20 03:32:27 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What is it you are trying to achieve? In the vast majority of cases, there should be no need to move the code within flash.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:55:29 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:55:29Z</dc:date>
    <item>
      <title>org</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541085#M7266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by blasiis on Tue Jul 20 00:34:22 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I work with LPCXPresso and LPC1758.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to force many routine to high address (32k sector).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I make this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In conclusion, how can I insert a ORG (assembler directive) for move the code to high address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541085#M7266</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: org</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541086#M7267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Jul 20 02:23:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The easiest way to do this is probably as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all declare the function(s) you want to place at a specific address with the section attribute....&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;__attribute__ ((__section__(".HighFuncs")))
void HiFunc(void) {
 :
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;For more information on function attributes see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/Function-Attributes.html#Function-Attributes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will then need to turn off the managed linker script mechanism, and inside your linker script file, include something like:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; .HighFuncs 0x00008000:
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.HighFuncs)
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &amp;gt; MFlash512&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;[Note that when doing this, make sure that you ensure that your new sections are aligned with the start of flash sectors to avoid potential issues when the code is programmed into flash].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For more details of creating your own linker script, see the knowledgebase entry "Using your own linker scripts" at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://lpcxpresso.code-red-tech.com/LPCXpresso/node/31&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;[login required]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541086#M7267</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: org</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541087#M7268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by blasiis on Tue Jul 20 02:55:45 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If&amp;nbsp; I need to move all routine except main, i must declare every routine ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541087#M7268</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: org</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541088#M7269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Jul 20 03:32:27 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What is it you are trying to achieve? In the vast majority of cases, there should be no need to move the code within flash.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541088#M7269</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: org</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541089#M7270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lucasrangit on Wed Jul 21 13:26:03 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using this suggestion but instead of executing from a specific flash location I'd like to use a RAM location. However, I am having issues. See my topic at &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=557&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/org/m-p/541089#M7270</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:55:29Z</dc:date>
    </item>
  </channel>
</rss>

