<?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 MicrocontrollersのトピックRe: Twofold SRAM memory in K64</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376823#M19840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions are detailed in sections 3.5.3.1 and 3.5.3.3 of the K64's user's maual.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More discussions at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/" rel="nofollow"&gt;http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can use your own linker script file if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 12:57:24 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2015-12-04T12:57:24Z</dc:date>
    <item>
      <title>Twofold SRAM memory in K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376819#M19836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found in the MQX 4.1.1 linker the following definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vectorrom&amp;nbsp;&amp;nbsp; (RX): ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cfmprotrom&amp;nbsp; (R): ORIGIN = 0x00000400, LENGTH = 0x00000020&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX): ORIGIN = 0x00000420, LENGTH = 0x000FFBE0&amp;nbsp; /* Code + Const data */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW): ORIGIN = 0x1FFF0000, LENGTH = 0x00040000&amp;nbsp; /* SRAM - RW data */&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In KDS 1.1.0 is the definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW)&amp;nbsp; : ORIGIN = 0x20000000, LENGTH = 0x00030000&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the KDS linker file the better definition, because the K64 SRAM is twofolded in a 64kb RAM and a 192KB RAM? What exactly is not allowed at the border of the two RAM areas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 13:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376819#M19836</guid>
      <dc:creator>GudeADS</dc:creator>
      <dc:date>2015-01-26T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Twofold SRAM memory in K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376820#M19837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andreas Schmidt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For K64 the size of the RAM is different between K64FN1M0 and K64FX512:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49563i8FB1A562D1AC9D94/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right that the linker file of KDS is a more accurate definition of the RAM partitions. There is no problem on joining both RAM spaces in only one, as long as you make sure that no memory object is allocated crossing the 0x2000_0000 boundary, because the access would cause a hardfault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception to this rule would be an object that actually crosses that border, but the access is to either the SRAM_L or SRAM_U parts of the object, but not a combination of both, I hope I am clear with this.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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>Mon, 26 Jan 2015 16:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376820#M19837</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-01-26T16:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Twofold SRAM memory in K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376821#M19838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, your are clear. How will it be with programs that run in RAM? I assume an assembler instruction should not cross the gap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will the Freescale team update the linker scripts for MQX 4.2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376821#M19838</guid>
      <dc:creator>GudeADS</dc:creator>
      <dc:date>2015-01-27T14:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Twofold SRAM memory in K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376822#M19839</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;I want to have a heap memory size more than 0xFFFF on MK64FN1M0VLL12 but it seams not possible? Processor expert CPU block doesn't permit to do this and is I write statup file stand alone the result on runtime is equal : I have 64K of heap.&lt;/P&gt;&lt;P&gt;If this is not possible :&lt;/P&gt;&lt;P&gt;+ why there is this limitation? where I can find it on manuals?&lt;/P&gt;&lt;P&gt;+ there is a walkaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 11:07:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376822#M19839</guid>
      <dc:creator>michelebacchere</dc:creator>
      <dc:date>2015-12-04T11:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Twofold SRAM memory in K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376823#M19840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions are detailed in sections 3.5.3.1 and 3.5.3.3 of the K64's user's maual.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More discussions at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/" rel="nofollow"&gt;http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can use your own linker script file if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 12:57:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Twofold-SRAM-memory-in-K64/m-p/376823#M19840</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-12-04T12:57:24Z</dc:date>
    </item>
  </channel>
</rss>

