<?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>8-bit MicrocontrollersのトピックRe: How to built a modular softwar project in CW</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141997#M6108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;FONT size="3"&gt;No I would't write the Software absolute, because I will break the Program in handable files with tables together in sections and so on. I have try this in a ST7LITE-Project also (with ST7-Software enviroment) but I have troubles with the variables, so for debugging (absolute) I must put all routines which I would debug together in one big file. Therefor I have always to lo look at the section boarders because I have 8 256-Byte table-sections.&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2006 12:49:41 GMT</pubDate>
    <dc:creator>Truk</dc:creator>
    <dc:date>2006-07-06T12:49:41Z</dc:date>
    <item>
      <title>How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141988#M6099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;I am a greenhorn with the CW. Until now, I have written my software (all were small projects) in a DOS enviroment, all in assembler.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 3;"&gt;Can sombody mail to me an structured example in assembler written in the CW where I can see how I have to build the software project?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 01:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141988#M6099</guid>
      <dc:creator>Truk</dc:creator>
      <dc:date>2006-07-05T01:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141989#M6100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Truk wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;I am a greenhorn with the CW. Until now, I have written my software (all were small projects) in a DOS enviroment, all in assembler.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Can sombody mail to me an structured example in assembler written in the CW where I can see how I have to build the software project?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Truk.&lt;BR /&gt;I do all my programming in assembly in CW. If you will tell me which processor and which version of CW I will try to guide you.&lt;BR /&gt;ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 23:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141989#M6100</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-07-05T23:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141990#M6101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;My CW is V5.1 Spc.Edition for S08&lt;BR /&gt;My Prozessor MC9S08AW16CFG.&lt;BR /&gt;Software is for an existing Unit with MC05P6 which has to be rebuild&lt;BR /&gt;I would like to adjusting some files to the S08 with a better structure&amp;nbsp;than in the 10 years old software.&lt;BR /&gt;If you can give to me the framework with all INC and so on to write a good structured programm it will be very helpfull to me.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 23:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141990#M6101</guid>
      <dc:creator>Truk</dc:creator>
      <dc:date>2006-07-05T23:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141991#M6102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Truk.&lt;BR /&gt;It may turn out that I can't help you if you intend to use INClude files, etc. I only ever use absolute assembly, 1 file, no includes, no external ref.....&lt;BR /&gt;&lt;BR /&gt;CW5.x is a bit difficult to set up for absolute assembly but I do have the roadmap somewhere. However, I do need to know if you want absolute assembly or the messy kind.&lt;BR /&gt;ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 00:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141991#M6102</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-07-06T00:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141992#M6103</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;P&gt;I'm no CW expert at all but...&lt;/P&gt;&lt;P&gt;Absolute assembly does _not_ preclude the use of include files.&lt;/P&gt;&lt;P&gt;Includes are just a way of breaking your "1 big file" up into smaller ones. They are all chained together again upon assembly.&lt;/P&gt;&lt;P&gt;I seem to remember some one looking for the AW header or inc file recently&lt;/P&gt;&lt;P&gt;Regards David&lt;/P&gt;&lt;P&gt;Yes it was the OP asking here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1883" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1883&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2006-07-06&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:55 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 05:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141992#M6103</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-07-06T05:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141993#M6104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;With absolute assembly there is no restriction on the number of files that may be INCLUDEd, and you may also nest includes (include files may be&amp;nbsp;referenced within an include file).&amp;nbsp; The primary difference is that absolute assembly code defines&amp;nbsp;its location in memory using ORG directives, whereas relocatable assembly&amp;nbsp;uses SECTION directives to define code location.&amp;nbsp; For absolute assembly, the programmer also needs to ensure&amp;nbsp;that there is no overlapping of the various code sections in different parts of the program.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Another difference is that, for absolute assembly, since all addresses are known&amp;nbsp;during the&amp;nbsp;assembly process, the linker is not required, and an S19 file can be directly generated by the assembler.&amp;nbsp; However, I think this may require that the assembler program be used alone, and not called from within the CW IDE.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;When using the assembler program alone,&amp;nbsp;the formalised, and rather complex CW project directory structure is not necessary.&amp;nbsp; Note that the simulator/debugger tool can also be use alone.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I assume that Truk's earlier assembly projects would have used absolute assembly.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Regards,&lt;BR /&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 10:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141993#M6104</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-07-06T10:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141994#M6105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;peg wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;P&gt;I'm no CW expert at all but...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Absolute assembly does _not_ preclude the use of include files.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Includes are just a way of breaking your "1 big file" up into smaller ones. They are all chained together again upon assembly.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I seem to remember some one looking for the AW header or inc file recently&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards David&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Yes it was the OP asking here:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1883" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;message.id=1883&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2006-07-06&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:55 AM&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, it may be possible to use multiple files in absolute assembly, and there may exist some strange twisted universe in which it actually makes sense to do so. But not in the one I occupy.&lt;BR /&gt;&lt;BR /&gt;It has been my understanding that an INC statement invoked the linker which isn't supposed to run in 'absolute' mode. I believe that one of the freescale cw people put something to that effect in a response to one of my requests.&lt;BR /&gt;&lt;BR /&gt;Anyway, if he is looking for a 'linked' setup I will bow out. I'm just not interested in that.&lt;BR /&gt;cheers, ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 10:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141994#M6105</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-07-06T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141995#M6106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;In this other universe the aliens might be:&lt;/P&gt;&lt;P&gt;Reusing code modules in other projects&lt;/P&gt;&lt;P&gt;Doing conditional assembly to suit different hardware variants&lt;/P&gt;&lt;P&gt;Easing the burden of version control over these variants&lt;/P&gt;&lt;P&gt;Not having to scroll for miles through one file trying to find what you are looking for instead of opening the&amp;nbsp;ISR file to find a particular&amp;nbsp;ISR for example.&lt;/P&gt;&lt;P&gt;I used to do it all in one file, but now the file I throw at the assembler has only comments, version notes and include statements in it. I will never go back!&lt;/P&gt;&lt;P&gt;Regards David from planet Earth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 11:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141995#M6106</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-07-06T11:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141996#M6107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;peg wrote:&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;P&gt;In this other universe the aliens might be:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Reusing code modules in other projects&lt;/P&gt;&lt;BR /&gt;[ron] 'cut-n-paste' editors are your friend.&lt;BR /&gt;&lt;P&gt;Doing conditional assembly to suit different hardware variants&lt;/P&gt;&lt;BR /&gt;[ron] The proper documentation of this technique is inevitably more complex than simply having different firmware versions per hardware variant.&lt;BR /&gt;&lt;P&gt;Easing the burden of version control over these variants&lt;/P&gt;&lt;BR /&gt;[ron] See above.&lt;BR /&gt;&lt;P&gt;Not having to scroll for miles through one file trying to find what you are looking for instead of opening the ISR file to find a particular ISR for example.&lt;/P&gt;&lt;BR /&gt;[ron] Using the handy 'find' function within a single file is easier than having to call up a whole 'nother file to find something in.&lt;BR /&gt;&lt;P&gt;I used to do it all in one file, but now the file I throw at the assembler has only comments, version notes and include statements in it. I will never go back!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards David from planet Earth.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It probably all comes down to taste and training.&lt;BR /&gt;&lt;BR /&gt;In any case the answer to Truk's original question lies within this app note: tn245.pdf (sorry, didn't learn how to post a link)&lt;BR /&gt;Regards, ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 11:34:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141996#M6107</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-07-06T11:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141997#M6108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;FONT size="3"&gt;No I would't write the Software absolute, because I will break the Program in handable files with tables together in sections and so on. I have try this in a ST7LITE-Project also (with ST7-Software enviroment) but I have troubles with the variables, so for debugging (absolute) I must put all routines which I would debug together in one big file. Therefor I have always to lo look at the section boarders because I have 8 256-Byte table-sections.&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 12:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141997#M6108</guid>
      <dc:creator>Truk</dc:creator>
      <dc:date>2006-07-06T12:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141998#M6109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;FONT size="3"&gt;the problem with the INC-File I could solve. I have choosen the &lt;FONT size="4"&gt;MC9S08AW32 -&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT size="3"&gt;File from the "device Initialisation" and edited it to met specifications of the&lt;/FONT&gt; &lt;FONT size="4"&gt;MC9S08AW16.&lt;/FONT&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 12:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141998#M6109</guid>
      <dc:creator>Truk</dc:creator>
      <dc:date>2006-07-06T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to built a modular softwar project in CW</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141999#M6110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;I have made a Project with ST7Lite with INCLUDE-Files without ORG-statement. But for debugging, I have to link all files which I would like to debug in 1 big file because I have troubles with the variables.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 13:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-to-built-a-modular-softwar-project-in-CW/m-p/141999#M6110</guid>
      <dc:creator>Truk</dc:creator>
      <dc:date>2006-07-06T13:08:43Z</dc:date>
    </item>
  </channel>
</rss>

