<?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 Re: MCF52233: default username, password, &amp; config data in flash in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161434#M5136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;What I was really looking for was a way (perhaps in the linker file?) to place default values into the flash at location "N" when the part was programmed.&amp;nbsp; We already have a lot of our code finished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our current idea:&lt;/P&gt;&lt;P&gt;Since flash is erased before we program, I use memcpy to move a block of flash from location "N" that I am going to save our config data in, test the first byte to see if it is 0xff.&amp;nbsp; If it is 0xff I then write our default config data back to flash and set that byte to 0x00. &amp;nbsp; This should only occur once - the first time the unit is powered on.&amp;nbsp; If it is 0x00 we do nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A side note:&lt;/P&gt;&lt;P&gt;When we program our FPGAs we can go into the programmer and tell it to place default configuration data in file1.mem at memory location X (where X is past the config data for the FPGA of course).&amp;nbsp;&amp;nbsp; This works really well.&amp;nbsp;&amp;nbsp; We just thought that either the linker (which we don't understand the syntax at this point) or another file might hold the key to performing the same function in Codewarrior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;I would really be interested in how others get their default data into their products as they ship.&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are not placing MAC addresses in our product yet because it is configured serially and the Ethernet management port isn't utilized, but in the future I will be using the management port and will need to load a MAC address - which of course is unique for each product.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Renee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rlstraney on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-12-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:15 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2009 01:14:22 GMT</pubDate>
    <dc:creator>rlstraney</dc:creator>
    <dc:date>2009-12-16T01:14:22Z</dc:date>
    <item>
      <title>MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161432#M5134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to place a default username, password and some configuration data in the internal Flash of the MCF52233.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Is there a file that I can place these default values in and tell codewarrior the address in flash to place them? &amp;nbsp; Or is there some other simple way of doing this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can already write to and read from the flash.&amp;nbsp; I just need a way of placing my default values in the flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Renee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 07:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161432#M5134</guid>
      <dc:creator>rlstraney</dc:creator>
      <dc:date>2009-12-15T07:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161433#M5135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See chapter 9 of &lt;A href="http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF" rel="nofollow" target="_self"&gt;http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_self"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "&lt;EM&gt;Embedding it better...&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 20:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161433#M5135</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-12-15T20:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161434#M5136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;Thank you for the information.&lt;/P&gt;&lt;P&gt;What I was really looking for was a way (perhaps in the linker file?) to place default values into the flash at location "N" when the part was programmed.&amp;nbsp; We already have a lot of our code finished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our current idea:&lt;/P&gt;&lt;P&gt;Since flash is erased before we program, I use memcpy to move a block of flash from location "N" that I am going to save our config data in, test the first byte to see if it is 0xff.&amp;nbsp; If it is 0xff I then write our default config data back to flash and set that byte to 0x00. &amp;nbsp; This should only occur once - the first time the unit is powered on.&amp;nbsp; If it is 0x00 we do nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A side note:&lt;/P&gt;&lt;P&gt;When we program our FPGAs we can go into the programmer and tell it to place default configuration data in file1.mem at memory location X (where X is past the config data for the FPGA of course).&amp;nbsp;&amp;nbsp; This works really well.&amp;nbsp;&amp;nbsp; We just thought that either the linker (which we don't understand the syntax at this point) or another file might hold the key to performing the same function in Codewarrior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;I would really be interested in how others get their default data into their products as they ship.&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are not placing MAC addresses in our product yet because it is configured serially and the Ethernet management port isn't utilized, but in the future I will be using the management port and will need to load a MAC address - which of course is unique for each product.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Renee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by rlstraney on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-12-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:15 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 01:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161434#M5136</guid>
      <dc:creator>rlstraney</dc:creator>
      <dc:date>2009-12-16T01:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161435#M5137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Renee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add values via linker by doing the following (only new lines are shown and example is for 8 bytes - eg. MAC address):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;... &amp;nbsp;&amp;nbsp; flashtest&amp;nbsp; (RX)&amp;nbsp;&amp;nbsp; : ORIGIN = 0x00002000, LENGTH = 0x8 &amp;nbsp;&amp;nbsp;&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SECTIONS&lt;BR /&gt;{&lt;BR /&gt;....&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .flashtest :&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; mac_address.c (.text)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; . &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; = ALIGN(0x10);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;gt; flashtest&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In mac_address.c you have a const defining the MAC address value. This will then be positioned&amp;nbsp; at address 0x2000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However this is not very practical since it means recompiling to change the MAC address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically the MAC address is one-time programmable. As you suggest, when the location of the MAC address is 0xff 0xff 0xff 0xff 0xff 0xff 0ff 0xff it is not programmed and the card can default to a fixed MAC address in case you still want to communicate with it via Ethernet.&lt;/P&gt;&lt;P&gt;Then the value can be programmed over UART, HTTP, TCP application etc., after which it is fixed and can not be changed again. A PC can manage the programming and coordinate the distribution of MAC addresses from the purchased block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another method used is to simply compile the project to generate a binary or SREC image.&amp;nbsp; Then use a PC utility to parse the file and add an additional SREC line (or binary values) at the appropriate address corresponding to the value of MAC address. Again this program can also be responsible for distributing the MAC addresses from the purchased block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 08:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161435#M5137</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-12-16T08:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161436#M5138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where does the linker search for the file "mac_address.c" mentioned in Mark's post?&amp;nbsp; I tried modifying the lcf file as mentioned in his post and Codewarrior says it cannot find the file "mac_address.c". &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Codewarrior 10.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Renee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 02:21:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161436#M5138</guid>
      <dc:creator>rlstraney</dc:creator>
      <dc:date>2012-02-27T02:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161437#M5139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to the project settings, Tab Tool Settings &amp;gt; ColdFire Linker &amp;gt; Input &amp;nbsp; and add the path where your file is to the Library Search Paths.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More detail:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="105586" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/105586" jivemacro="thread" title="https://community.freescale.com/thread/105586"&gt;https://community.freescale.com/thread/105586&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you're programming a MAC into each part in production you'll want to do it a bit differently I would think - leave an address in flash blank (0xFF) and then either use BDM/JTAG on the production line to set the value, or a once-only command that writes to the CFM (easier if you put the MAC in a blank *page* of flash).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another method, not so easy, is to buy a MAC-on-a-chip EERPOM. That way it's not your problem, you just read it over SPI/I2C and every part is unique. It does add a component though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 22:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161437#M5139</guid>
      <dc:creator>FridgeFreezer</dc:creator>
      <dc:date>2012-03-08T22:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52233: default username, password, &amp; config data in flash</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161438#M5140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(I shouldn't of named the file "mac_address.c".&amp;nbsp; It isn't a mac address I am storing.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using CW 10.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My lcf file and design was working fine.&amp;nbsp;&amp;nbsp; However I would like to be able to initialize a location in flash to a particular value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the MCF52233 and want to initialize location 0x3F010 to 0xff just for starters so I can understand how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I did:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified the working lcf file in the following fashion:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;from&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00000400&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x00000020&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000500, LENGTH = 0x0003FB00&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorram&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; userram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000400, LENGTH = 0x00007C00&lt;BR /&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;to&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00000400&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x00000020&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp; code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000500, LENGTH = 0x0003F000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp; flashtest&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x0003F010, LENGTH = 0x00000001&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; vectorram&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; userram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000400, LENGTH = 0x00007C00&lt;BR /&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Then I added the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;From:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .bss :&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___BSS_START = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__START_SBSS = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(.sbss)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN (0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(SCOMMON)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__END_SBSS = .;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__START_BSS = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(.bss)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN (0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(COMMON)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__END_BSS = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___BSS_END = .;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN(0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;gt;&amp;gt; userram&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;.custom :&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___HEAP_START&amp;nbsp;&amp;nbsp; &amp;nbsp;= .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___heap_addr&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___HEAP_START;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___HEAP_END&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___HEAP_START + ___heap_size;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___SP_END&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___HEAP_END;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___SP_INIT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___SP_END + ___stack_size;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN (0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;gt;&amp;gt; userram&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;TO:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .bss :&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___BSS_START = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__START_SBSS = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(.sbss)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN (0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(SCOMMON)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__END_SBSS = .;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__START_BSS = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(.bss)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN (0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(COMMON)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;__END_BSS = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___BSS_END = .;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN(0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;gt;&amp;gt; userram&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp; .flashtest :&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mac_address.c(.text)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN(0x10);&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&amp;nbsp; } &amp;gt;flashtest&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;.custom :&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___HEAP_START&amp;nbsp;&amp;nbsp; &amp;nbsp;= .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___heap_addr&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___HEAP_START;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___HEAP_END&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___HEAP_START + ___heap_size;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___SP_END&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___HEAP_END;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;___SP_INIT&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;= ___SP_END + ___stack_size;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;. = ALIGN (0x4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} &amp;gt;&amp;gt; userram&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I created a "c" file named mac_address.c and within that file I have the following line:&lt;/P&gt;&lt;P&gt;const uint8 bob = 0xff;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I went to project-properties-settings-coldfire linker- Input and added to the"library search paths" the path to the mac_address.c file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, Codewarrior still says it cannot file mac_address.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 04:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52233-default-username-password-config-data-in-flash/m-p/161438#M5140</guid>
      <dc:creator>rlstraney</dc:creator>
      <dc:date>2012-05-24T04:39:28Z</dc:date>
    </item>
  </channel>
</rss>

