<?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>CodeWarrior for MCU中的主题 Browser Data: signed types</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141689#M2748</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 changed standard settings as "Generate Browser Data From: Language Parser" in Build Extras.&lt;/DIV&gt;&lt;DIV&gt;But the browser shows all elements of my struct as if&amp;nbsp;all of them were&amp;nbsp;signed as you can see at attached browser.jpg file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I solve this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jan 2007 05:20:59 GMT</pubDate>
    <dc:creator>BasePointer</dc:creator>
    <dc:date>2007-01-01T05:20:59Z</dc:date>
    <item>
      <title>Browser Data: signed types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141689#M2748</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 changed standard settings as "Generate Browser Data From: Language Parser" in Build Extras.&lt;/DIV&gt;&lt;DIV&gt;But the browser shows all elements of my struct as if&amp;nbsp;all of them were&amp;nbsp;signed as you can see at attached browser.jpg file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I solve this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2007 05:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141689#M2748</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-01-01T05:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Browser Data: signed types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141690#M2749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which CPU are you targeting?&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;- Which version of CodeWarrior are you using?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; To retrieve that info:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 19:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141690#M2749</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-01-03T19:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Browser Data: signed types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141691#M2750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;My target CPU is MC9S08LC60 that&amp;nbsp;is not released yet.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I have installed LC60_SP_ALPHAv4 patch to CW v5.1 to be able to work with LC60.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I don't know there is a patch also for v5.1.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Installed Products:&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v3.1 Service Pack LC60 ALPHA, build 060110&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 5.1, build 6124.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 5.1 Compiler Patch 1, build 6192.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack AP64/AP64A, build 060824.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack ASAZ60A, build 060810.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack EY16A, build 060821.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack GP_GT, build 060829.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack GT16A, build 060630.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack JB8, build 060727.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack JR12, build 060821.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack JW32, build 060721.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack QD4, build 061215.&lt;BR /&gt;&amp;nbsp;CodeWarrior Development Studio for Freescale HC08 v5.1, Service Pack QY4A, build 060609.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 19:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141691#M2750</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-01-03T19:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Browser Data: signed types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141692#M2751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you have problem with variables defined as char. The HC08 compiler uses unsigned char per default, but the Language Parser does not know about that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You may want to try the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Add option -Ldf (log Predefined&amp;nbsp; defines to file) to the Compiler to HC08 command line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Build at least one C source file. The compiler will generate a file predef.h in the bin directory.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The generated file will contain all predefined macros defined by the compiler according to&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; your configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - You can remove the option -Ldf from the command line now.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - In the "Build Extra" panel specify that file as Macro File.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Is the parser working better?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I did try to reproduce the problem on my installation. All variable defines as char are displayed as char in the browser window.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are you sure your variables are not defined as signed char?&lt;/DIV&gt;&lt;DIV&gt;Did you try to generate the preprocessor listing to see the real definition of the variables?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 17:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141692#M2751</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-01-04T17:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Browser Data: signed types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141693#M2752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Hi,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Here is my TObis defination:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#663300"&gt;typedef struct&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;unsigned char OBIS_INDEX;&lt;BR /&gt;&amp;nbsp;unsigned char ONCEKI;&lt;BR /&gt;&amp;nbsp;unsigned int&amp;nbsp; LAST_PARAM;&lt;BR /&gt;} TObis;&lt;/FONT&gt;&lt;FONT color="#CCFFFF"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="3"&gt;I always use "signed" or "unsigned" keywords in my variable definations.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Here is&amp;nbsp;another type&amp;nbsp;TAdmin defination:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT color="#663300"&gt;typedef struct&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;unsigned long&amp;nbsp;&amp;nbsp; HASP_ID;&amp;nbsp;// 4 byte&lt;BR /&gt;&amp;nbsp;unsigned int &amp;nbsp;&amp;nbsp; UserID;&amp;nbsp;&amp;nbsp;// 2 byte&lt;BR /&gt;&amp;nbsp;unsigned long&amp;nbsp;&amp;nbsp; Seed;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// 4 byte&lt;BR /&gt;&amp;nbsp;unsigned long&amp;nbsp;&amp;nbsp; Serial;&amp;nbsp;&amp;nbsp;// 4 byte&lt;BR /&gt;&amp;nbsp;unsigned char&amp;nbsp;&amp;nbsp; RC;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 1 byte&lt;BR /&gt;&amp;nbsp;unsigned char &amp;nbsp; FCS;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 1 byte&lt;BR /&gt;} TAdmin;&amp;nbsp;// total: 16 byte&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Arial" size="3"&gt;For the result see attached browser2.gif file.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;I produced predef.h and showed it to build extras as macro file "{Project}bin\predef.h". Yes really&amp;nbsp;parser works better now,&amp;nbsp;but all variable still seem as signed &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Here is a preprocessor output of a module from my project:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#663300" face="Courier New" size="2"&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 87 */&amp;nbsp; typedef struct&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 88 */&amp;nbsp; {&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 89 */&amp;nbsp; unsigned long HASP_ID ;&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90 */&amp;nbsp; unsigned int UserID ;&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 91 */&amp;nbsp; unsigned long Seed ;&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92 */&amp;nbsp; unsigned long Serial ;&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 93 */&amp;nbsp; unsigned char RC ;&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 94 */&amp;nbsp; unsigned char FCS ;&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 95 */&amp;nbsp; } TAdmin ;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by BasePointer on &lt;SPAN class="date_text"&gt;2007-01-04&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:32 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by BasePointer on &lt;SPAN class="date_text"&gt;2007-01-04&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:35 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by BasePointer on &lt;SPAN class="date_text"&gt;2007-01-04&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;02:36 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 20:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141693#M2752</guid>
      <dc:creator>BasePointer</dc:creator>
      <dc:date>2007-01-04T20:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Browser Data: signed types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141694#M2753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then you have to submit a service request through our on line support for that.&lt;/DIV&gt;&lt;DIV&gt;To log the issue with Freescale please go to following URL:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=054670&amp;amp;tid=FSH" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=054670&amp;amp;tid=FSH&lt;/A&gt;&lt;BR /&gt;and click on "Submit a service request"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Make sure to specify which version of the tools you are using and attach a reproducible case (whole project with source files, header files, .prm file and .mcp file.&lt;/DIV&gt;&lt;DIV&gt;I would recommend you to use the Pack and Go wizard to make sure you deliver all useful info.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just select Help -&amp;gt; "Pack and Go" in the IDE and follow the instructions on the screen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 20:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Browser-Data-signed-types/m-p/141694#M2753</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-01-04T20:51:12Z</dc:date>
    </item>
  </channel>
</rss>

