<?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: About the __MBAR's question in MCF548x platform in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155576#M4461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is the error not because of your coding.&lt;/P&gt;&lt;P&gt;it should be because of your sram config settings...&lt;/P&gt;&lt;P&gt;be sure the access path which you set and all the settings which is in settings are correct.&lt;/P&gt;&lt;P&gt;Only because of your setting mistakes you will get these linker errors...&lt;/P&gt;&lt;P&gt;give a try....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2009 12:13:08 GMT</pubDate>
    <dc:creator>Manju</dc:creator>
    <dc:date>2009-02-25T12:13:08Z</dc:date>
    <item>
      <title>About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155571#M4456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;make a project in codewarrior, there is a error report like below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Error : illegal 16-bit relocation for symbol __MBAR init_bsp.c line 64 }&lt;/P&gt;&lt;P&gt;the error code&amp;nbsp;as follow:&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define MCF_SYSTEM_PLL_CONTROL (*(volatile uint_32*)(void*)(&amp;amp;__MBAR[0x008A0C]))&lt;/P&gt;&lt;P&gt;void _bsp_pll_control_init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_SYSTEM_PLL_CONTROL = 0x80004235;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Could you tell me what wrong in the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 17:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155571#M4456</guid>
      <dc:creator>Jason_Shi</dc:creator>
      <dc:date>2009-02-24T17:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155572#M4457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jason,&lt;/P&gt;&lt;P&gt;you do one thing.......&lt;/P&gt;&lt;P&gt;change your code like this and then compile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Some times our compiler can't able to understand &amp;amp;__ so this is also give you the same meaning.&lt;/P&gt;&lt;P&gt;so do this and check once again.hope this will do..&lt;/P&gt;&lt;P&gt;#define MCF_SYSTEM_PLL_CONTROL (*(volatile uint_32*)(void*)&lt;STRONG&gt;&lt;SPAN&gt;(MBAR+0x008A0C)&lt;/SPAN&gt;&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;All the best&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, 24 Feb 2009 19:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155572#M4457</guid>
      <dc:creator>Manju</dc:creator>
      <dc:date>2009-02-24T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155573#M4458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thank you very much,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But is it same mean? and I change the define, but still another error&lt;/P&gt;&lt;P&gt;Error&amp;nbsp;&amp;nbsp; : undefined identifier 'MBAR'&lt;BR /&gt;init_bsp.c line 64&amp;nbsp;&amp;nbsp; *(volatile uint_32*)(void*)(MBAR+0x008A0C)) = 0x80004235;&amp;nbsp;&lt;/P&gt;&lt;P&gt;should I redefine the MBAR in a headfile?&lt;/P&gt;&lt;P&gt;I replant some code to MCF5482, there are so many &amp;amp;__MBAR, is it can be compiler in codewarrior6.2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Jason.Shi on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-02-25&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;12:27 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 08:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155573#M4458</guid>
      <dc:creator>Jason_Shi</dc:creator>
      <dc:date>2009-02-25T08:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155574#M4459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;Of course it's a same meaning.don't worry it will work.&lt;/P&gt;&lt;P&gt;In that condition only that .c file have all these MBAR problem i hope.SO change all MBAR on the way you changed last time([mabar+0x0000..])&lt;/P&gt;&lt;P&gt;and in that file above all these things add&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define MBAR 0x10000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope definatly this will solve your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;~manju&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Manju on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-02-25&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;09:19 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 11:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155574#M4459</guid>
      <dc:creator>Manju</dc:creator>
      <dc:date>2009-02-25T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155575#M4460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi manju:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you, it is ok follow your opinion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another question, I define the symbol in link file like below:&lt;/P&gt;&lt;P&gt;SECTIONS&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ___INTERNAL_SRAM_BASE&amp;nbsp; = 0x20000000;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;…………&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; .kernel_data : AT(ADDR(.main_application_data) + SIZEOF(.main_application_data))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; . = ALIGN(0x10);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___EXTERNAL_SRAM_DATA_START = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;…………&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;but the CW report a link error like below:&lt;/P&gt;&lt;P&gt;Link Error&amp;nbsp;&amp;nbsp; : Illegal 16-bit small data area relative reference to symbol '___EXTERNAL_SRAM_DATA_START'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;from address 0x01F07DCC in section '.text' of file 'm548xbsp_d.a raminit.o&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know where is the problem?　Ｉused the CW7.1.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 11:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155575#M4460</guid>
      <dc:creator>Jason_Shi</dc:creator>
      <dc:date>2009-02-25T11:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155576#M4461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is the error not because of your coding.&lt;/P&gt;&lt;P&gt;it should be because of your sram config settings...&lt;/P&gt;&lt;P&gt;be sure the access path which you set and all the settings which is in settings are correct.&lt;/P&gt;&lt;P&gt;Only because of your setting mistakes you will get these linker errors...&lt;/P&gt;&lt;P&gt;give a try....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 12:13:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155576#M4461</guid>
      <dc:creator>Manju</dc:creator>
      <dc:date>2009-02-25T12:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: About the __MBAR's question in MCF548x platform</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155577#M4462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an old thread but it comes up on a google search so I thought I'd update it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The root cause of the probelms with illegal 16-bit relocations seems to be that the variables defined by the linker are stored&amp;nbsp; in the small data area. To resovle this I changed the project setting so that no data is stored in the small data area.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps there is a way to specify that data below a certain size goes into the SDA without including the symbols defined in the linker command file but that is beyond my current level of expertise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 18:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/About-the-MBAR-s-question-in-MCF548x-platform/m-p/155577#M4462</guid>
      <dc:creator>Obi</dc:creator>
      <dc:date>2010-11-05T18:00:26Z</dc:date>
    </item>
  </channel>
</rss>

