<?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: CMX Stack - JM60 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147840#M7540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Use find in files and see if there is a "float" or "double" declaration or cast anywhere.&lt;BR /&gt;&lt;BR /&gt;I suppose just writing x.x could cause it.&lt;BR /&gt;There are certain routines that the compiler will call if you do any floating point.&lt;BR /&gt;&lt;BR /&gt;Add some floating point code, then step into the code and you will see them. Then&amp;nbsp; remove your test code and look in the map file to see if they still get link in.&lt;BR /&gt;&lt;BR /&gt;It's really not an issue, I almost always create if a project with floating point just in case, since it is a pain to added it back later you need it. Still, I do wonder why it is that it demanded floating point.&lt;BR /&gt;&lt;BR /&gt;It's not like you are almost out rom is it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 20:14:20 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2008-04-17T20:14:20Z</dc:date>
    <item>
      <title>CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147831#M7531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using the CMX terminal demo as a method of transferring data into the PC.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I successfully got the program to do what it's supposed to with all files still in the&lt;/DIV&gt;&lt;DIV&gt;CMX directories as downloaded from the F'scale site.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The next thing I did was to relocate the files (still using the original CW setup),&lt;/DIV&gt;&lt;DIV&gt;and place them into the 'sources' directory.&amp;nbsp; All worked fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I started a 'new project' in CW, and transferred all of the required files into the&lt;/DIV&gt;&lt;DIV&gt;new 'sources' directory.&amp;nbsp; After fixing all of the directory related errors, I am getting&lt;/DIV&gt;&lt;DIV&gt;about 88 errors, mainly around a 'hcc_u8 not declared', or 'BITx not declared'.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To further debug, I have both projects open in two separate CW windows, and&lt;/DIV&gt;&lt;DIV&gt;have compared all setups &amp;amp; made sure they are the same... search paths, compiler&lt;/DIV&gt;&lt;DIV&gt;options, link order, etc.&amp;nbsp; All appear identical.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anybody have any ideas?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;BTW, I called CMX, but they are at some show this week, so support is evidently&lt;/DIV&gt;&lt;DIV&gt;minimal.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 20:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147831#M7531</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-16T20:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147832#M7532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, don't look to CMX to solve this problem, if their code builds and works, their job is done.&lt;BR /&gt;&lt;BR /&gt;I have tried that with the CMX code, and finally decided to clone the project and them mod it.&lt;BR /&gt;&lt;BR /&gt;hcc_u8 is a CMX defined type for a byte I believe. Where is it defined?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 21:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147832#M7532</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-16T21:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147833#M7533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Jim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I figured that it was a F'scale support issue, but when I talked to CMX's receptionist,&lt;/DIV&gt;&lt;DIV&gt;she implied that they were doing the support.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anyhow, in the test I described, the only changes to the code I did was to reposition&lt;/DIV&gt;&lt;DIV&gt;the files into a different directory.&amp;nbsp;(and start a new CW project)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;usb.c has the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;typedef struct {&lt;BR /&gt;&amp;nbsp; volatile hcc_u32 tlength;&lt;BR /&gt;&amp;nbsp; volatile hcc_u32 maxlength;&lt;BR /&gt;&amp;nbsp; void * volatile address;&lt;BR /&gt;&amp;nbsp; volatile usb_callback_t data_func;&lt;BR /&gt;&amp;nbsp; hcc_u16 psize;&lt;BR /&gt;&amp;nbsp; volatile hcc_u8 state;&lt;BR /&gt;&amp;nbsp; volatile hcc_u8 flags;&lt;BR /&gt;&amp;nbsp; volatile hcc_u8 error;&lt;BR /&gt;&amp;nbsp; volatile hcc_u8 data0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Data toggle bit for endpoint. */&lt;BR /&gt;} ep_info_t;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;BR /&gt;Tim&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 21:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147833#M7533</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-16T21:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147834#M7534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;They will do support for issues related to how the code works, but like I said I don't think this is an issue with their code.&lt;BR /&gt;&lt;BR /&gt;In which header.is this defined? Some times other things need to be defined to make other defines become visible.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 22:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147834#M7534</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-16T22:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147835#M7535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Jim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I found this in usb_cdc.c:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;/****************************************************************************&lt;BR /&gt;&amp;nbsp;************************** Module variables ********************************&lt;BR /&gt;&amp;nbsp;***************************************************************************/&lt;BR /&gt;/* Buffer long enouh to hold one USB frame. (Length equals to rx packet&lt;BR /&gt;&amp;nbsp;&amp;nbsp; size. */&lt;BR /&gt;static hcc_u32 rx_buffer[32/4];&lt;BR /&gt;static hcc_u8 rx_length;&lt;BR /&gt;static hcc_u8 rx_ndx;&lt;BR /&gt;/* Buffer long enouh to hold one USB frame. (Length equals to tx packet&lt;BR /&gt;&amp;nbsp;&amp;nbsp; size. */&lt;BR /&gt;static hcc_u8 *cur_tx_buffer;&lt;BR /&gt;static hcc_u32 tx_buffer1[32/4];&lt;BR /&gt;static hcc_u32 tx_buffer2[32/4];&lt;BR /&gt;static hcc_u8 tx_ndx;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;static hcc_u8 new_line_coding;&lt;BR /&gt;static hcc_u8 line_coding[7] = {&lt;BR /&gt;&amp;nbsp; FILL_LINE_CODING(115200, 0, 0, 8) /* Default is 115200 BPS and 8N1 format. */&lt;BR /&gt;};&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier New" size="1"&gt;static hcc_u8 ctrl_line_state;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I guess the main question is that if I have two separate CW projects, each with the identical&lt;/DIV&gt;&lt;DIV&gt;code located in the same relative directories, have the same link order, same compile options,&lt;/DIV&gt;&lt;DIV&gt;etc, why am I getting errors?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Seems that it is something in CW that I'm not finding.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Tim&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&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>Thu, 17 Apr 2008 02:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147835#M7535</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-17T02:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147836#M7536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Obviously something is not identical in your two projects,&lt;BR /&gt;what I would do is to compare the preprocessor output of a file which fails to compile with the same file in the working mcp.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 11:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147836#M7536</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-04-17T11:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147837#M7537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel/Jim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Found the problem.&amp;nbsp; Evidently when CMX started their project, they selected&lt;/DIV&gt;&lt;DIV&gt;floating point&amp;nbsp;format&amp;nbsp;in the wizard, as opposed to none.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;When I re-did the wizard selecting the Float option, the program worked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now, I guess to make it work, I will also have to do my project with Floating&lt;/DIV&gt;&lt;DIV&gt;point selected.&amp;nbsp; Wonder how much that will make it grow?&amp;nbsp; Time will tell.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 18:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147837#M7537</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-17T18:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147838#M7538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If you don't use floating point, probably 0.&lt;BR /&gt;Can you find where they used it?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 19:14:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147838#M7538</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-17T19:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147839#M7539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I've looked through all of the code, and don't find 'float'&lt;/DIV&gt;&lt;DIV&gt;anywhere -&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can look to see if there is any non-integer arithmetic,&lt;/DIV&gt;&lt;DIV&gt;but is there an easier way?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 20:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147839#M7539</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-17T20:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147840#M7540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Use find in files and see if there is a "float" or "double" declaration or cast anywhere.&lt;BR /&gt;&lt;BR /&gt;I suppose just writing x.x could cause it.&lt;BR /&gt;There are certain routines that the compiler will call if you do any floating point.&lt;BR /&gt;&lt;BR /&gt;Add some floating point code, then step into the code and you will see them. Then&amp;nbsp; remove your test code and look in the map file to see if they still get link in.&lt;BR /&gt;&lt;BR /&gt;It's really not an issue, I almost always create if a project with floating point just in case, since it is a pain to added it back later you need it. Still, I do wonder why it is that it demanded floating point.&lt;BR /&gt;&lt;BR /&gt;It's not like you are almost out rom is it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 20:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147840#M7540</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-17T20:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147841#M7541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;No, I'm only up to $b000, so I've still got a ways to go.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I initially started, I wasn't sure how big the project&lt;/DIV&gt;&lt;DIV&gt;would be, so I selected 'none' in the Wizard.&amp;nbsp; (based upon&lt;/DIV&gt;&lt;DIV&gt;the note beside it that said&amp;nbsp;"select None for best code density").&lt;/DIV&gt;&lt;DIV&gt;I didn't plan on using any Floating Point.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'll add some float code &amp;amp; try out what you suggested.&amp;nbsp; Maybe&lt;/DIV&gt;&lt;DIV&gt;I can find it that way.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 20:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147841#M7541</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-17T20:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147842#M7542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Well, for some reason, we're back to the 88 errors, even with the Float&lt;/DIV&gt;&lt;DIV&gt;option.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Not sure what changed.. something is quite unstable.&amp;nbsp; I used it yesterday&lt;/DIV&gt;&lt;DIV&gt;afternoon for a couple of hours &amp;amp; it worked fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Don't ya just love these 'free' packages?!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 21:53:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147842#M7542</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-17T21:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147843#M7543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Some functions like sprintf or sscanf will support float once you link against a library which is using float, so the effect might be &amp;gt;0, but if those functions are not used, then a 0 overhead is possible too.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 21:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147843#M7543</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-04-17T21:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147844#M7544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;HR /&gt;UtopiaTim wrote:&lt;BR /&gt;&lt;DIV&gt;Well, for some reason, we're back to the 88 errors, even with the Float&lt;/DIV&gt;&lt;DIV&gt;option.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Not sure what changed.. something is quite unstable.&amp;nbsp; I used it yesterday&lt;/DIV&gt;&lt;DIV&gt;afternoon for a couple of hours &amp;amp; it worked fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Don't ya just love these 'free' packages?!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;Doing the project with floating point doesn't seem to like it should fix errors like "hcc_u8 not declared", what are the exact errors that you are getting?&amp;nbsp; If the compiler is complaining about things not being declared, can you find declarations for them?&amp;nbsp; I would guess something like hcc_u8 would just be a #define like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#define hcc_u8 unsigned char&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- Brett&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 22:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147844#M7544</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2008-04-17T22:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147845#M7545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, I didn't want to say anything, but I found it a stretch that floating point was the problem.&lt;BR /&gt;Perhaps if you post the project and a zip someone will take a look at it from FSL.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 23:03:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147845#M7545</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-17T23:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147846#M7546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Jim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I agree - that seemed a stretch, but look at the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1.&amp;nbsp; Started with a clean version of the CMX terminal software&lt;/DIV&gt;&lt;DIV&gt;2.&amp;nbsp; Pulled all source codes from their various directories &amp;amp; put in source.&lt;/DIV&gt;&lt;DIV&gt;3.&amp;nbsp; Kept same .MCP as they had.&lt;/DIV&gt;&lt;DIV&gt;4.&amp;nbsp; Modified a few places in their code which referenced other directory&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entries... e.g. /../usb.c, etc.&lt;/DIV&gt;&lt;DIV&gt;5.&amp;nbsp; Compiled fine, hardware worked fine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;- here's where it gets wierd:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Went to window where you change from hardware debug to simulator,&lt;/DIV&gt;&lt;DIV&gt;I got a different screen which had a lot more options than I normally see.&lt;/DIV&gt;&lt;DIV&gt;I selected full chip simulation.&amp;nbsp; When I clicked on 'debug', a sub screen came&lt;/DIV&gt;&lt;DIV&gt;up asking which device I wanted to use.&amp;nbsp; The JM60 wasn't on it.&amp;nbsp; (I'm using 6.1&lt;/DIV&gt;&lt;DIV&gt;with the JM60 patch).&amp;nbsp; Went back to try &amp;amp; use the Cyclone pro, &amp;amp; got same&lt;/DIV&gt;&lt;DIV&gt;window with 'choose device'.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;OK, so I click on the icon of a chip, and the HC08 family is shown.&amp;nbsp; I click on&lt;/DIV&gt;&lt;DIV&gt;HCS08... JM60, click on cyclone pro, &amp;amp; finish.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Voila, the 88 errors magically re-appear!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Think it's time to call F'scale.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 00:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147846#M7546</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-18T00:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147847#M7547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Yes, do submit a service request.&lt;BR /&gt;If you can attach a project and give them steps to reproduce, you will get better results.&lt;BR /&gt;If they try and say no troubled found, get back to us and I will try to duplicate it.&lt;BR /&gt;&lt;BR /&gt;Are you saying that you switch the target to simulator and then back?&lt;BR /&gt;Please clarify this.&lt;BR /&gt;&lt;BR /&gt;I know this is a crappy answer, but try and redo the project as before but do not switch targets.&lt;BR /&gt;I might be possible to export the directories page where you changed stuff then import it back.&lt;BR /&gt;&lt;BR /&gt;Then, don't change to simulator again.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-04-17&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:27 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 00:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147847#M7547</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-04-18T00:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147848#M7548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Jim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It's being worked as we speak.&amp;nbsp; It is easy to replicate using the&lt;/DIV&gt;&lt;DIV&gt;CMX code that is available from F'scale.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you get into CW with the supplied .MCP file, switch to simulator&lt;/DIV&gt;&lt;DIV&gt;and try to run it, a dialog box will pop up asking you to select the&lt;/DIV&gt;&lt;DIV&gt;MCU.&amp;nbsp; Unfortunately, the JM60 isn't one of the offered selections!&lt;/DIV&gt;&lt;DIV&gt;It is only HC08 parts.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you go to the chip icon to select the JM60, then it changes the&lt;/DIV&gt;&lt;DIV&gt;compiler command line (which in this case the software wants&lt;/DIV&gt;&lt;DIV&gt;a "-DUSB_CDC_TERMINAL" entry.&amp;nbsp; Even if you add that, when&lt;/DIV&gt;&lt;DIV&gt;you compile, it gives you 88 errors.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Since I want to use this code in my project, I really need to have the&lt;/DIV&gt;&lt;DIV&gt;simulator option working properly.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 02:58:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147848#M7548</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-18T02:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147849#M7549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello Tim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It is likely that this is completely off-track, but are you using a third-party library that may have been compiled for HC08, rather than HCS08 device?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147849#M7549</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-04-18T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: CMX Stack - JM60</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147850#M7550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Mac,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm just using the CMX code downloaded from the F'scale&lt;/DIV&gt;&lt;DIV&gt;web site.&amp;nbsp; Would think that the compiler would have some&lt;/DIV&gt;&lt;DIV&gt;problems with non-existent references if it were trying&lt;/DIV&gt;&lt;DIV&gt;to compile&amp;nbsp;for the wrong part.&amp;nbsp; When you initially get into&lt;/DIV&gt;&lt;DIV&gt;the debugger, it does say S08JM60 as the target part on&lt;/DIV&gt;&lt;DIV&gt;the bottom of the screen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I even did a fresh install of CW 6.1 with the JM60 patch just to&lt;/DIV&gt;&lt;DIV&gt;make sure that there wasn't anything funny going on.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It should be interesting to see what the real problem is.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've also sent the folks at CMX an e-mail describing the&lt;/DIV&gt;&lt;DIV&gt;issues.&amp;nbsp; Most are at Imbedded this week, so it will probably&lt;/DIV&gt;&lt;DIV&gt;have to wait till they return.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 20:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/CMX-Stack-JM60/m-p/147850#M7550</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-04-18T20:51:02Z</dc:date>
    </item>
  </channel>
</rss>

