<?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: Processor expert 'm_text' overflowed by 3320 bytes in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345961#M2629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a setting for optimization in the project properties and that seemed to make the error go away. :smileyhappy: I am a little worried as I still have a lot more math to do for this project and already had problems on the first equation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2015 22:26:14 GMT</pubDate>
    <dc:creator>mikeconover</dc:creator>
    <dc:date>2015-02-03T22:26:14Z</dc:date>
    <item>
      <title>Processor expert 'm_text' overflowed by 3320 bytes</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345960#M2628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an MKL24 processor with processor expert. I am reading an analog value and then converting it to voltage, which is just a simple multiplication and I get the error below about .text not fitting in region m_text. This seems pretty basic, but it is not working. :smileysad: I tried increasing the space in the ProcessorExpert.ld file, but it seems to be overlapping with some other section of the memory because I get an error in the debug screen. Is 0x0000FFFF the maximum length for the m_text memory section? How do I get around this problem?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Mike &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Description&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Resource&lt;/TD&gt;&lt;TD&gt;Path&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;region `m_text' overflowed by 3320 bytes&lt;/TD&gt;&lt;TD&gt;TLS_RevA_KL24Z64&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;C/C++ Problem&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Description&lt;/TD&gt;&lt;TD&gt;Resource&lt;/TD&gt;&lt;TD&gt;Path&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TLS_RevA_KL24Z64.elf section `.text' will not fit in region `m_text'&lt;/TD&gt;&lt;TD&gt;TLS_RevA_KL24Z64&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;C/C++ Problem&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 21:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345960#M2628</guid>
      <dc:creator>mikeconover</dc:creator>
      <dc:date>2015-02-03T21:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert 'm_text' overflowed by 3320 bytes</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345961#M2629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a setting for optimization in the project properties and that seemed to make the error go away. :smileyhappy: I am a little worried as I still have a lot more math to do for this project and already had problems on the first equation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 22:26:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345961#M2629</guid>
      <dc:creator>mikeconover</dc:creator>
      <dc:date>2015-02-03T22:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert 'm_text' overflowed by 3320 bytes</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345962#M2630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to check the specific error reason, we need check the your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the possible problem can be:&lt;/P&gt;&lt;P&gt;1. your code/object size is too big to be loaded in m_text section.&lt;/P&gt;&lt;P&gt;or:&lt;/P&gt;&lt;P&gt;2. there are two object/code try to allocated in same memory address in m_text section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after you optimize the code, the code size will get smaller, so no illegal access to specific m_text address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does this answer your question?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 04:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345962#M2630</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-02-04T04:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert 'm_text' overflowed by 3320 bytes</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345963#M2631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Zhang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. How do I check if there are two object/code allocated in the same memory address in the m_text section? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find the code size? I would like to compare after I try the different optimization settings to see how much space I have left.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;BR /&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 05:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345963#M2631</guid>
      <dc:creator>mikeconover</dc:creator>
      <dc:date>2015-02-04T05:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert 'm_text' overflowed by 3320 bytes</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345964#M2632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can check object/code allocation in map file. each module code size can be found in map file too.&lt;/P&gt;&lt;P&gt;the total project code size can be check with referring below document.&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/" title="http://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/"&gt;Printing Code Size Information in Eclipse | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 07:28:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345964#M2632</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-02-04T07:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert 'm_text' overflowed by 3320 bytes</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345965#M2633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;You can use .map file to check the code size of your application(e.g. Debug\&amp;lt;project name&amp;gt;.map file in your project in Project Explorer window.&lt;/P&gt;&lt;P&gt;But the configuration of the compiler depend on the toolchain you are using. In KDS 2.0.0 (1.1.1) you can use the following&amp;nbsp; (Print Size option) options to display the code size in the Console window (ARM GCC compiler):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Code Size settings in KDS 2.0.0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50194iF62E84E24DE110CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Code Size settings in KDS 2.0.0.png" alt="Code Size settings in KDS 2.0.0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 07:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-m-text-overflowed-by-3320-bytes/m-p/345965#M2633</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-02-04T07:29:46Z</dc:date>
    </item>
  </channel>
</rss>

