<?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: Code Warrior newbie questions in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140052#M2409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Atal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread was originally for an HCS08, so it thought it was the case for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case here is the explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;The interrupt vectors start at address 0 and their size is 0x400 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;The code starts at address 0x500 and it is 0xDCD0 bytes long&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;Initialized data starts at address 0xE1D0 and it is just 0x18 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;Non Initialized data starts at address 0x20000418 and it is 0x5510 bytes long (this is a RAM space).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;- You &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;must add .vectors, .&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;cfmprotrom&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;, .text, .data and .romp to &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;get the size of FLASH used&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;- Add .data, .bss and .custom to obtain RAM usage.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2014 17:20:06 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2014-04-04T17:20:06Z</dc:date>
    <item>
      <title>HC08: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140040#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I'm new to Code Warrior.&amp;nbsp; Using it for the first time to program an&lt;BR /&gt;embedded app (Freescale MC9S08DZ60 microcontroller).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Although it is working well and I am making good progress, I have a few&lt;BR /&gt;questions:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) In the data window in the debugger, occasionally a weird symbol in single quotes will&lt;BR /&gt;appear immediately to the left of a data value.&amp;nbsp; What is the meaning of&lt;BR /&gt;these symbols?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) In the data window in the debugger, is there any way to export data&lt;BR /&gt;from the window into an external app like, say, Excel, for analysis?&lt;BR /&gt;Cut and paste appears to be disabled in this window, and I could find&lt;BR /&gt;no "export" feature.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3)&amp;nbsp; After compiling, how do I see a report of code and data size?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;4) How do I inspect the stack in the debugger?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;5) How do I view variables as the code is running?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've read every doc I can get my hands on, but somehow must have overlooked the answers to these questions.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by CrasyCat on &lt;SPAN class="date_text"&gt;2007-04-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:25 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 06:37:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140040#M2397</guid>
      <dc:creator>EtherJones</dc:creator>
      <dc:date>2006-12-14T06:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140041#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;1) Not sure what you mean there.&lt;BR /&gt;&lt;BR /&gt;2) Not possible as far as I know.&lt;BR /&gt;&lt;BR /&gt;3) In the project window in the IDE there is a list that shows how big the code and data in a particular file would be if all of it was included. To see the actual size, you need to look in the very useful .map file that is generated by the linker.&lt;BR /&gt;&lt;BR /&gt;4) Check the memory map at the address where you placed the stack.&lt;BR /&gt;&lt;BR /&gt;5) Not possible unless you have an in-circuit emulator or a rather sophisticated BDM pod + debugger. The Codewarrior debugger can't do that.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 15:40:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140041#M2398</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2006-12-14T15:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140042#M2399</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;&amp;gt;1-&amp;nbsp;In the data window in the debugger, occasionally a weird symbol in single quotes will&lt;BR /&gt;&amp;gt;appear immediately to the left of a data value.&amp;nbsp; What is the meaning of&lt;BR /&gt;&amp;gt;these symbols? &lt;DIV&gt;Never seen that before. I would recommend you to log a service request for that through our on-line support web page. Make sure to attach a reproducible case (project)&amp;nbsp;to the issue.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;gt;2) In the data window in the debugger, is there any way to export data&lt;BR /&gt;&amp;gt;from the window into an external app like, say, Excel, for analysis?&lt;BR /&gt;&amp;gt;Cut and paste appears to be disabled in this window, and I could find&lt;BR /&gt;&amp;gt;no "export" feature.&lt;/DIV&gt;&lt;DIV&gt;What would be the reason for exporting that to Excel? Which kind of information are you looking for here?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;gt;3)&amp;nbsp; After compiling, how do I see a report of code and data size?&lt;/DIV&gt;&lt;DIV&gt;If you want to see current application code and data size, look into the .map file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;gt;4) How do I inspect the stack in the debugger?&lt;/DIV&gt;&lt;DIV&gt;In the debugger there is a Procedure window, displaying the call chain and parameters.&lt;/DIV&gt;&lt;DIV&gt;Is that what you are looking for?&lt;/DIV&gt;&lt;DIV&gt;If you want to see the content of the stack, you can drag the SP from&amp;nbsp;the Register window and drop it in the memory window. You will see a dump of memory, where the stack is ,located.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;5) How do I view variables as the code is running?&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;You can set the data window mode to periodical. This way the content of the Data window will be refreshed periodically.&lt;/DIV&gt;&lt;DIV&gt;Just click with the right mouse button in the data window, select Mode -&amp;gt; Periodical and set the period.&lt;/DIV&gt;&lt;DIV&gt;Be careful, this may be intrusive and affect real time behavior of the system.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 19:26:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140042#M2399</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-12-14T19:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140043#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;CrasyCat, you asked at 2):&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;What would be the reason for exporting that [data from the data window] to Excel? Which kind of information are you looking for here?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here is a reason from another party:&lt;/DIV&gt;&lt;DIV&gt;I have a data acquisition application in&amp;nbsp;variably hostile&amp;nbsp;environments, display&amp;nbsp;its peak.&lt;/DIV&gt;&lt;DIV&gt;The&amp;nbsp;result (a single 2 digit number) acquired for display&amp;nbsp;looks OK, for events &amp;lt; 100 Hz.&lt;/DIV&gt;&lt;DIV&gt;It looks suspiciously high for events ~400 Hz, where there is a possible 40 kHz disturbance.&lt;/DIV&gt;&lt;DIV&gt;Sampling rate is 4 kHz.&lt;/DIV&gt;&lt;DIV&gt;Attempts to apply shielding to the sensor have not worked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So I an thinking if I could detect some threshold measurement, then fill RAM with a sequence of measurements say 50 for 5 cycles of data, I could see whether the data looked like the expected exponentially decaying sinusoid, or perhaps had some peakiness that could be eliminated by a simple digital filter.&amp;nbsp; For me, copy and paste sounds like a great ability for that, even if I had to change rows and columns of the data window to a column in the spread sheet.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 06:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140043#M2400</guid>
      <dc:creator>DSbob</dc:creator>
      <dc:date>2008-02-13T06:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140044#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&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;Assuming that the data you are acquiring is analog, if higher frequency components are expected, you will need to properly filter the&amp;nbsp;input(s), to prevent "aliasing" of the sampled signal.&amp;nbsp; With a sampling rate of 4kHz, the cutoff frequency of the filter will need to be somewhat less than 2 kHz.&amp;nbsp; How close to 2kHz you can achieve&amp;nbsp;will depend on the steepness of the filter, and the amplitude of the high frequency components.&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;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 10:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140044#M2401</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-13T10:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: HC08: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140045#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) In the data window in the debugger, occasionally a weird symbol in single quotes will&lt;BR /&gt;appear immediately to the left of a data value.&amp;nbsp; What is the meaning of&lt;BR /&gt;these symbols?&lt;/DIV&gt;&lt;DIV&gt;The symbol you see are like this: 'U' 85? this is the ASCII translation of the data value.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;filippo&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 23:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140045#M2402</guid>
      <dc:creator>Spell</dc:creator>
      <dc:date>2008-02-13T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: HC08: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140046#M2403</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;Yes for character variables, the debugger shows the corresponding ASCII value enclosed in single quotes.&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>Wed, 13 Feb 2008 23:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140046#M2403</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-02-13T23:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140047#M2404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I know it's been a long time ago from your last post.But, I am also facing the same problem regarding info about code and data size. I couldn't find the .map file in my project folder. I am using codewarrior development studio for MCUv10.4. Could you please tell me where can I find the .map file in the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 05:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140047#M2404</guid>
      <dc:creator>atalbajracharya</dc:creator>
      <dc:date>2014-03-28T05:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140048#M2405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is in the same folder as the .elf/.abs file, typically in FLASH or something like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 07:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140048#M2405</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-03-28T07:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140049#M2406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the quick response. I found the .map file but couldn't analyse it to get the code and the data size from it. Couldn't you please help me with it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 11:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140049#M2406</guid>
      <dc:creator>atalbajracharya</dc:creator>
      <dc:date>2014-03-28T11:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: HC08: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140050#M2407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Atal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the map file you can find a summary of the memory usage. Something like next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Sizes.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43443i72C0AE138CA02FE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sizes.png" alt="Sizes.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_ONLY is the total FLASH memory used by code, constants, variable initialization values, arrays, etc.&lt;/P&gt;&lt;P&gt;READ_WRITE is the amount of RAM memory used by your variables.&lt;/P&gt;&lt;P&gt;NO_INIT corresponds to the MCU registers, and also any memory section declared as no_init in your linker file (prm).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest of the map file contains whole more details about the placement and sizes of your variables, functions, initialization code, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 17:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140050#M2407</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-04-02T17:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140051#M2408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all Thank you for your clear explanation.But I didn't find the above mentioned section in my .map file. There is a section at the end of my .map file which is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Memory map:&lt;/P&gt;&lt;P&gt;&amp;nbsp; v_addr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_addr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;/P&gt;&lt;P&gt;&amp;nbsp; 00000000 00000000 00000400 .vectors&amp;nbsp;&amp;nbsp; vectorrom&lt;/P&gt;&lt;P&gt;&amp;nbsp; 00000400 00000400 00000018 .cfmprotect cfmprotrom&lt;/P&gt;&lt;P&gt;&amp;nbsp; 00000500 00000500 00000000 .code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code&lt;/P&gt;&lt;P&gt;&amp;nbsp; 00000500 00000500 0000DCD0 .text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20000000 20000000 00000000 .vectorram vectorram&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20000400 20000400 00000000 .userram&amp;nbsp;&amp;nbsp; userram&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20000400 0000E1D0 00000018 .data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userram&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20000418 20000418 00005510 .bss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userram&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20005928 20005928 00000000 .custom&amp;nbsp;&amp;nbsp;&amp;nbsp; userram&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20005928 0000E1E8 00000018 .romp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Link start time: Mon Mar 31 14:13:23 2014&lt;/P&gt;&lt;P&gt;# Link end time: Mon Mar 31 14:13:23 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the size of the code section represent the Flash memory and the sum of the size of userram section represent the RAM memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 05:09:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140051#M2408</guid>
      <dc:creator>atalbajracharya</dc:creator>
      <dc:date>2014-04-03T05:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140052#M2409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Atal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This thread was originally for an HCS08, so it thought it was the case for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case here is the explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;The interrupt vectors start at address 0 and their size is 0x400 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;The code starts at address 0x500 and it is 0xDCD0 bytes long&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;Initialized data starts at address 0xE1D0 and it is just 0x18 bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;Non Initialized data starts at address 0x20000418 and it is 0x5510 bytes long (this is a RAM space).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;- You &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;must add .vectors, .&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;cfmprotrom&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;, .text, .data and .romp to &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;get the size of FLASH used&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: Calibri; color: black;"&gt;- Add .data, .bss and .custom to obtain RAM usage.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:20:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140052#M2409</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-04-04T17:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140053#M2410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again, I am stuck in another problem now. I am using mcf52235 microcontroller which has 32Kb RAM. When I added .data,.bss and .custom sizes,it accumulated to a value of about 25Kb. But, when i programmed my microcontroller, it didn't run! Now, i reduced my RAM uses to minimal value by modifying the code to&amp;nbsp; just led blinking operation. Now, the program run fine. So, was the cause of my program "hanging" in the first instance due to RAM overflow???shouldn't the Codewarrior give error message in that case??&lt;/P&gt;&lt;P&gt;Secondly, there is &lt;/P&gt;&lt;P&gt;# Heap and Stack sizes definition&lt;/P&gt;&lt;P&gt;&amp;nbsp; ___heap_size&amp;nbsp; = 0x1000;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ___stack_size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x1000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;defined in the "MCF52235_Internal_Flash.lcf" file.Is this 4kb each allocated for heap and stack included in the RAM size found in the .map file. I ask this question cause when I reduced heap and the stack sizes to 0x500 each,my initial code with RAM of 25Kb started working. Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 06:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140053#M2410</guid>
      <dc:creator>atalbajracharya</dc:creator>
      <dc:date>2014-06-01T06:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Code Warrior newbie questions</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140054#M2411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks your RAM overflowed the available space. Unfortunately the ColdFire linker does not report an error for this. 4 KByte stack seems a lot to me, do you really need that much?&lt;/P&gt;&lt;P&gt;And I suggest that in case you have such a problem, you debug your application through the startup code. Very likely your SP (stack pointer) gets pointed to FLASH area and then your application crashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jun 2014 16:00:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-Code-Warrior-newbie-questions/m-p/140054#M2411</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-06-01T16:00:41Z</dc:date>
    </item>
  </channel>
</rss>

