<?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: View ASM  variables in expressions window in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194880#M5035</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;Thank you so much for your kindly hellp. The ways you showed me to&amp;nbsp;difine variables in C are also very helpful. &amp;nbsp;I submitted a service request a few days ago, and they&amp;nbsp;sent me a screen shot of using 56F800E simulator that&amp;nbsp; works. However,&amp;nbsp;I can not make it work using 56F803. I submitted&amp;nbsp;a simple example project using 56F803 to them and got no reply so far.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Liping&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Mar 2008 00:36:58 GMT</pubDate>
    <dc:creator>Aili</dc:creator>
    <dc:date>2008-03-01T00:36:58Z</dc:date>
    <item>
      <title>View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194875#M5030</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 am using CW 8.1 for 56F803 using USBTAP. I am new to CW. In the expressions window, I can view the variable defined in C. However, when I put the variables defined in asm to expressions window, it says "undefined identifier in expression". These variables are defined in asm file and&amp;nbsp;"extern" keyword is used in C file. The program also gives correct result.&amp;nbsp;&amp;nbsp;Is there a way to display the global variables that are defined in assemble code? Thanks.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Liping&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 06:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194875#M5030</guid>
      <dc:creator>Aili</dc:creator>
      <dc:date>2008-02-23T06:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194876#M5031</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;It seems to be a limitations.&lt;/DIV&gt;&lt;DIV&gt;I remember this problem has been reported some times ago.&lt;/DIV&gt;&lt;DIV&gt;I will check with the compiler team.&lt;/DIV&gt;&lt;DIV&gt;It seems the debug information are not generated for variables defined in assembly.&lt;/DIV&gt;&lt;DIV&gt;Keep you informed.&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>Tue, 26 Feb 2008 21:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194876#M5031</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-02-26T21:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194877#M5032</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;Thank you for your reply. I am studying the code written by someone else. The original code has lots of variables defined in Assembly with fixed addresses. Is there a&amp;nbsp;statement in C that can define variable with fixed address.&amp;nbsp;I am not familiar with CodeWarrior for 56F800, but I know TI&amp;nbsp;Code Composer Studio &amp;nbsp;can use "pragma DATA_SECTION(variable, "section name")" to define it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Liping&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 07:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194877#M5032</guid>
      <dc:creator>Aili</dc:creator>
      <dc:date>2008-02-27T07:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194878#M5033</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;There is a simple way to do that:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#define TMRA_BASE&amp;nbsp;0x1100&lt;BR /&gt;#define TMRA0_SCR&amp;nbsp; (*((volatile unsigned char*) (TMRA_BASE+0x7)))&lt;/DIV&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;TMRA0_SCR = 24;&lt;BR /&gt;}&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The second solution is to use a pragma define_section.&lt;BR /&gt;For details I suggest you to refer to the 56800x_Build_Tools_Reference.pdf and perfrom a find with define_section.&lt;BR /&gt;You will find some information and example using this pragma.&lt;/P&gt;&lt;P&gt;The third solution is to ...extract of 56800x_Build_Tools_Reference.pdf&amp;nbsp; manual.&lt;BR /&gt;Specifying Variable Addresses in C&lt;BR /&gt;The user can tell the compiler to specify the address of a variable in a C file using the :&lt;BR /&gt;operator. The constant value following the : operator is the word address of the global&lt;BR /&gt;variable (i.e., int OneReg : 0xBCD ; specifies that the global variable OneReg&lt;BR /&gt;resides at word address 0xBCD).&lt;BR /&gt;NOTE The Linker does not reserve space for global variables declared with the :&lt;BR /&gt;operator.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;BR /&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 21:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194878#M5033</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-02-27T21:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194879#M5034</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 received feedback from our development tool.&lt;/DIV&gt;&lt;DIV&gt;They need to investigate the problem.&lt;/DIV&gt;&lt;DIV&gt;I will log it in our bug tracking system.&lt;/DIV&gt;&lt;DIV&gt;If you want have information about the problem I recommend you&amp;nbsp;to log it in our CRM.&lt;/DIV&gt;&lt;DIV&gt;See below details:&lt;/DIV&gt;&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 to create a new one or Manage Existing Service Request.&lt;BR /&gt;&amp;nbsp; - You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there or view the activities of a SR.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Pascal&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 20:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194879#M5034</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-02-29T20:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194880#M5035</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;Thank you so much for your kindly hellp. The ways you showed me to&amp;nbsp;difine variables in C are also very helpful. &amp;nbsp;I submitted a service request a few days ago, and they&amp;nbsp;sent me a screen shot of using 56F800E simulator that&amp;nbsp; works. However,&amp;nbsp;I can not make it work using 56F803. I submitted&amp;nbsp;a simple example project using 56F803 to them and got no reply so far.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Liping&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2008 00:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194880#M5035</guid>
      <dc:creator>Aili</dc:creator>
      <dc:date>2008-03-01T00:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: View ASM  variables in expressions window</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194881#M5036</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 logged the problem in our bug base under the number MTWX28268.&lt;/DIV&gt;&lt;DIV&gt;The problem will be investigated by the development team.&lt;/DIV&gt;&lt;DIV&gt;you will receive info when the problem will be fixed.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 16:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/View-ASM-variables-in-expressions-window/m-p/194881#M5036</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-03-03T16:41:38Z</dc:date>
    </item>
  </channel>
</rss>

