<?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: How to exclude code from flash space? LPC1114</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561815#M16472</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 Tue Aug 23 06:22:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/OwnLinkScripts&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:19:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:19:14Z</dc:date>
    <item>
      <title>How to exclude code from flash space? LPC1114</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561813#M16470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JSalisbury on Tue Aug 23 04:06:45 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use the upper 2 flash sectors for use as flash based non-volatile storage as per AN11008. What is the best way to arrange the linker script for this, it is posiable to use cr_section_macros.h or do I have to manualy edit the linker script?&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 22:19:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561813#M16470</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude code from flash space? LPC1114</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561814#M16471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Tue Aug 23 05:08:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to change the linker script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But do remember that you should not change the default linked script as that one can/will be overwritten by the LPCXpresso tools.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best way to do this is to create a new directory called linkscripts and copy the linker script file to that directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The RDB1768cmsis2_usb_bootloader example contains a section called 'Modifying your linker scripts' that contains a step by step instruction on how to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When changing the linker script you have two options: The first (and easiest one) is to just change the length of the Flash section to exclude the last two sectors. Your software will have to hard code the addresses of these sectors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The second is to add separate sections for both sectors and use the _SECTION macro from cr_section_macros.h to place two arrays in these sections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd go for the easy solution and just change the end address of the Flash section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561814#M16471</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude code from flash space? LPC1114</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561815#M16472</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 Tue Aug 23 06:22:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/OwnLinkScripts&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-exclude-code-from-flash-space-LPC1114/m-p/561815#M16472</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:19:14Z</dc:date>
    </item>
  </channel>
</rss>

