<?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: Variable declaration at a hard coded address in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153335#M2227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;your welcome.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 14:11:45 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2008-05-08T14:11:45Z</dc:date>
    <item>
      <title>Variable declaration at a hard coded address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153331#M2223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there!&lt;BR /&gt;I've got a problem and have not been able to solve it for weeks. I've tried what ya'll had suggested-without much luck.&lt;BR /&gt;PLEASE GIVE ME A SIMPLE SOLUTION. MAYBE 4-5 lines of sample code?? PLEAE PLEASE PLEASE!&lt;BR /&gt;What I want to do:&lt;BR /&gt;1. Declare a variable at a fixed address location and be able to use it from wherever.&lt;BR /&gt;What I did:&lt;BR /&gt;dword _FLASHAddr&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif"&gt;&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/A&gt;VECT_FLASH_ADDR;&lt;BR /&gt;word&amp;nbsp; _FLASHData&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif"&gt;&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/A&gt;VECT_FLASH_DATA;&lt;BR /&gt;When I do this and compile I get a linker error. Says " Link Error: Undefined: "F_FLASHAddr" Referenced from ...."&lt;BR /&gt;Aparently I need to do something in the linker as well? What do I need to do?&lt;BR /&gt;&lt;BR /&gt;2. Say I have a function called Boot(). I also have a hard coded constant variable CVECT_BOOT = some location in program memory. I want to be able to invoke function boot by calling a constant function pointer to CVECT_BOOT.&lt;BR /&gt;For example in SiLabs IDE I do both A and B:&lt;BR /&gt;A. In STARTUP.51 I specify the jump table for shared functions.&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;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; CSEG&amp;nbsp;&amp;nbsp;&amp;nbsp; AT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x007B&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;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXTRN&amp;nbsp;&amp;nbsp; CODE (boot)&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;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; AJMP&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Boot&lt;BR /&gt;B. ((void (code *) (void)) 0x007B)();&amp;nbsp; // this calls my function boot&lt;BR /&gt;&lt;BR /&gt;How do I do A and B in codewarrior?&lt;BR /&gt;&lt;BR /&gt;Guys your help will be hugely hugely appreciated. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fcommunity_files%2FCWDSPCOMM%2F958_Installed_Plugins.txt" rel="nofollow" target="_blank"&gt;Installed_Plugins.txt&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:44 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 01:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153331#M2223</guid>
      <dc:creator>NeedHelp</dc:creator>
      <dc:date>2008-05-06T01:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Variable declaration at a hard coded address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153332#M2224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I will handle this SR.&lt;/DIV&gt;&lt;DIV&gt;According to the info you sent you're noot using the last version : DSC 8.2.&lt;/DIV&gt;&lt;DIV&gt;You can download this version on our web site via the link:&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&lt;/A&gt;&lt;BR /&gt;For details please have a look in:&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&amp;amp;tab=In-Depth_Tab" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&amp;amp;tab=In-Depth_Tab&lt;/A&gt;&lt;BR /&gt;In the download tab you can download the Special Edition or the Evaluation.&lt;BR /&gt;The Special edition contains the special edition license limited to 32 kb of Code.&lt;BR /&gt;If you need another version of the license please contact your local distributor.&lt;BR /&gt;You can have several versions installed on the same PC.&lt;BR /&gt;There is only one restriction: install them on separate folder.&lt;BR /&gt;If you're using an old version, please backup your project before to try it with this new version.&lt;BR /&gt;If you will meet some compatibility issue you could back to the older version without problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 16:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153332#M2224</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-05-06T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Variable declaration at a hard coded address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153333#M2225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;attached to this email you will find an example for the point 1.&lt;/DIV&gt;&lt;DIV&gt;For the point 2 I recommend you to contact the support team.&lt;/DIV&gt;Please use Freescale on line support web page.&lt;BR /&gt;&amp;nbsp; - Go to following URL: &lt;A href="http://www.freescale.com/TechSupport" rel="nofollow" target="_blank"&gt;http://www.freescale.com/TechSupport&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; - Click on Submit a Service Request. You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there.&lt;BR /&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 19:17:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153333#M2225</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-05-07T19:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variable declaration at a hard coded address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153334#M2226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks Pascal. Ill try to figure things out. Will let you know if I run into barriers.&lt;BR /&gt;Thanks again bud.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 22:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153334#M2226</guid>
      <dc:creator>NeedHelp</dc:creator>
      <dc:date>2008-05-07T22:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable declaration at a hard coded address</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153335#M2227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;your welcome.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 14:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Variable-declaration-at-a-hard-coded-address/m-p/153335#M2227</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-05-08T14:11:45Z</dc:date>
    </item>
  </channel>
</rss>

