<?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>Kinetis Design StudioのトピックRe: Re: m_data overflow error</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372912#M1844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this customer is having a similar issue.&amp;nbsp; Can you confirm?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;He is using Processor Expert with a MK20DX256LVQ10 target, and have two RAM blocks configured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;What is the optimal FLASH/RM settings to use all of the internal RAM memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;He has been getting "Overflow in segment : m_data".Each RAM memory page has a size of&lt;BR /&gt;0x8000, w&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;hich gives 64K of RAM space. His project is FLASH based and using the EEPROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;feature of the chip which has a size of 512 bytes. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 17:19:14 GMT</pubDate>
    <dc:creator>michaelsteffenf</dc:creator>
    <dc:date>2015-04-16T17:19:14Z</dc:date>
    <item>
      <title>m_data overflow error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372909#M1841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the K10DX128VFT5 which has 16k of RAM.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Upon build, I am getting the error:&lt;/P&gt;&lt;P&gt;'._user_heap_stack' will not fit in region 'm_data'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; In the map file I see:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Origin&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Length&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Attributes&lt;/P&gt;&lt;P&gt;m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000f8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xr&lt;/P&gt;&lt;P&gt;m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000410&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0001fbf0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xr&lt;/P&gt;&lt;P&gt;m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1fffe000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00002000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rw&lt;/P&gt;&lt;P&gt;m_data_20000000&amp;nbsp; 0x20000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00002000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rw&lt;/P&gt;&lt;P&gt;m_cfmprotrom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xr&lt;/P&gt;&lt;P&gt;*default*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xffffffff&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see here that m_data is 8k and m_data_20000000 is 8k. How do I get the linker to use m_data_20000000 as well for the _user_heap_stack segments. I have tried making m_data larger than 8k and m_data_20000000 smaller by the same amount, but I get other errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps I should be asking, what is the appropriate way to take advantage of the full 16k of RAM?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bryce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 22:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372909#M1841</guid>
      <dc:creator>brycelembke</dc:creator>
      <dc:date>2014-09-16T22:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: m_data overflow error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372910#M1842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer, I'll post in case anyone has the same question.&lt;/P&gt;&lt;P&gt;If you disable the m_data_20000000 area, then you can make the m_data area the full 16k.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MemoryAllocation.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45976iAEE5304AFDD4AA74/image-size/large?v=v2&amp;amp;px=999" role="button" title="MemoryAllocation.png" alt="MemoryAllocation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bryce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 00:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372910#M1842</guid>
      <dc:creator>brycelembke</dc:creator>
      <dc:date>2014-09-17T00:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: m_data overflow error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372911#M1843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be careful: you need to ensure that no object is crossing that 0x2000'0000 boundary. There are two different memory controllers on the Kinetis K, and access to each section/segment needs to be separate. That's why there are two different sections in the linker file, to ensure that no object (e.g. variable, struct, array) is crossing that 0x2000'0000 border.&lt;/P&gt;&lt;P&gt;See &lt;A href="http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/" title="http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/"&gt;FreeRTOS Heap with Segmented Kinetis K SRAM | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372911#M1843</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-17T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: m_data overflow error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372912#M1844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this customer is having a similar issue.&amp;nbsp; Can you confirm?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;He is using Processor Expert with a MK20DX256LVQ10 target, and have two RAM blocks configured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;What is the optimal FLASH/RM settings to use all of the internal RAM memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;He has been getting "Overflow in segment : m_data".Each RAM memory page has a size of&lt;BR /&gt;0x8000, w&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;hich gives 64K of RAM space. His project is FLASH based and using the EEPROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; mso-fareast-theme-font: minor-latin; font-family: 'Arial','sans-serif'; mso-fareast-font-family: Calibri;"&gt;feature of the chip which has a size of 512 bytes. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 17:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372912#M1844</guid>
      <dc:creator>michaelsteffenf</dc:creator>
      <dc:date>2015-04-16T17:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re: m_data overflow error</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372913#M1845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;Which issue? Which customer?&lt;/P&gt;&lt;P&gt;he needs to find out what is causing this overflow. Obviously, some objects exceed that 32 KByte area. Technically, these devices have two 32 kByte of RAM blocks, not a single 64 KByte of block. So you can make the linker file that way that it has one continuous block, but then he needs to make sure that an object is not crossing that boundary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/m-data-overflow-error/m-p/372913#M1845</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-04-16T18:16:26Z</dc:date>
    </item>
  </channel>
</rss>

