<?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>topic Rom variables in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Rom-variables/m-p/217412#M10993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm wondering if it is possible te create a global rom array initialized with 0xff instead of 0x00 so I don't have to erase a page in code before programming it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Currently I've created a section in rom and can program&amp;nbsp;variables if I init the memory with 0xFF. Since I use array, structs etc. I don't want to type =0xff every time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using codewarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 00:38:50 GMT</pubDate>
    <dc:creator>Caius</dc:creator>
    <dc:date>2009-01-20T00:38:50Z</dc:date>
    <item>
      <title>Rom variables</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Rom-variables/m-p/217412#M10993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm wondering if it is possible te create a global rom array initialized with 0xff instead of 0x00 so I don't have to erase a page in code before programming it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Currently I've created a section in rom and can program&amp;nbsp;variables if I init the memory with 0xFF. Since I use array, structs etc. I don't want to type =0xff every time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using codewarrior.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 00:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Rom-variables/m-p/217412#M10993</guid>
      <dc:creator>Caius</dc:creator>
      <dc:date>2009-01-20T00:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rom variables</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Rom-variables/m-p/217413#M10994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I expect that you can configure a section to be initialized with 0xff in the linker script (but don't know teh syntax for it).&lt;BR /&gt;&lt;BR /&gt;However, if you don't create a section but instead simply don't define the area at all for use it will not be programmed and so starts with all contents as 0xff. Your code can then access it with a fixed pointer to the area you reserved.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2009 03:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Rom-variables/m-p/217413#M10994</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-01-21T03:46:12Z</dc:date>
    </item>
  </channel>
</rss>

