<?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: Absolute memory location</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Absolute-memory-location/m-p/539924#M6712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Thu Jan 06 15:14:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've not looked at the apps note, but I imagine that you'll need to place the variable into its own section, and then place the section appropriately within the project linker script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggest you take a look at these FAQs....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/PlacingData&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/OwnLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:29:18 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:29:18Z</dc:date>
    <item>
      <title>Absolute memory location</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Absolute-memory-location/m-p/539923#M6711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jim.smith on Thu Jan 06 11:38:18 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working toward compiling code from NXP app note AN10960.&amp;nbsp; Part of that code places some variables in a particular block of RAM and initializes them to default values.&amp;nbsp; During program execution those values can be changed or read, and and the entire block of variables can be stored/retrieved from NVRAM using the iap_entry calls&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The app note used the KEIL compiler, and has a line like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New][SIZE=2]const BYTE LEVEL __attribute__((at(0x00003000))) = 254;[/SIZE][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That places the byte variable LEVEL at ram location 0x00003000 and initializes it to the value of 254.&amp;nbsp; It can be read, or written, and the location of the block of variables is known so we can use the iap_entry calls to stuff it into NVRAM.&amp;nbsp; Unfortunately, the LPCXpresso GNU compiler does not recognize the [FONT=Courier New]at [/FONT]attribute.&amp;nbsp; Any ideas on how to do this the LPCXpresso way?&amp;nbsp; I've looked through the forums and the help files and so far have come up empty.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Absolute-memory-location/m-p/539923#M6711</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Absolute memory location</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Absolute-memory-location/m-p/539924#M6712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Thu Jan 06 15:14:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've not looked at the apps note, but I imagine that you'll need to place the variable into its own section, and then place the section appropriately within the project linker script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggest you take a look at these FAQs....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/PlacingData&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/OwnLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Absolute-memory-location/m-p/539924#M6712</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:29:18Z</dc:date>
    </item>
  </channel>
</rss>

